https://bz.apache.org/bugzilla/show_bug.cgi?id=64615
--- Comment #1 from Sayi <adasa...@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-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org