Re: Re: Xforms support in OOO2.0 Beta

Pierre-Andre Galmes <[email protected]> Tue, 12 Apr 2005 11:17:41 +0200
Newsgroups gmane.comp.openoffice.devel.xml
Message-ID <[email protected]>
* René Peinl <[email protected]> [050412 10:15]:
> Hi Pedro, hi Isidoro,

Hello René,

> I'm also working on XForms with OO 2.0 beta for a lecture I'm giving.
> I want to compare the capabilities and ease of use of OO 2.0 with
> native XForms (+XHTML), Word 2003 professional, Infopath and Adobe
> Acrobat.

XForms is a standard defined using XML. This means that Xforms can be
used without XHTML. Actually, this is what OOo2.0 does : it includes
XForms in its XML. 

From What I remember, the inclusion of XForms into XHTML within
OpenOffice is not planned for these release of OpenOffice (which is I
think a pity, but developpers already have a lot of work ;-)

> I've created a form in OOwriter 1.9.87 and failed to write the XML
> data to disk. I have tried to do it via save as, or export without
> success, so I put in a button and also created a submission, but still
> nothing happens. The instance data seems to be filled correctly (at
> least most of it as I was not able to create an element that can occur
> multiple times). I have upgraded to OO 1.9.91 after your email
> yesterday, Pedro, but that doesn't seem to change anything.

The Function for XForms support are still not all included. For the
moment, there are still many "issues" about it. The last time I tried, I
was able to save my document as an odt file.

And then, if you look at the content.xml in your odt file (which is a
zip archive), you willnotice the XForms part.

> I also tried to generate another instance to serve as a data source
> for a combo box, but failed again. It's not the binding, or anything
> like that, but I am missing a way to put data into the instance.

Did you tried to create your instance, and next to use the drag and drop
? Next, to feed the form with data, click on the button "design mode on
/off"

> Many thanks in advance
> Regards, René

> P.S.: By the way: shouldn't it be possible to create an instance by
> loading a schema or an XML document?

You can do so. This is already working. At the bottom of the data
navigator, there is a list "instance". If you click on it, you can
"add...". Next, just choose your XML document. I still didn't tryed if
it works with schemas.

Regards,
Pierre-Andre (Pedro)
-- 
Pierre-Andre Galmes
StarXpert : www.starxpert.fr
email : [email protected]