Hi Martin, the question I have is: how did you get the XTextTable?
Normal way: In order to get it you need to invoke class functions on certain types and one of them should be a XComponent, from which you should be able to query for the XNumberFormatsSupplier. So, it's not like you get the XTextTable as an arbitrary object as you can do with CORBA, you can only get it from a certain context and this context doesn't come from nowhere. Basically, I just want to say that there must be some way how you got to the table object and along the lines there should be a reference to a document object. 2005/9/5, Martin Thoma <[EMAIL PROTECTED]>: > Hello! I have a XTextTable. How can I get the interface of the document in > which the table is embedded? > > I need this in 2 situations: > I want to change a cell-format, but XNumberFormatsSupplier can not be > obtained from a XTextTable. > I want to get a view-cursor, which cannot be obtained from a XTextTable as > well. > > Is this only possible when having the document-interface, too? > > Regards > > Martin > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Best Regards Christian Junker --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
