LiveCode & Pdf or Openoffice/Excel Documents?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
foxlo
Posts: 2
Joined: Fri Jan 14, 2011 9:54 am

LiveCode & Pdf or Openoffice/Excel Documents?

Post by foxlo » Fri Jan 14, 2011 10:10 am

Hello,

im totally new to this and i am a beginner in coding,

i used for my "projects" autoit, but i want to try some new/other things


so here is my question,

are there possibilities to code using liveCode a programm that uses SQL Database (already saw that on the lessons page) and create depending on the data excel/Openoffice documents or directly PDF's ?

br

Klaus
Posts: 14194
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: LiveCode & Pdf or Openoffice/Excel Documents?

Post by Klaus » Fri Jan 14, 2011 11:45 am

Hi br (what a funny name :wink: )

welcome to the forum! :)

Yes, LiveCode can connect to many SQL databases and it can also output to PDF!
So you would need to create a nice card layout for your data and you can then export to PDF.

Exporting to EXCEL file format is a totally different beast and that cannot be done with the
build-in capabilities of LiveCode. At least not out of the box!

Maybe this is possible, but then you need to know the EXCEL binary file format and rebuild
it from scratch in LiveCode.


Best

Klaus

foxlo
Posts: 2
Joined: Fri Jan 14, 2011 9:54 am

Re: LiveCode & Pdf or Openoffice/Excel Documents?

Post by foxlo » Fri Jan 14, 2011 12:08 pm

hi klaus,

thanks for your reply.

good to hear.

Do you have samples or some "demonstration" code where i can see how this card to pdf works?

Klaus
Posts: 14194
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: LiveCode & Pdf or Openoffice/Excel Documents?

Post by Klaus » Fri Jan 14, 2011 12:23 pm

Hi vr,

no, sorry, no example, but this is just a slight variation of the PRINT command :)
Check the Release Notes (Menu: Help) for "Print to pdf support".


Best

Klaus

Post Reply