Re: [dev] getTextFields() - where to get additional infos

2008-12-02 Thread rony
Hi Marten, Yes, these are hints, but you do not get this information from the IDL reference and it seems to be impossible to get this information via reflection. I created now around 3000 classes from doing reflection of the whole system and can't get this information. The following is an

Re: [dev] getTextFields() - where to get additional infos

2008-12-02 Thread Marten Feldtmann
Nice, but this was NOT my question. If you get the information, that the resulting object is of kind com.sun.star.text.TextFields , then I'm also fine, because my code also gives me all the needed information I wanted to have. The question was: how do I find out this information, that the

Re: [dev] getTextFields() - where to get additional infos

2008-12-01 Thread rony
Hi Marten, just guessing. Marten Feldtmann wrote: How can this code run: ((mxDocument as XTextFieldsSupplier).getTextFields() as XRefreshable).refresh(); getTextFields() (by interface XTextFieldsSupplier) delivers com.sun.star.container.XEnumerationAccess and this interface does not

Re: [dev] getTextFields() - where to get additional infos

2008-12-01 Thread Marten Feldtmann
Yes, these are hints, but you do not get this information from the IDL reference and it seems to be impossible to get this information via reflection. I created now around 3000 classes from doing reflection of the whole system and can't get this information. Marten rony schrieb: Hi Marten,

[dev] getTextFields() - where to get additional infos

2008-11-27 Thread Marten Feldtmann
How can this code run: ((mxDocument as XTextFieldsSupplier).getTextFields() as XRefreshable).refresh(); getTextFields() (by interface XTextFieldsSupplier) delivers com.sun.star.container.XEnumerationAccess and this interface does not understand refresh. Where in the idl reference do I get