Please note, this is a STATIC archive of website www.javatpoint.com from 19 Jul 2022, cach3.com does not collect or store any user information, there is no "phishing" involved.
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

Input:


Apache POI Extract Paragraph

Output:

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

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA