Extension: |
|
Extension ID: |
org.pitonyak.addon.MacroFormatterADP |
Release date: |
06/06/2009 - 21:38 |
Version: |
2.1.1 |
System Independent |
|
Compatibility: |
3.1, 3.2, 3.3, 3.4 |
Binary type: |
OOo extension (.oxt) |
Source Code fragments in XML, C++, Java, or StarBasic can be color coded for a better appearance. StarBasic is formatted to like like the OOo IDE. Java colors mimic those in Eclipse.
A block of code is assumed to be formatted based on the following paragraph styles: _OOoComputerCode, _OOoComputerCodeLastLine, _code, _code_first_line, _code_last_line, or _code_one_line.
Numerous color code examples are shown in AndrewMacro.odt, along with a complete description of the add-in.
I added code to search for default paragraph and character styles in a few different locals (English, French, Spanish, and Russian). If you have the name for other locals, let me know the name of the Default style.