Kris Watson wrote (10-8-2009 16:51)
I am new to OOo API.  I am currently using a .doc file as a template and
doing a search and replace for the string values I wish to update but the
doc contains check boxes that I wish to set as checked but cannot find
anything on how to do this can someone help me.

Hi Kris,

Check boxes can be found at the graphic layer of the document.
In simple basic:
  ThisComponent.DrawPage.Forms.getByIndex(0).getByIndex(0)

Setting the properties of those controls is quite different from a search and replace.

Do you know this page:
  http://wiki.services.openoffice.org/wiki/Extensions_development
  ??

Best regards,
Cor

--
Cor Nouws - nl.OpenOffice.org marketing contact
Ontwikkelaar? Join! http://council.openoffice.org/developers.html
Gevoel niet vrij te zijn? Zie www.nieuwsteversie.nl

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to