Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 2 Jahren, 1 Monat
Letzter Beitrag:
vor 1 Jahr, 11 Monaten
Beteiligte Autoren:
Paulo Oliveira, DarrenF, Yogi Yang, evanpan, heinz kübler, Al

Windev & ODF

Startbeitrag von Paulo Oliveira am 22.12.2015 14:05

In Portugal we have to generate all the editable documents in ODF format if the application is used in one of the government departments.

In Windev it's easy to generate xls or rtf files.

I can't find any option to generate the same files in ODF.

The AAF only works with XLS & RTF.
I can find a lot of XLS* function but i can't find ODT* or ODS* function.

Any tips or advices are welcome.


Re: Windev & ODF

Hi Paulo,

Isn't ODF just a standard means of encoding office documents (word processor, spreadshseet) files into XML? I've not worked with ODF docs before but is the ODF XML schema available somewhere?

I've noticed that there's an add-in available for M$ Office.

von DarrenF - am 22.12.2015 14:38

Re: Windev & ODF

Hi Darren
I supose so, ODF are the format used by openoffice.
I can find the description here (http://docs.oasis-open.org/office/v1.1/OS/OpenDocument-v1.1.pdf).

I can't find any option in windev to generate ODS files or to convert from XLS to ODS.
We use a lot of table controls to take advantage of the AAF features but i can't find any way to generate ODS files instead of XLS or ODT files instead of DOC/RTF.

von Paulo Oliveira - am 22.12.2015 14:47

Re: Windev & ODF

Hi Paulo,

maybe there is no short way ? . But if you study the examples "WD Controlling OpenOffice Writer" and "WD Controlling OpenOffice calc" you can find a solution. You could build your files as xls or rtf, then opening them with OpenOffice (via OLE) and saving them as ODF/ODS.

A different approach would be to "write" the data directly to OpenOffice (via OLE) and save the file.

Regards, Heinz

von heinz kübler - am 22.12.2015 16:37

Re: Windev & ODF

Hi Heinz,

Unfortunatly this looks like the only solution.

It would be nice if PCSOFT provides ODF support, let's pray for it in some future version.


von Paulo Oliveira - am 22.12.2015 17:09

Re: Windev & ODF

Hi Paulo,

Sorry - what I was eluding to was that you might have to code it. I mentioned M$ Office as you might be able to use the M$ Office add-in, but maybe OpenOffice has something that is a little bit more "ready to go"?

This might be useful:

...and this might be too much, but goes into the subject at a pretty low level:

von DarrenF - am 22.12.2015 17:13

Re: Windev & ODF

I can't use the M$ Office way because a lot of the government departments are moving to free software, that's why they issue this law.

I'm goint to try the converter you mention and the Heinz sugestion (using the saveas option of the openoffice) to see if i can do something usable.

von Paulo Oliveira - am 22.12.2015 17:33

Re: Windev & ODF

I received one answer from PC SOFT about this isue and ODF suport isn't planned to happen.

Unfortunately I will have to code a lot to try to do something similar to the AAF to generate files in ODF or i can not sell to the public sector.

von Paulo Oliveira - am 22.12.2015 18:15

Re: Windev & ODF

Hello Paulo

Why not contact Gembox. They are asking for suggestions on the next format to support so it can't hurt to ask.


von Al - am 23.12.2015 04:37

Re: Windev & ODF


WD does support automating OpenOffice.

Why not use that and generate required documents.

There are examples provided with WD. For example "WD Controlling OpenOffice Calc".

Do look at them closely.


Yogi Yang

von Yogi Yang - am 23.12.2015 13:02

Re: Windev & ODF

Hi Yogi,
I know that but as i told in the previous answers i loose the AAF features and i have to change all my apps to generate all the documents using OLE.
I have a lot of options using the XLS*,TABLETOEXCEL and TABLETOWORD functions, it allow me to generate almost all the outputs in the server side (using services) without having excel in the server, to use this kind of behaviour i have to install the openoffice in the server and sometimes it's easy to do it because of the rules imposed by the IT guys of our clients.

My first option at the moment if to convert the already generated documents using the saveas option of the openoffice after the generation of the document.

The use of ODF is mandatory in my country for the public sector and it will take me a lot of time to change all my apps.

As nowadays ODF is a standard format in all of this kind of SW maybe with a little luck PCSOFT think about this in the future.;)

von Paulo Oliveira - am 23.12.2015 14:36

Re: Windev & ODF

**** spam ****

von evanpan - am 26.02.2016 04:31

Re: Windev & ODF


I found these interesting URL that provide online document conversion services for free (in some cases).





Yogi Yang

von Yogi Yang - am 26.02.2016 05:02
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.