[fpc-pascal] Converting .doc and/or .html to .pdf

Marcos Douglas md at delfire.net
Fri Jan 28 15:52:00 CET 2011


On Sun, Jan 16, 2011 at 11:44 AM, Marcos Douglas <md at delfire.net> wrote:
> On Sat, Jan 15, 2011 at 7:39 PM, Andreas Schneider <aksdb at gmx.de> wrote:
>> On Saturday, January 15, 2011 22:18 Marcos Douglas wrote:
>>> Hi,
>>> There are libs, in Pascal,  to convert .doc and/or .html files to .pdf?
>>
>> I   don't   think   so,   but  I  would  suggest  to  use  a  headless
>> OpenOffice.org/LibreOffice  for  the  conversion. Using the Pascal UNO
>> Bridge  you  may even be able to control it from a Pascal application,
>> but  for a simple conversion it's probably a lot easier to just invoke
>> it via commandline.
>
> You're right. The command line is more simple.
> Thanks for the tip, I will try this.

I have not found
I'm looking in http://api.openoffice.org/
Is it mandatory use UNO bindings?

I want do the same of this project http://html2pdf.fr/


Marcos Douglas



More information about the fpc-pascal mailing list