views:

220

answers:

0

I have a strange question: in OpenOffice when opening a .doc file with checkboxes in it, I get a grey (meaning field) flat checkbox. It is different than the checkbox I can insert with the form components.

I access this document with my program with the OOo UNO system, the problem is that this field doesn't appear in getTextFields so I can't set its value.

By investigating a bit (exporting the file to XML and goggling the interesting tags), I stumbled on this: http://florianreuter.blogspot.com/2008/02/xml-namespaces-are-designed-to-support.html and I confirm it is what I have.

Do you know how I can access this checkbox and set or read its value with UNO?