Ask Your Question

Libreoffice Base - Importing/Exporting ODT into/from Form

asked 2016-06-01 10:33:26 +0200

hmadhi gravatar image

I know how to export a form created in Base as an ODT to be used as a Standalone Form. However many a times I need to import the ODT file back into the ODB for various reasons. Is there an easy way of doing this?

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2016-06-01 16:07:00 +0200

pierre-yves samyn gravatar image


It is possible with a macro. Just adapt the forms names & url (inside/outside the odb) in the main procedure in ImporterForm.odbattached.

The mainAndrew procedure shows how to proceed from creation to import.

I can not find specific references but the source of this code must be Andrew Pitonyak. Sorry for my imprecision on this point...


edit flag offensive delete link more


Thank you @pierre-yves-samyn . The utility works as expected.

hmadhi gravatar imagehmadhi ( 2016-06-02 09:36:56 +0200 )edit

I haven't been clever enough to figure out what you have told me. Downloaded the file (a libreoffice.odb file, though not named ImporterForm.odb). Looked into it with Tools->Macros->Organize Macros->LibreOffice Basic and found the macro main and see mainAndrew.

Expecting to see instructions. Doesn't happen. BASIC error when trying to run either.

Any spare clues for a novice?

intmarine gravatar imageintmarine ( 2017-08-17 21:31:34 +0200 )edit

answered 2016-06-02 15:34:54 +0200

intmarine gravatar image

Thank you – very kind. I will give it a try and report back.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-06-01 10:33:26 +0200

Seen: 494 times

Last updated: Jun 02 '16