https://issues.apache.org/bugzilla/show_bug.cgi?id=57356

--- Comment #2 from yang zhao <[email protected]> ---
I want to deal document with content like that:

五、    Level 1 header
5.1    level 2 header 
1.    level 3 header

Xml content read by XWPFDocument for them are:

<w:pStyle w:val="ListParagraph"/>
    <w:numPr>
      <w:ilvl w:val="0"/>
      <w:numId w:val="2"/>
    </w:numPr>


    <w:pStyle w:val="ListParagraph"/>
    <w:numPr>
      <w:ilvl w:val="1"/>
      <w:numId w:val="2"/>
    </w:numPr>

        <w:pStyle w:val="1"/>
    <w:numPr>
      <w:ilvl w:val="0"/>
      <w:numId w:val="5"/>
    </w:numPr>

While because the lack of namespace:
xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint";, the index in
got lost. For example, there should be entry <wx:t wx:val="5.1"/> for level 2
header 5.1.

Is there any way by which XWPFDocument can take wx into consideration?

Still now, seems that I can only index the content by the relative position.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to