Hi Dyego,
Dyego Souza Dantas Leal schrieb:
I need to create a "variables" in OpenOffice !!!! , ex:

<DATA_OF_MY_APP>

this variable i will replace before print the document... I'm using OpenOffice SDK 2.0.4

exists any way to "protect" this variable inside editor of openoffice ( in JTextPane on JAVA i'm protecting the text verifing if the "color is green") I want to interactivate with openoffice to protect this variable... exists way to put a "listener" to control this ?

Any help ?

You're searching for an alternative for the field "DOCVARIABLE"?
Then you can use the interface com.sun.star.beans.XPropertyContainer of the DocumentInfo-Service to add your "variables".

Regards

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to