Hi Frank,
Frank Schönheit - Sun Microsystems Germany escribió:
The other point: there must be a new way to access a form/report document from the DatabaseDocument. Up to now oDatabaseDocument.getFormDocuments().getByName("FormName") oDatabaseDocument.getReportDocuments().getByName("ReportName") just gives me access to the document definition, NOT the document model.Right. There is no direct access to the opened sub components. What you can do is iterating over the children of the frame of the current controller of the database document. This will give you all open sub components. Not really elegant, again.
are all frames (where there is an OOo Base related component) children of the frame where the DatabaseDocument is loaded? By "all" I mean reports, forms, queries, tables, etc. from the *same* DatabaseDocument
:-( never tested this...
However, obtaining open sub components in a more convenient way is a different topic. (Though <hint>I'd accept an RFE, if you'd submit one.</hint>)
I'll do it ASAP Regards Ariel -- Ariel Constenla-Haile La Plata, Argentina [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.arielconstenlahaile.com.ar/ooo/ "Aus der Kriegsschule des Lebens - Was mich nicht umbringt, macht mich härter." Nietzsche Götzendämmerung, Sprüche und Pfeile, 8. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
