Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OpenOffice API - Newline character treated as a paragraph break

807589Sep 17 2008 — edited Sep 18 2008
Hello,

I'm trying to load a JTextPane into an OOo document. Everything is going well except for when "\n" is used to go to the next line in a JTextPane. Once the pane is loaded into an OOo document, OOo Writer converts that newline into a paragraph break which results into an extra space between the two lines. Anyone have any ideas?

Thanks,
Jeff
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 16 2008
Added on Sep 17 2008
5 comments
301 views