You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2020/07/20 08:26:23 UTC

[Bug 64615] New: Extraction of content under a particular heading .

https://bz.apache.org/bugzilla/show_bug.cgi?id=64615

            Bug ID: 64615
           Summary: Extraction of content under a particular heading .
           Product: POI
           Version: 4.1.1-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XWPF
          Assignee: dev@poi.apache.org
          Reporter: akash.soni58@gmail.com
  Target Milestone: ---

Trying to extract the content under a particular heading(Heading 2) in the
document .
How to achieve it ?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 64615] Extraction of content under a particular heading in Word Document .

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64615

Akash <ak...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
           Priority|P2                          |P1

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 64615] Extraction of content under a particular heading in Word Document .

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64615

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Dominik Stadler <do...@gmx.at> ---
Resolving for now as no actual issue, please use the contact options described
at http://poi.apache.org/help/index.html for discussing usage of Apache POI.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 64615] Extraction of content under a particular heading in Word Document .

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64615

Akash <ak...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Extraction of content under |Extraction of content under
                   |a particular heading .      |a particular heading in
                   |                            |Word Document .
                 OS|                            |All

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 64615] Extraction of content under a particular heading in Word Document .

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64615

--- Comment #1 from Sayi <ad...@gmail.com> ---
(In reply to Akash from comment #0)
> Trying to extract the content under a particular heading(Heading 2) in the
> document .
> How to achieve it ?

Traverse all paragraphs and get the style ID through paragraph.getStyleID(),

get all styles through XWPFDocument.getStyles() or XWPFDocument.getStyle().

Get what you want by comparing style names(Pay attention to the style name in
your document).

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 64615] Extraction of content under a particular heading in Word Document .

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64615

Akash <ak...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |akash.soni58@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org