![]() |
wxPdfDocument
1.4.0
Library for generating PDF documents from wxWidgets applications
|
wxPdfDocument is a C++ class which allows wxWidgets applications to generate PDF files. The code is a port of FPDF - a free PHP class for generating PDF files - to C++ using the wxWidgets library. wxPdfDocument does not make use of any libraries like PDFlib which require a fee at least for commercial usage. wxPdfDocument is published under the wxWidgets (formerly wxWindows) license. This means you may use it for any kind of usage and modify it to suit your needs.
wxPdfDocument offers all advantages of FPDF. Several add-on PHP scripts found on the FPDF web site are incorporated into wxPdfDocument. The main features are:
The class can produce documents in many languages other than the Western European ones: Central European, Cyrillic, Greek, Baltic and Thai, provided you own TrueType or Type1 fonts with the desired character set. In the Unicode build Chinese, Japanese and Korean are supported, too.
A Reference Manual showing all available methods in alphabetical order is provided. A sample application including more than 20 examples demonstrates the different features. Separate detailed descriptions are available for the MakeFont Utility and the ShowFont Utility. The chapter Styling text using a simple markup language describes the supported tags of the simple XML markup language used by the method wxPdfDocument::WriteXml.
wxPdfDocument is hosted at GitHub since end of 2015. For any remark, question or problem, you can leave a message on the wxPdfDocument issue tracker Or you can send a mail to the author directly.
Changes:
Fixed bugs:
For a detailed change log see the Version history.
Currently there are no known issues regarding the functionality of the wxPdfDocument component. All features were thoroughly tested individually, but it's almost impossible to check all potential combinations. If you find bugs please report them to the author!
I'm very grateful to Bruno Lowagie, the main author of the iText Java library, for allowing to take lots of ideas and inspirations from this great Java PDF library. Especially the font handling and font subsetting was influenced in that way.
Many thanks go to Ben Moores who provided code for layers and patterns he wrote for his PDF extension for Mapnik. This code has been extended based on ideas from the iText Java library and was incorporated into wxPdfDocument.
Support for Indic scripts is based on the efforts of Ian Back, creator of the PHP library mPDF; special thanks to K Vinod Kumar of the Centre for Development of Advanced Computing, Mumbai, for clearing license issues of the Raghu font series.
Kudos to Mark Dootson for contributing major enhancements of wxPdfDC and it's integration into the wxWidgets printing framework.
Kudos to Dieter Schmeer for contributing several enhancements for the XML markup handling.
Kudos to Blake Madden for contributing a wxPdfGraphicsContext implementation and support for granular font weights.
Since wxPdfDocument is based on the great FPDF PHP class and several of the contributions to it found on the FPDF website I would like to thank
The wxPdfDocument encryption methods use the MD5 Message Digest Algorithm implementation of Alexander Peslyak (Public Domain) and the Rijndael cipher implementation of Szymon Stefanek (Public Domain). For detailed license information