Extension: |
|
Extension ID: |
org.pitonyak.addon.MacroFormatterADP |
Release date: |
03/06/2009 - 09:47 |
Version: |
2.0.0 |
System Independent |
|
Compatibility: |
3.1, 3.2, 3.3, 3.4 |
Binary type: |
OOo extension (.oxt) |
New to this realease is support for XML, the ability to create the required paragraph styles, and a menu under Tools > Add-ons.
Fragments in C++, Java, StarBasic, or XML can be color coded for a better appearance. StarBasic is formatted to like like the OOo IDE. Java colors mimic those in Eclipse. This is the macro used to format the examples in AndrewMacro.odt.
The code is written to work with paragraphs. For a paragraph to be color coded, the paragraph should formatted using on of the supported paragraph styles; for example, _OOoComputerCode, _OOoComputerCodeLastLine, _code, _code_first_line, _code_last_line, or _code_one_line.
A menu option is added under Tools > Add-ons to format all the supported types, and also, to create the required paragraph styles in the current document.
Numerous color code examples are shown in AndrewMacro.odt, along with a complete description of the add-in.