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

Marcos Douglas md at delfire.net
Fri Jan 28 17:12:05 CET 2011


On Fri, Jan 28, 2011 at 12:38 PM, Felipe Monteiro de Carvalho
<felipemonteiro.carvalho at gmail.com> wrote:
> Another solution is that you could start a generic library for
> handling formatted text documents. It will certainly be harder, and
> take more time, but the end result will be much better and it won't
> require having OpenOffice installed (a rather huge thing to have as a
> dependency).
>
> We already have a spreadsheet library:
> http://wiki.lazarus.freepascal.org/FPSpreadsheet
>
> Something similar could be done for handling the class of formatted
> documents, like pdf, doc, html, etc.
>
> FPVectorial has support for PDF reading, but only from a vectorial
> drawing point of view, nevertheless it's code and documentation which
> explain the PDF format could be reused. I actually have documentation
> in portuguese about the PDF format.
> http://wiki.lazarus.freepascal.org/fpvectorial

Yes, that is a better solution for the future... unfortunately I have
not time so much to make this software. The plataform is Windows and
old ASP to make sites. I have to make a component to ASP call to make
this convert, HTML to PDF.

If exists a C lib, eg, facilitate my work.


Marcos Douglas



More information about the fpc-pascal mailing list