This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Formatting and Justify Paragraphs in Apache POI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Formatting and Justify Paragraphs in Apache POI" Watch "Formatting and Justify Paragraphs in Apache POI" New topic
Author

Formatting and Justify Paragraphs in Apache POI

Anirudh Gaur
Greenhorn

Joined: May 11, 2011
Posts: 5
Hi everyone, I'm using Apache POI to generate a .docx file and need help in some things: -

1. How to get "Justify" alignment for paragraphs (there are options like BOTH, DISTRIBUTED etc).

2. I need some bold words in between the normal words in a paragraph. How to achieve this? (I'm trying to create two different "XWPFRun" but its not working, they are not appearing in the sequence in which I want..)

thanks in advance.
 
jQuery in Action, 2nd edition
 
subject: Formatting and Justify Paragraphs in Apache POI
 
Similar Threads
java.lang.OutOfMemoryError using Apache POI.jar
Find/Replace using Apache POI
apache POI - HWPF search & replace
messy decimal when reading from excel
how to find end of sentence in ppt .