You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Angelo zerr <an...@gmail.com> on 2012/11/17 11:03:50 UTC
Problem with bullet text with docx
Hi POI Team,
I'm improving our XDocReport docx->pdf converter to manage numbered/bullet
list. I have a problem with bullet list. I can retrieve the well bullet
text when it's a special character :
------------------------------------------------------------------------------------------------------------------------------------------------------------------
<w:lvl w:ilvl="2" w:tplc="040C0005" w:tentative="1">
<w:start w:val="1" />
<w:numFmt w:val="bullet" />
<w:lvlText w:val="?" />
------------------------------------------------------------------------------------------------------------------------------------------------------------------
My problem is with
<w:lvlText w:val="?" />
where ? is special character.
My code is very basic :
------------------------------------------------------------------------------------------------------------------------------------------------------------------
CTLvl lvl = ....
String val = lvl.getLvlText().getVal();
------------------------------------------------------------------------------------------------------------------------------------------------------------------
My question is val has a special encoding?
Many thank's for your help.
Regards Angelo