| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 |
<head> |
| 4 |
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 5 |
<title>wxPdfDocument: wxPdfDocument</title> |
| 6 |
<link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 7 |
<link href="doxygen.css" rel="stylesheet" type="text/css"/> |
| 8 |
</head> |
| 9 |
<body> |
| 10 |
<!-- Generated by Doxygen 1.7.4 --> |
| 11 |
<div id="top"> |
| 12 |
<div id="titlearea"> |
| 13 |
<h1>wxPdfDocument 0.9.2</h1> |
| 14 |
<div class="header"> |
| 15 |
<div class="headertitle"> |
| 16 |
<div class="title"><a class="el" href="classwx_pdf_document.html" title="Class representing a PDF document.">wxPdfDocument</a> </div> </div> |
| 17 |
</div> |
| 18 |
<div class="contents"> |
| 19 |
<div class="textblock"><h2><a class="anchor" id="intro"></a> |
| 20 |
What is wxPdfDocument?</h2> |
| 21 |
<p><a class="el" href="classwx_pdf_document.html" title="Class representing a PDF document.">wxPdfDocument</a> is a C++ class which allows wxWidgets applications to generate PDF files. The code is a port of <a href="http://www.fpdf.org"><b>FPDF</b></a> - a |
| 22 |
free PHP class for generating PDF files - to C++ using the <a href="http://www.wxwidgets.org"><b>wxWidgets</b></a> library. <a class="el" href="classwx_pdf_document.html" title="Class representing a PDF document.">wxPdfDocument</a> does not make use of any |
| 23 |
libraries like <a href="http://www.pdflib.com"><b>PDFlib</b></a> or <a href="http://www.fastio.com"><b>ClibPDF</b></a> which require a fee at least for commercial usage. <a class="el" href="classwx_pdf_document.html" title="Class representing a PDF document.">wxPdfDocument |
| 24 |
</a> is published under the <b>wxWidgets (formerly wxWindows) license</b>. This means you may use it for any kind of usage and modify it to suit your needs.</p> |
| 25 |
<p><a class="el" href="classwx_pdf_document.html" title="Class representing a PDF document.">wxPdfDocument</a> offers all advantages of <b>FPDF</b>. Several add-on PHP scripts found on the FPDF web site are incorporated into <a class="el" href="classwx_pdf_document.html" |
| 26 |
title="Class representing a PDF document.">wxPdfDocument</a>. The main features are:</p> |
| 27 |
<ul> |
| 28 |
<li>Choice of measure unit, page format and margins</li> |
| 29 |
<li>Page header and footer management</li> |
| 30 |
<li>Automatic page break</li> |
| 31 |
<li>Automatic line break and text justification</li> |
| 32 |
<li>Image support (GIF, JPEG, PNG and WMF)</li> |
| 33 |
<li>Colours (Grayscale, RGB, CMYK, Spot colours)</li> |
| 34 |
<li>Links (internal and external)</li> |
| 35 |
<li>14 Adobe standard fonts</li> |
| 36 |
<li>TrueType and Type1 fonts (with or without embedding) and encoding support</li> |
| 37 |
<li>TrueType Unicode and Type0 fonts (for Chinese, Japanese and Korean) support in the Unicode build</li> |
| 38 |
<li>OpenType Unicode fonts support in the Unicode build</li> |
| 39 |
<li>Page compression</li> |
| 40 |
<li>Graphics primitives for the creation of simple drawings</li> |
| 41 |
<li>Definition of clipping areas</li> |
| 42 |
<li>Bookmarks for outlining the document</li> |
| 43 |
<li>Rotation</li> |
| 44 |
<li>Protecting the document by passwords and/or access permissions</li> |
| 45 |
<li>Text annotations</li> |
| 46 |
<li>PDF forms (supported field types: text, combo box, check box, radio button, push button)</li> |
| 47 |
<li>JavaScript</li> |
| 48 |
<li>Fill gradients</li> |
| 49 |
<li>Templates</li> |
| 50 |
<li>Layers (optional content groups)</li> |
| 51 |
<li>Simple bitmap patterns as draw and fill colours</li> |
| 52 |
</ul> |
| 53 |
<p>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 |
| 54 |
Korean are supported, too.</p> |
| 55 |
<p>A <a class="el" href="overview.html">Reference Manual</a> 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 |
| 56 |
for the <a class="el" href="makefont.html">MakeFont Utility</a> and the <a class="el" href="showfont.html">ShowFont Utility</a>. The chapter <a class="el" href="writexml.html">Styling text using a simple markup language</a> describes the supported tags of |
| 57 |
the simple XML markup language used by the method <a class="el" href="classwx_pdf_document.html#a96ea3ddf8d36744be7886638082bbb66" title="Prints a string containing simple XML markup.">wxPdfDocument::WriteXml</a>.</p> |
| 58 |
<p><a class="el" href="classwx_pdf_document.html" title="Class representing a PDF document.">wxPdfDocument</a> is hosted as a component of <a href="http://wxcode.sourceforge.net"><b>wxCode</b></a>. For any remark, question or problem, you can leave a message |
| 59 |
on the appropriate <b>wxCode</b> tracker accessible from the <a href="http://wxcode.sourceforge.net/support.php">wxCode support</a> page. Or you can send a mail to me <a href="&#109;&#97;&#105;&#108;&#116;&#111;:&#117;&#108;&#114;&#105;&#99;&#104;&#46;&#116;&#101;&#108;&#108;&#101;&#64;&#103;&#109;&#120;&#46;&#100;&#101;">directly |
| 60 |
</a>.</p> |
| 61 |
<h2><a class="anchor" id="version"></a> |
| 62 |
Version history</h2> |
| 63 |
<dl> |
| 64 |
<dt><b>0.9.2</b> - <em>September 2011</em> </dt> |
| 65 |
<dd><p class="startdd"><a class="el" href="classwx_pdf_document.html" title="Class representing a PDF document.">wxPdfDocument</a> is compatible with wxWidgets version 2.8.12 and version 2.9.2. Compatibility with older wxWidgets versions is not guaranteed, |
| 66 |
but it should work with all 2.8.x versions.</p> |
| 67 |
<p>General changes:<br/> |
| 68 |
</p> |
| 69 |
<ul> |
| 70 |
<li>added method <a class="el" href="classwx_pdf_d_c.html#a797b4548d802e23d670d6ccde1085b2f">wxPdfDC::GetPdfDocument</a> for builds based on wxWidgets 2.9.x</li> |
| 71 |
<li>added method <a class="el" href="classwx_pdf_document.html#a96ea3ddf8d36744be7886638082bbb66" title="Prints a string containing simple XML markup.">wxPdfDocument::WriteXml</a> for direct handling of wxXmlNode instances</li> |
| 72 |
<li>added support for optionally activating/deactivating message translation (<b>msg</b> tag) in XML output method</li> |
| 73 |
<li>added optional document id parameter for method <a class="el" href="classwx_pdf_encrypt.html#a67010bce5bcddf1c6d7a880849828d3a" title="Generate encryption key from user and owner passwords and protection key.">wxPdfEncrypt::GenerateEncryptionKey</a></li> |
| 74 |
</ul> |
| 75 |
<p>Fixed bugs:<br/> |
| 76 |
</p> |
| 77 |
<ul> |
| 78 |
<li>fixed a bug in method <a class="el" href="classwx_pdf_document.html#aa215c51f8f61cabb8960420a2eaddca8">wxPdfDocument::CalculatePageSize</a></li> |
| 79 |
<li>fixed a bug in <a class="el" href="classwx_pdf_font_data_core.html#a6b8f5a2c9e8126d5258b8cc369a33036" title="Convert character codes to glyph numbers.">wxPdfFontDataCore::ConvertCID2GID</a></li> |
| 80 |
<li>fixed several scaling bugs in <a class="el" href="classwx_pdf_d_c.html" title="Class representing a PDF drawing context.">wxPdfDC</a></li> |
| 81 |
<li>fixed several warnings in pdfkernel regarding formatted output of size_t variables</li> |
| 82 |
<li>fixed minor issues with Bengali font</li> |
| 83 |
</ul> |
| 84 |
<p></p> |
| 85 |
<p class="enddd"></p> |
| 86 |
</dd> |
| 87 |
<dt><b>0.9.1</b> - <em>January 2011</em> </dt> |
| 88 |
<dd><p class="startdd"><a class="el" href="classwx_pdf_document.html" title="Class representing a PDF document.">wxPdfDocument</a> is compatible with wxWidgets version 2.8.11 and version 2.9.1. Compatibility with older wxWidgets versions is not guaranteed, |
| 89 |
but it should now work with all 2.8.x versions.</p> |
| 90 |
<p>Added features:<br/> |
| 91 |
</p> |
| 92 |
<ul> |
| 93 |
<li>added support for Apple Unicode TrueType fonts</li> |
| 94 |
<li>added the <a class="el" href="showfont.html">ShowFont Utility</a></li> |
| 95 |
</ul> |
| 96 |
<p>General changes:<br/> |
| 97 |
</p> |
| 98 |
<ul> |
| 99 |
<li>optimized the processing speed of VOLT rules</li> |
| 100 |
<li>modified the code for wxMac support</li> |
| 101 |
<li>modified the sample tutorial7 to test the new wxMac font loading code</li> |
| 102 |
<li>added check for valid 'cmap' table in <a class="el" href="classwx_pdf_font_parser_true_type.html" title="Class representing a TrueType/OpenType font parser.">wxPdfFontParserTrueType</a></li> |
| 103 |
<li>added call to method wc_str for wxString parameters in calls to FromWChar</li> |
| 104 |
<li>implemented method RegisterSystemFonts for wxMac</li> |
| 105 |
<li>samples changed to set the executable path as the current working directory</li> |
| 106 |
</ul> |
| 107 |
<p>Fixed bugs:<br/> |
| 108 |
</p> |
| 109 |
<ul> |
| 110 |
<li>fixed a memory leak on registering a font identified by a wxFont object</li> |
| 111 |
<li>fixed a bug in method ShowGlyph</li> |
| 112 |
<li>fixed several wxMac compile time bugs (missing includes, some typos)</li> |
| 113 |
<li>changed the wxMac print dialog includes in the printing sample</li> |
| 114 |
</ul> |
| 115 |
<p></p> |
| 116 |
<p class="enddd"></p> |
| 117 |
</dd> |
| 118 |
<dt><b>0.9.0</b> - <em>December 2010</em> </dt> |
| 119 |
<dd><p class="startdd"><a class="el" href="classwx_pdf_document.html" title="Class representing a PDF document.">wxPdfDocument</a> is compatible with wxWidgets version 2.8.11 and version 2.9.1. Compatibility with older wxWidgets versions is not guaranteed. |
| 120 |
</p> |
| 121 |
<p>This is the first release of <a class="el" href="classwx_pdf_document.html" title="Class representing a PDF document.">wxPdfDocument</a> containing a <b>PDF drawing context</b> (<a class="el" href="classwx_pdf_d_c.html" title="Class representing a PDF drawing |
| 122 |
context.">wxPdfDC</a>). There are implementations for wxWidgets 2.8.x and 2.9.x; the matching implementation is selected automatically at compile time. Please report your experiences with <a class="el" href="classwx_pdf_d_c.html" title="Class representing |
| 123 |
a PDF drawing context.">wxPdfDC</a> to the author of <a class="el" href="classwx_pdf_document.html" title="Class representing a PDF document.">wxPdfDocument</a>, be it bug reports, contributions or feature requests.</p> |
| 124 |
<p><b>Note:</b> A <b>PDF graphics context</b> is planned for one of the next releases of <a class="el" href="classwx_pdf_document.html" title="Class representing a PDF document.">wxPdfDocument</a>. Most likely only wxWidgets 2.9.x will be supported since the |
| 125 |
internals of the base class wxGraphicsContext differ considerably between wxWidgets 2.8.x and 2.9.x.</p> |
| 126 |
<p>Added features:<br/> |
| 127 |
</p> |
| 128 |
<ul> |
| 129 |
<li>methods to draw Bezier splines through a list of points; the drawing sample has been extended to show the new functionality</li> |
| 130 |
<li>PDF drawing context (<a class="el" href="classwx_pdf_d_c.html" title="Class representing a PDF drawing context.">wxPdfDC</a>); not yet all methods are implemented</li> |
| 131 |
<li>support for fonts with VOLT (Visual Ordering and Layout Tables) data (currently visual ordering only, preprocessing of the fonts required); fonts for 9 Indic scripts are included to demonstrate this feature</li> |
| 132 |
</ul> |
| 133 |
<p>General changes:<br/> |
| 134 |
</p> |
| 135 |
<ul> |
| 136 |
<li>increased output speed for method SaveAsFile (if large graphics files are involved)</li> |
| 137 |
<li>all currently supported CJK font families are now registered automatically at startup of the font manager</li> |
| 138 |
<li>MS CJK fonts aren't automatically registered as Type0 fonts, since this conflicts with registering these fonts as TrueType Unicode fonts</li> |
| 139 |
<li>handling of image masks has been improved</li> |
| 140 |
</ul> |
| 141 |
<p>Fixed bugs:<br/> |
| 142 |
</p> |
| 143 |
<ul> |
| 144 |
<li>opening font files could fail if the file path contained non-latin characters Now wxFileSystem::FileNameToURL is used to create valid file names for use in method OpenFile of wxFileSystem</li> |
| 145 |
<li>invalid format codes in method <a class="el" href="classwx_pdf_utility.html#aaf326d375b589032d6cd6a7a89bc1fbb" title="Formats a floating point number with a fixed precision.">wxPdfUtility::Double2String</a> could cause problems in MinGW environment</li> |
| 146 |
<li>registering half-width CJK fonts didn't work</li> |
| 147 |
<li>bug in page size handling</li> |
| 148 |
<li>no file was written when Close was called before SaveAsFile</li> |
| 149 |
<li>bug in the handling of transparency for image masks</li> |
| 150 |
<li>uninitialized member variables in layer objects possibly causing invisibility of layers</li> |
| 151 |
<li>cleaned up output formatting codes for building on 64-bit systems</li> |
| 152 |
<li>compile time bugs for wxWidgets built with wxUSE_STL</li> |
| 153 |
<li>several minor bugs</li> |
| 154 |
</ul> |
| 155 |
<p></p> |
| 156 |
<p class="enddd"></p> |
| 157 |
</dd> |
| 158 |
<dt><b>0.8.5</b> - <em>October 2009</em> </dt> |
| 159 |
<dd><p class="startdd"><a class="el" href="classwx_pdf_document.html" title="Class representing a PDF document.">wxPdfDocument</a> is compatible with wxWidgets version 2.8.10. Some preparations were done to make <a class="el" href="classwx_pdf_document.html" |
| 160 |
title="Class representing a PDF document.">wxPdfDocument</a> compatible with version 2.9.x and above, too.</p> |
| 161 |
<p>Added features in <b>all</b> builds:<br/> |
| 162 |
</p> |
| 163 |
<ul> |
| 164 |
<li>support for individual page sizes</li> |
| 165 |
<li>support for setting fill rule to <em>odd/even</em> or <em>winding</em></li> |
| 166 |
<li>support for setting the text render mode</li> |
| 167 |
<li>support for layers (optional content groups)</li> |
| 168 |
<li>support for patterns as draw and fill colours</li> |
| 169 |
<li>support for Code 128 barcodes</li> |
| 170 |
</ul> |
| 171 |
<p>Added features in <b>Unicode</b> build:<br/> |
| 172 |
</p> |
| 173 |
<ul> |
| 174 |
<li>support for kerning</li> |
| 175 |
<li>support for different encodings for Type1 and TrueType fonts</li> |
| 176 |
<li>support for using TrueType and OpenType fonts loaded directly from .ttf or .otf file</li> |
| 177 |
<li>support for using Type1 fonts loaded directly from .pfb and .afm file</li> |
| 178 |
<li>support for using TrueType and OpenType fonts defined by a wxFont object</li> |
| 179 |
<li>font subsetting for OpenType Unicode fonts (experimental, currently non-CID fonts only)</li> |
| 180 |
<li>direct positioning and writing of glyph numbers for TrueType/OpenType Unicode fonts<br/> |
| 181 |
this may be used in conjunction with tools for writing complex scripts like ICU</li> |
| 182 |
</ul> |
| 183 |
<p>Added features in <b>ANSI</b> build:<br/> |
| 184 |
</p> |
| 185 |
<ul> |
| 186 |
<li>support for fonts defined by a wxFont object (mapped by family, weight and style to the Adobe core fonts)</li> |
| 187 |
</ul> |
| 188 |
<p>General changes:<br/> |
| 189 |
</p> |
| 190 |
<ul> |
| 191 |
<li>coordinate transformation (location of origin and y axis orientation) is now done directly in PDF. This was a prerequisite to add wxGraphicsContext support in an upcoming version. User unit scaling is done programmatically.</li> |
| 192 |
<li>unified the naming of all methods manipulating colours. Now always the British spelling is used, i.e. <em>colour</em> instead of <em>color</em>.</li> |
| 193 |
</ul> |
| 194 |
<p>Fixed bugs:<br/> |
| 195 |
</p> |
| 196 |
<ul> |
| 197 |
<li>line style measurements did not use user units</li> |
| 198 |
<li>encryption support for big endian platforms.</li> |
| 199 |
<li>method <a class="el" href="classwx_pdf_document.html#a75e682eff61934c888afd051343af76b" title="Define text as clipping area.">wxPdfDocument::ClippingText</a>. </li> |
| 200 |
</ul> |
| 201 |
<p class="enddd"></p> |
| 202 |
</dd> |
| 203 |
<dt><b>0.8.0</b> - <em>December 2006</em> </dt> |
| 204 |
<dd><p class="startdd">Added features:<br/> |
| 205 |
</p> |
| 206 |
<ul> |
| 207 |
<li>support for external templates: pages of existing PDF documents may be imported and used as templates</li> |
| 208 |
<li>font subsetting for TrueType and TrueType Unicode fonts, often resulting in much smaller PDF file sizes</li> |
| 209 |
<li>support for using and embedding OpenType Unicode fonts</li> |
| 210 |
<li>enhanced support for password based encryption, encryption key length freely definable between 40 and 128 bits (<b>Attention</b>: Adobe Reader supports only keys with 40 or 128 bits.)</li> |
| 211 |
<li>support for AES encryption (additional standard encryption method in PDF version 1.6 and above)</li> |
| 212 |
</ul> |
| 213 |
<p><a class="el" href="classwx_pdf_document.html" title="Class representing a PDF document.">wxPdfDocument</a> is compatible with wxWidgets version 2.8.0 as well as with version 2.6.x.</p> |
| 214 |
<p>As an add-on preprocessed font files for the free <a href="http://dejavu.sourceforge.net">DejaVu fonts</a> (version 2.12) are provided in the file release <b><a href="http://sourceforge.net/project/showfiles.php?group_id=51305&package_id=45182&release_id=468705">wxPdfDocument |
| 215 |
Add-Ons</a></b>.</p> |
| 216 |
<p><b>Attention</b>: For supporting font subsetting for ordinary non-Unicode TrueType fonts the format of the font definition files has been extended. Font definition files created with prior versions of the <a class="el" href="makefont.html">MakeFont Utility |
| 217 |
</a> are still usable, but do not support font subsetting. It is recommended to regenerate own font definition files. Unfortunately common AFM font metric files do not contain glyph information which is required by the <a class="el" href="makefont.html">MakeFont |
| 218 |
Utility</a> to create the character-to-glyph mapping. Therefore the utility <code>ttf2ufm</code> had to be changed. The modified version including a Windows executable is available in the file release <b><a href="http://sourceforge.net/project/showfiles.php?group_id=51305&package_id=45182&release_id=468705">wxPdfDocument |
| 219 |
Add-Ons</a></b>. </p> |
| 220 |
<p class="enddd"></p> |
| 221 |
</dd> |
| 222 |
<dt><b>0.7.6</b> - <em>October 2006</em> </dt> |
| 223 |
<dd><p class="startdd">Added features (thanks to Stuart Smith):<br/> |
| 224 |
</p> |
| 225 |
<ul> |
| 226 |
<li>setting/getting the default path used for loading font files</li> |
| 227 |
<li>getting the description of the current font</li> |
| 228 |
<li>loading images from a wxInputStream (in addition to loading from file or wxImage)</li> |
| 229 |
</ul> |
| 230 |
<p><b>Attention</b>: The structure of the font definition files has changed due to the addition of the font attribute <code>xHeight</code>. It is necessary to regenerate own font definition files using the <a class="el" href="makefont.html">MakeFont Utility |
| 231 |
</a>. To support the <code>xHeight</code> attribute the utility <code>ttf2ufm</code> had to be changed.</p> |
| 232 |
<p><a class="el" href="classwx_pdf_document.html" title="Class representing a PDF document.">wxPdfDocument</a> is now compatible with wxWidgets version 2.7.1 and above as well as with version 2.6.x.</p> |
| 233 |
<p>Fixed several bugs </p> |
| 234 |
<p class="enddd"></p> |
| 235 |
</dd> |
| 236 |
<dt><b>0.7.5</b> - <em>September 2006</em> </dt> |
| 237 |
<dd><p class="startdd">Added or enhanced features:<br/> |
| 238 |
</p> |
| 239 |
<ul> |
| 240 |
<li>support for tables in simple XML markup spanning more than a page</li> |
| 241 |
<li>support for internal links in simple XML markup</li> |
| 242 |
<li>support for transparency</li> |
| 243 |
<li>support for image masks</li> |
| 244 |
<li>support for internal templates</li> |
| 245 |
<li>support for polygon and shape clipping</li> |
| 246 |
<li>support for printing text along a path</li> |
| 247 |
<li>extended support for fill gradients (<b>API changed!</b>)</li> |
| 248 |
<li>internal colour management reworked</li> |
| 249 |
</ul> |
| 250 |
<p>Fixed some minor bugs </p> |
| 251 |
<p class="enddd"></p> |
| 252 |
</dd> |
| 253 |
<dt><b>0.7</b> - <em>April 2006</em> </dt> |
| 254 |
<dd><p class="startdd">Added features:<br/> |
| 255 |
</p> |
| 256 |
<ul> |
| 257 |
<li>support for CMYK and spot colours</li> |
| 258 |
<li>support for named colours (486 predefined names for RGB colours) (<a class="el" href="classwx_pdf_colour.html" title="Class representing wxPdfDocument colours.">wxPdfColour</a>)</li> |
| 259 |
<li>support for colour names in HTML notation (#rrggbb) (<a class="el" href="classwx_pdf_colour.html" title="Class representing wxPdfDocument colours.">wxPdfColour</a>)</li> |
| 260 |
<li>text annotations</li> |
| 261 |
<li>additional font decorations: overline, strikeout</li> |
| 262 |
<li>PDF forms</li> |
| 263 |
<li>JavaScript at the document level</li> |
| 264 |
<li>Simple XML markup language for styling and structuring text</li> |
| 265 |
</ul> |
| 266 |
<p>Added or modified methods:<br/> |
| 267 |
</p> |
| 268 |
<ul> |
| 269 |
<li><a class="el" href="classwx_pdf_document.html#ab088245b7bd878346ed857eaac448c0d" title="This method counts the number of lines a text would occupy in respect to a given maximal width...">wxPdfDocument::LineCount</a>, <a class="el" href="classwx_pdf_document.html#ab1c68234e49efaa3e6d170f0c3014483" |
| 270 |
title="This method counts the number of lines a text will occupy in respect to a given maximal width...">wxPdfDocument::TextBox</a> and several getter methods were added for convenience</li> |
| 271 |
<li><a class="el" href="classwx_pdf_document.html#a19eff882e8ed85134189ffc604671da8" title="This method allows printing text with line breaks.">wxPdfDocument::MultiCell</a> now respects a maximal line count</li> |
| 272 |
<li><a class="el" href="classwx_pdf_document.html#a96ea3ddf8d36744be7886638082bbb66" title="Prints a string containing simple XML markup.">wxPdfDocument::WriteXml</a> allows to print text containing simple XML markup </li> |
| 273 |
</ul> |
| 274 |
<p class="enddd"></p> |
| 275 |
</dd> |
| 276 |
<dt><b>0.6</b> - <em>November 2005</em> </dt> |
| 277 |
<dd><p class="startdd">Added features:</p> |
| 278 |
<ul> |
| 279 |
<li>gradients</li> |
| 280 |
<li>transformations</li> |
| 281 |
<li>barcodes<br/> |
| 282 |
</li> |
| 283 |
<li><a class="el" href="makefont.html">MakeFont Utility</a><br/> |
| 284 |
</li> |
| 285 |
</ul> |
| 286 |
<p>Changed API of graphics primitives: line style and fill colour parameters deleted, line style and fill colour have to be set using <a class="el" href="classwx_pdf_document.html#acde5c89b926954b0f4b346fc599c7947" title="Sets line style.">wxPdfDocument::SetLineStyle |
| 287 |
</a> and <a class="el" href="classwx_pdf_document.html#acea8e25d150e0ccc59954cfe6f98cdd5" title="Defines the colour used for all filling operations.">wxPdfDocument::SetFillColour</a>. </p> |
| 288 |
<p class="enddd"></p> |
| 289 |
</dd> |
| 290 |
<dt><b>0.5</b> - <em>September 2005</em> </dt> |
| 291 |
<dd><p class="startdd">First public release </p> |
| 292 |
<p class="enddd"></p> |
| 293 |
</dd> |
| 294 |
<dt><b>0.4</b> - <em>August 2005</em> </dt> |
| 295 |
<dd><p class="startdd">Support for embedding fonts </p> |
| 296 |
<p class="enddd"></p> |
| 297 |
</dd> |
| 298 |
<dt><b>0.3</b> - <em>July 2005</em> </dt> |
| 299 |
<dd><p class="startdd">Support for embedding images </p> |
| 300 |
<p class="enddd"></p> |
| 301 |
</dd> |
| 302 |
<dt><b>0.2</b> - <em>June 2005</em> </dt> |
| 303 |
<dd><p class="startdd">Several add-ons implemented </p> |
| 304 |
<p class="enddd"></p> |
| 305 |
</dd> |
| 306 |
<dt><b>0.1</b> - <em>May 2005</em> </dt> |
| 307 |
<dd>Planning and basic PDF features implemented </dd> |
| 308 |
</dl> |
| 309 |
<dl class="author"><dt><b>Author:</b></dt><dd>Ulrich Telle (<a href="&#109;&#97;&#105;&#108;&#116;&#111;:&#117;&#108;&#114;&#105;&#99;&#104;&#46;&#116;&#101;&#108;&#108;&#101;&#64;&#103;&#109;&#120;&#46;&#100;&#101;">ulrich |
| 310 |
DOT telle AT gmx DOT de</a>)</dd></dl> |
| 311 |
<h2><a class="anchor" id="issues"></a> |
| 312 |
Known issues</h2> |
| 313 |
<p>Currently there are no known issues regarding the functionality of the <a class="el" href="classwx_pdf_document.html" title="Class representing a PDF document.">wxPdfDocument</a> component. All features were thoroughly tested individually, but it's almost |
| 314 |
impossible to check all potential combinations. <b>If you find bugs please report them to the author!</b></p> |
| 315 |
<h2><a class="anchor" id="acknowledgement"></a> |
| 316 |
Acknowledgements</h2> |
| 317 |
<p>I'm very grateful to <b>Bruno Lowagie</b>, the main author of the <b>iText Java library</b> (<a href="http://www.lowagie.com/iText">http://www.lowagie.com/iText</a>), for allowing to take lots of ideas and inspirations from this great Java PDF library. |
| 318 |
Especially the font handling and font subsetting was influenced in that way.</p> |
| 319 |
<p>Many thanks go to <b>Ben Moores</b> who provided code for layers and patterns he wrote for his PDF extension for <b>Mapnik</b> (<a href="http://www.mapnik.org">http://www.mapnik.org</a>). This code has been extended based on ideas from the <b>iText Java |
| 320 |
library</b> and was incorporated into <a class="el" href="classwx_pdf_document.html" title="Class representing a PDF document.">wxPdfDocument</a>.</p> |
| 321 |
<p>Support for Indic scripts is based on the efforts of <b>Ian Back</b>, creator of the PHP library <b>mPDF</b> (<a href="http://mpdf.bpm1.com">http://mpdf.bpm1.com</a>); special thanks to <b>K Vinod Kumar</b> of the Centre for Development of Advanced Computing, |
| 322 |
Mumbai (<a href="http://www.cdacmumbai.in">http://www.cdacmumbai.in</a>), for clearing license issues of the Raghu font series.</p> |
| 323 |
<p>Since <a class="el" href="classwx_pdf_document.html" title="Class representing a PDF document.">wxPdfDocument</a> is based on the great <b>FPDF</b> PHP class and several of the contributions to it found on the <a href="http://www.fpdf.org"><b>FPDF website |
| 324 |
</b></a> I would like to thank</p> |
| 325 |
<ul> |
| 326 |
<li>Olivier Plathey (FPDF, Barcodes, Bookmarks, Rotation),</li> |
| 327 |
<li>Maxime Delorme (Sector)</li> |
| 328 |
<li>Johannes Guentert (JavaScript)</li> |
| 329 |
<li>Martin Hall-May (WMF images, Transparency)</li> |
| 330 |
<li>Emmanuel Havet (Code39 barcodes)</li> |
| 331 |
<li>Shailesh Humbad (POSTNET barcodes)</li> |
| 332 |
<li>Matthias Lau (i25 barcodes)</li> |
| 333 |
<li>Pierre Marletta (Diagrams)</li> |
| 334 |
<li>Laurent Passebecq (Labels)</li> |
| 335 |
<li>David Hernandez Sanz (additional graphics primitives)</li> |
| 336 |
<li>Valentin Schmidt (Transparency, Alpha channel)</li> |
| 337 |
<li>Jan Slabon (FPDI)</li> |
| 338 |
<li>Klemen Vodopivec (Protection)</li> |
| 339 |
<li>Moritz Wagner (Transformation)</li> |
| 340 |
<li>Andreas Wuermser (Clipping, Gradients, Transformation)</li> |
| 341 |
</ul> |
| 342 |
<p>The <a class="el" href="classwx_pdf_document.html" title="Class representing a PDF document.">wxPdfDocument</a> encryption methods use the RSA Data Security, Inc. MD5 Message Digest Algorithm (RSA Data Security license) and the Rijndael cipher implementation |
| 343 |
of Szymon Stefanek (Public Domain). For detailed license information </p> |
| 344 |
<dl class="see"><dt><b>See also:</b></dt><dd>files pdfencrypt.cpp and <a class="el" href="pdfrijndael_8h.html" title="Interface of the Rijndael cipher.">pdfrijndael.h</a>. </dd></dl> |
| 345 |
</div></div> |
| 346 |
<hr class="footer"/><address class="footer"><small>Generated on Tue Sep 6 2011 22:09:26 for wxPdfDocument by  |
| 347 |
1.7.4 </small></address> |
| 348 |
</body> |
| 349 |
</html> |