Javatpoint Logo
Javatpoint Logo

Apache POI Word Style

To set text's style, font, alignment etc, Apache POI provides methods such as setItalic(), setBold() etc. These methods are useful and can be used in Java program to handle word document.

Lets see an example in which we are creating a paragraph and setting it as bold and italic.

Apache POI Word Styling Example

Output:


Apache POI Word Style




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


B.Tech / MCA