POWERBUILDER:how can I export datawindows to LibreOffice spreadsheet format ?

Dear colleagues,
I am a PowerBuilder developer and I am excited with LibeOffice.
My problem is how can I export Datawindows from my application (using code or oleobject) in LibreOffice formats.
Is there any powerbuilder developer who has solved that ?

I want to create an export capability using Libreoffice and get rid of excel. please help!