RubyPDF Blog Open Source,PDF wxPdfDocument-Another port of FPDF

wxPdfDocument-Another port of FPDF

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 or ClibPDF 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:

  • Choice of measure unit, page format and margins
  • Page header and footer management
  • Automatic page break
  • Automatic line break and text justification
  • Image support (GIF, JPEG, PNG and WMF)
  • Colors (Grayscale, RGB, CMYK, Spot colors)
  • Links (internal and external)
  • 14 Adobe standard fonts
  • TrueType and Type1 fonts (with or without embedding) and encoding support
  • TrueType Unicode and Type0 fonts (for Chinese, Japanese and Korean) support in the Unicode build
  • Page compression
  • Graphics primitives for the creation of simple drawings
  • Definition of clipping areas
  • Bookmarks for outlining the document
  • Rotation
  • Protecting the document by passwords and/or access permissions
  • Text annotations
  • PDF forms (supported field types: text, combo box, check box, radio button, push button)
  • JavaScript
  • Fill gradients
  • Templates

For more detail, please visit here,

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.