Page 1 of 1

Creating a plug-in to embed a HTML form to a slide

Posted: Fri Apr 10, 2020 6:58 pm
by sunshine410
Hi,

So that the HTML form would be directly showing up on the slide (Not bringing up the form on a web browser).
Has anyone done that?

TIA.

Re: Creating a plug-in to embed a HTML form to a slide

Posted: Fri Apr 10, 2020 9:04 pm
by Villeroy
ImpressForm.odp
(19.96 KiB) Downloaded 413 times

Re: Creating a plug-in to embed a HTML form to a slide

Posted: Fri Apr 10, 2020 9:30 pm
by sunshine410
Interesting. How did you do that?

Re: Creating a plug-in to embed a HTML form to a slide

Posted: Fri Apr 10, 2020 10:41 pm
by Villeroy
The Base component is a bridge between arbitrary databases and ODF documents.

Re: Creating a plug-in to embed a HTML form to a slide

Posted: Fri Apr 10, 2020 11:00 pm
by sunshine410
If the local dBase db file has to be present with the .odp file then it would be quite inconvenient for easy data consolidation after data capture.
A desirable way would be to capture and store this data remotely.
Another down side is: when the .odp is converted into a .ppt file, the ppt file would mostly likely lose this important property.

Re: Creating a plug-in to embed a HTML form to a slide

Posted: Sat Apr 11, 2020 4:13 am
by Villeroy
You can connect to remote databases. That simple dBase thing is just an example.
Like with any other software product, working with foreign file formats is not recommended. In particular, this is NOT an alternative editor for Microsoft documents.

Re: Creating a plug-in to embed a HTML form to a slide

Posted: Sat Apr 11, 2020 4:19 am
by sunshine410
Ok, so, how did you create the ImpressForm.odp file?

Re: Creating a plug-in to embed a HTML form to a slide

Posted: Sat Apr 11, 2020 12:22 pm
by Villeroy
This is rather complicated. You need toolbars "Form Design" and "Form Controls".
First you create a logical form with the form navigator from toolbar "Form Design". The logical form can be linked to a database document's query or table. Then you add form controls linked to individual columns.

Follow some tutorial like this one: [Tutorial] Forms in OpenOffice.org Base.
Under normal conditions forms are attached to Writer documents and Writer documents with database forms are embedded within database documents. In fact you can manually attach forms to Writer, Calc, Impress and Draw documents.
I would not do this with Impress. I would use Writer in "web page view" disregarding print pages.

Re: Creating a plug-in to embed a HTML form to a slide

Posted: Sun Apr 12, 2020 3:39 am
by sunshine410
Thanks for the response. On a second thought, I'll forego the idea of embedding form into an Impress slide.