API/Samples/Java/Writer/TextFormatting

From Apache OpenOffice Wiki
< API‎ | Samples‎ | Java
Revision as of 01:05, 11 October 2015 by Johnrdorazio (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Some formatting properties pertain to paragraphs, others to text nodes.

Formatting a Paragraph

Here are some examples of the properties for formatting paragraphs in OpenOffice Writer using JAVA.


Formatting a text node

Here are some examples of the properties for formatting text nodes in OpenOffice Writer using JAVA.


Sample Project

Here is a sample project to download and install as a plugin, showcasing the code examples given above. Feel free to take a look at the source code and play around with it, so that you can get a feel for the methods used for formatting text in OpenOffice.

Personal tools