Page 1 of 1

wxPdfDocument 0.7 released

Posted: Wed Apr 12, 2006 11:54 pm
by utelle
Version 0.7 of the wxCode component wxPdfDocument is available for download.

wxPdfDocument allows wxWidgets applications to generate PDF documents. The code is a port of FPDF - a free PHP class for generating PDF files - to C++ using the wxWidgets library. Several add-on PHP scripts found on the FPDF web site are incorporated into wxPdfDocument. Embedding of PNG, JPEG, GIF and WMF images is supported. In addition to the 14 standard Adobe fonts it is possible to use other Type1 or TrueType fonts - with or without embedding them into the generated document. In Unicode build CJK fonts are supported, too. Graphics primitives allow the creation of simple drawings.

New in version 0.7:

- enhanced color support (CMYK and spot colors, 486 predefined named RGB colors, color names in HTML notation (#rrggbb)),
- text annotations,
- additional font decorations (overline, strikeout),
- PDF forms,
- JavaScript at the document level,
- simple XML markup language for styling and structuring text.

Several samples were added to demonstrate the new capabilities. The Doxygen generated documentation is available online and also included in the file release.

As always feedback is welcome.

Enjoy. :-)

Regards,

Ulrich

Posted: Sat Apr 15, 2006 11:07 am
by tbreina
I'd like to compile wxPdfDocument with a monolithic build of wxWidgets. I tried adding MONOLITHIC=1 to the make command, but the linker still looks for wxmsw26_xml.a. Is there a way to specify a monolithic wxWidgets lib?

Thanks.
-Tony

Posted: Sat Apr 15, 2006 1:27 pm
by utelle
tbreina wrote:I'd like to compile wxPdfDocument with a monolithic build of wxWidgets. I tried adding MONOLITHIC=1 to the make command, but the linker still looks for wxmsw26_xml.a. Is there a way to specify a monolithic wxWidgets lib?
Although I do not use monolithic builds myself, the answer is yes, there is a way. It requires to set MONOLITHIC to 1 in the wxpdfdoc.bkl bakefile and to regenerate the makefiles using bakefile. (Unfortunately the latter has some prerequisites: you need bakefile and you need the wxCode bakefile preset files only available from wxCode CVS and you need wxWidgets bakefile preset files newer than version 2.6.2.)

Regards,

Ulrich

Posted: Sat Apr 15, 2006 1:59 pm
by tbreina
Ok. Thanks.

-Tony

Posted: Sun Apr 16, 2006 3:04 pm
by Vexator
very interesting. i'll probably use it for my docs :)