Code Formatter 2.1.1przez pitonyakSource 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.
|
||