Hi Thomas,
Thomas Krumbein escribió:
Hey,
I am working on an extention for easy code-dokumentation. Therefor I
want to import code (from basic-bibliotheks) to a writer document -
adding some spezial informations like line-numbers and so on.
OK, technical no problem, but inside the Basic-IDE we have nice
code-highlighting which I would like to add.
There should be some code inside OOo, which identifies keywords,
strings, comments and so on. Is it possible to use this code-fragments
from UNO?
There is no API for that, just native C++ code.
Can somebody give me some hints, where I can find some more informations
- or some code-snipplets?
See Andrew Pitonyak's Macro Document at
http://www.pitonyak.org/AndrewMacro.odt
chap. 9 "Formatting macros" containg macros to format Basic code just
like the IDE does.
Bye and luck
Ariel
--
Ariel Constenla-Haile
La Plata, Argentina
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.arielconstenlahaile.com.ar/ooo/
"Aus der Kriegsschule des Lebens
- Was mich nicht umbringt,
macht mich härter."
Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]