Hi Thomas,

Thomas Krumbein escribió:
I've been using your code for a long time, and (as usual) it's great (I just thought about translating it into Java, and adding some code to create the styles at runtime - if checking first tells that they do not exists in the document)

@ariel: If you can provide this code to me, I can save a lot of time.
After going through the code yesterday this was also my idea: creating
the styles if the are not existing - or import them from a
"masterdocument". But if you have code to create them - fine, that
should save time.

I'm sorry to tell you that as I said "thought about...", this means "I was too lazy to do that and just used this as it is" (well, really just added a few lines to check if the styles exists; if not, then exit the main subroutine).

This would be very simple to implement even in Basic (no need to translate into Java).
Let's see what Andrew says (and wants to do).

@Laurent yes!!! an extension will be great (I've seen over there that you have a Python syntax highlighter).

There is actually an extension (not in the extensions repository, but in http://ooo-codeimport.sourceforge.net) , I tried it on WinXP without success (I just couldn't install it), in Linux it works (though the colors dialog has some issues).


Bye,
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]

Reply via email to