Export data to OpenOffice Calc and MS Office Excel

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: Export data to OpenOffice Calc and MS Office Excel

Post by Javier Tovar »

I expect a full sample of both, do not deny me not to try OpenOffice!

regards
Mario Mansilla
Posts: 269
Joined: Wed Aug 13, 2008 2:35 pm
Location: Córdoba - Argentina

Re: Export data to OpenOffice Calc and MS Office Excel

Post by Mario Mansilla »

Hola :
Es posible obtener al pie de una columna con datos numericos obtener la suma de toda la columna .

Saludos
Mario Mansilla

Hello:
It is possible to obtain at the foot of a column with numeric data to obtain the sum of the whole column.

regards
Mario Mansilla
User avatar
mol
Posts: 3720
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Export data to OpenOffice Calc and MS Office Excel

Post by mol »

You can use such a construction:

Code: Select all

	oSheet:getCellByPosition(0,11):SetFormula("=Sum(A1:A10)")
Mario Mansilla
Posts: 269
Joined: Wed Aug 13, 2008 2:35 pm
Location: Córdoba - Argentina

Re: Export data to OpenOffice Calc and MS Office Excel

Post by Mario Mansilla »

Hola Mol :
muchas gracias por tu repuesta .
Saludos cordiales
Mario Mansilla

Hello Mol:
thank you very much for your response.
Best Regards
Mario Mansilla
User avatar
mol
Posts: 3720
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Export data to OpenOffice Calc and MS Office Excel

Post by mol »

I want to share with you my little sample about formatting export to OpenOffice.
It's not finished yet, but it can show power of LibreOffice calc API.
Have a nice testing!
Thanks for future questions!

Regards, Marek
Attachments
export.zip
(12.81 KiB) Downloaded 328 times
User avatar
quartz565
Posts: 667
Joined: Mon Oct 01, 2012 12:37 pm
Location: Thessaloniki, Greece
Contact:

Re: Export data to OpenOffice Calc and MS Office Excel

Post by quartz565 »

Thank you Mol!
Best Regards,
Nikos.

os: Windows Server 2019 - 64
User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Export data to OpenOffice Calc and MS Office Excel

Post by danielmaximiliano »

Gracias por compartir Mol....
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
serge_girard
Posts: 3165
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Export data to OpenOffice Calc and MS Office Excel

Post by serge_girard »

Thanks Marek !


Serge
There's nothing you can do that can't be done...
User avatar
serge_girard
Posts: 3165
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Export data to OpenOffice Calc and MS Office Excel

Post by serge_girard »

Marek,

FMG is missing in EXPORT.ZIP?

Serge
There's nothing you can do that can't be done...
User avatar
mol
Posts: 3720
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Export data to OpenOffice Calc and MS Office Excel

Post by mol »

You're right, Serge!
I'm attaching new zip including all files.
Attachments
export.zip
(15.5 KiB) Downloaded 369 times
Post Reply