Hi Frederic

I'd like to insert in a text document a zone which is completely
managed by a python script. Once inserted by the script, it can be
moved as a block from OO.org's interface, but cannot be modified, and
the script can periodically flush updates into this zone.

I've looked at the TextSection, at MasterField.User, but so far what I
read does not make sense to me. If you could just give me a short
explanation on what I should be looking at, it would probably help a
lot (an example would be even better :-))


a textSection, why not, but difficult as it is only an overlap of text

i think you need a frame, write protected (i do not rememeber if you directly, perharps, embed it in a section)

http://api.openoffice.org/docs/DevelopersGuide/Text/Text.xhtml#1_3_10_2_Text_Frames

pour la protection du conten
http://api.openoffice.org/docs/common/ref/com/sun/star/text/BaseFrameProperties.html#ContentProtected

Thanks for you help, pointers, suggestions...


if you're french, you may start also dicussing ono prog@fr.openoffice.org
this french book, even speaking in OOoBasic, is suitable for python languages dealing with API (with very minor adaptation)
http://www.eyrolles.com/Informatique/Livre/9782212117639/livre-programmation-openoffice-org-2.php

Dealing with api in english is dev@api.openoffice.org

welcome on board, and happy to see new pythonists

Laurent

--
Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org
Indesko >> http://www.indesko.com
Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org
Livre "Programmation OpenOffice.org", Eyrolles 2004

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

Reply via email to