aspose file tools*
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
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Formatting and Justify Paragraphs in Apache POI