Javatpoint Logo
Javatpoint Logo

Apache POI Extract Paragraph

To extract paragraph text, we use getParagraphs() method of XWPFDocument class. This method returns a list of all paragraphs of document which can be stored in a list variable and get by iterating loop.

Lets see an example in which we are extracting paragraph using a Java program.

Apache POI Extracting Paragraph Example


Apache POI Extract Paragraph


Apache POI (Poor Obfuscation Implementation) is a project design and developed by Apache Software
Foundation. It is a collection of pure Java libraries, used to read and write Microsoft office 
files such as Word, PowerPoint etc. The purpose was to design a cross-platform API that can 
manipulate various file formats of Microsoft Office and Open Office Documents.

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA