On 09/09/2009 07:36 AM, Ariel Constenla-Haile wrote:
Hello Andrew,

On Sunday 06 September 2009, 14:40, Andrew Douglas Pitonyak wrote:
Exporting the existing syntax highlighting from the Wiki is beyond the
current capabilities of the Book (Collection) extension.

If anyone has any ideas on how this might be done... I'm definitely
open to them :-)
I have macros that do something similar in OOo. I apply character styles
to different portions of the text to colorize them. The primary macro
works based on a cursor selection. I have code that wades through an
entire document and color codes what it finds based on paragraph styles.
Because I am not aware of your process, I do not know how adaptable this
is for your export process.
I maintain the latest copy here:

http://extensions.services.openoffice.org/project/CodeFormatter
applying the code formatter to a huge document like the Developer's Guide
seems impossible due to issue
http://qa.openoffice.org/issues/show_bug.cgi?id=84159

Regards
Yes, AndrewMacro.odt now causes OOo to crash when the document is closed. I would go even further, however, and state that a large document such as the developer's guide could cause OOo to crash even without colorizing the examples because of this bug.

--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info:  http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org

Reply via email to