Hi Laurent, > is the XForm api available through UNO ?
Sure. > is it possible to script some formulars for example creating dynamically > one and submit it ? Just throwing in some pointers: - Instead of creating an empty text document, you need to create a text document with a special parameter (which I don't remember right now :-\) to create an XML form document - XForm documents are usual form documents, so building them on the fly should be difficult, if you ever built database forms (IIRC, you did ...) - To access the logical XForms in a XML form document, css.xforms.XFormsSupplier is your entry point - it's supported by your newly created document - Conceptually, binding form controls to XForms nodes is done via abstract css.form.binding.ValueBinding mechanisms. The whole css.form.binding namespace describes the binding concept. css.xforms.Binding, in turn, describes a XForms-related ValueBinding which can be associated with a form control. (unrelated side note: Another implementation of the ValueBinding service is used to bind form controls to spreadsheet cells) - Additionally, css.form.validation describes concepts for validating form control content on-the-fly, which is also used by css.xforms.Binding. The IDL reference for OOo 2.0 does not seem to be online, yet - at least not at http://api.openoffice.org/docs/common/ref/com/sun/star/module-ix.html. Not sure if there's another place, else, you might need to read IDL files (ugly) or generate your own documentation from the source tree (autodoc is the key here, see tools.openoffice.org). Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Database http://dba.openoffice.org - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
