You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by bu...@apache.org on 2012/12/05 09:23:58 UTC
svn commit: r840806 [8/19] - in /websites/staging/xmlgraphics/trunk/content:
./ batik/ batik/dev/ batik/tools/ batik/using/ batik/using/scripting/
commons/ fop/ fop/0.95/ fop/1.0/ fop/1.1/ fop/dev/ fop/dev/design/ fop/trunk/
Modified: websites/staging/xmlgraphics/trunk/content/fop/1.0/changes_1.0.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/1.0/changes_1.0.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/1.0/changes_1.0.html Wed Dec 5 08:23:47 2012
@@ -342,7 +342,7 @@ $(document).ready(function () {
</div>
<!-- <div id="breadcrumb"><a href="/">Home</a> » <a href="/fop/">Fop</a> » <a href="/fop/1.0/">1.0</a></div> -->
<div class="section-content"><h1 id="history-of-changes-10">History of Changes 1.0</h1>
-<p><a href="changes_1.0.rss">changes_1.0.rss</a> </p>
+<p><a href="changes_1.0.rss">changes_1.0.rss</a></p>
<h2 id="introduction-and-explanation-of-symbols-wzxhzdk0wzxhzdk1">Introduction and explanation of symbols <a id="introduction"></a></h2>
<p>Changes are sorted by "type" and then chronologically with the most recent at the top. These symbols denote the various action types:<img alt="add" src="/images/add.jpg" /> =add,<img alt="fix" src="/images/fix.jpg" /> =fix,<img alt="remove" src="/images/remove.jpg" /> =remove,<img alt="update" src="/images/update.jpg" /> =update</p>
<h2 id="version-10-21-july-2010-wzxhzdk2wzxhzdk3">Version 1.0 (21 July 2010) <a id="version_1.0"></a></h2>
@@ -356,28 +356,28 @@ $(document).ready(function () {
<p><img alt="add" src="/images/add.jpg" /> Added support for xmlfile and xsltfile parameters in FOP's Ant Task. Committed by AC.</p>
</li>
<li>
-<p><img alt="add" src="/images/add.jpg" /> Added the possibility to use CachedRenderPagesModel, to conserve memory in case of large documents with a lot of cross-references (area tree will be serialized to disk to avoid keeping it entirely in memory). Committed by AD. Thanks to Dario Laera. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46828">46828</a> .</p>
+<p><img alt="add" src="/images/add.jpg" /> Added the possibility to use CachedRenderPagesModel, to conserve memory in case of large documents with a lot of cross-references (area tree will be serialized to disk to avoid keeping it entirely in memory). Committed by AD. Thanks to Dario Laera. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46828">46828</a>.</p>
</li>
<li>
<p><img alt="add" src="/images/add.jpg" /> Added an event handling framework which allows to get better feedback from within FOP with the ability to customize problem management. Committed by JM.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: when #CMYK pseudo-profile was used in the rgb-icc() function, always the fallback RGB colors were used instead. Committed by VH. Thanks to Venkat Reddy. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48167">48167</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: when #CMYK pseudo-profile was used in the rgb-icc() function, always the fallback RGB colors were used instead. Committed by VH. Thanks to Venkat Reddy. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48167">48167</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> White-space handling in markers with inline-content throws a NullPointerException in some cases. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47710">47710</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> White-space handling in markers with inline-content throws a NullPointerException in some cases. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47710">47710</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: previously retrieved markers were not cleared if the new marker was empty. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46960">46960</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: previously retrieved markers were not cleared if the new marker was empty. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46960">46960</a>.</p>
</li>
<li>
<p><img alt="fix" src="/images/fix.jpg" /> Changed meaning of â-vâ option to âverboseâ, which will print FOPâs version and proceed. Added a â-versionâ option to simply print the version then exit, following Java practices. Committed by VH.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> MinOptMaxUtil.toMinOptMax was converting LengthRangeProperty objects into illegal MinOptMax objects (in some cases opt could be inferior to min). Committed by VH. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46638">46638</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> MinOptMaxUtil.toMinOptMax was converting LengthRangeProperty objects into illegal MinOptMax objects (in some cases opt could be inferior to min). Committed by VH. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46638">46638</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Fixed a memory-leak in Marker.MarkerAttribute, where an instance was used both as key and value in a WeakHashMap, effectively neutralizing the benefit of using WeakReferences. Solved by extending PropertyCache to work for MarkerAttributes as well. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46319">46319</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Fixed a memory-leak in Marker.MarkerAttribute, where an instance was used both as key and value in a WeakHashMap, effectively neutralizing the benefit of using WeakReferences. Solved by extending PropertyCache to work for MarkerAttributes as well. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46319">46319</a>.</p>
</li>
<li>
<p><img alt="fix" src="/images/fix.jpg" /> Fixed some multi-threading issues in FontCache.java:</p>
@@ -390,30 +390,30 @@ $(document).ready(function () {
</li>
<li>
<p>perform the HashMap check for a failed font inside the synchronized block to avoid a race condition
-Committed by AD. Thanks to rogov.AT.devexperts.com. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46211">46211</a> .</p>
+Committed by AD. Thanks to rogov.AT.devexperts.com. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46211">46211</a>.</p>
</li>
</ul>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Improved the behaviour of the command line interface. Committed by VH. Thanks to Tow Browder. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45971">45971</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Improved the behaviour of the command line interface. Committed by VH. Thanks to Tow Browder. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45971">45971</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Make fop.bat and fop.cmd use the %FOP_OPTS% environment variable. Committed by AD. Thanks to Carsten Siedentop. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45842">45842</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Make fop.bat and fop.cmd use the %FOP_OPTS% environment variable. Committed by AD. Thanks to Carsten Siedentop. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45842">45842</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Quick-fix to avoid a possible NullPointerException when using empty inlines and hyphenation. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45667">45667</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Quick-fix to avoid a possible NullPointerException when using empty inlines and hyphenation. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45667">45667</a>.</p>
</li>
<li>
<p><img alt="fix" src="/images/fix.jpg" /> Fixed memory leak in property cache (not cleaning stale PropertyCache$CacheEntry instances). Committed by JM.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Fixed a slight error when resolving non-file URLs: avoid altering the original 'href' if the protocol is other than 'file:' Committed by AD. Thanks to Thomas Stieler. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45490">45490</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Fixed a slight error when resolving non-file URLs: avoid altering the original 'href' if the protocol is other than 'file:' Committed by AD. Thanks to Thomas Stieler. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45490">45490</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Corrected white-space-treatment for situations where an inline-node is the first/last child node of an fo:block, without preceding/following text. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45097">45097</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Corrected white-space-treatment for situations where an inline-node is the first/last child node of an fo:block, without preceding/following text. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45097">45097</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Fixed a logic error in Hyphenator.java: If the source had an associated InputStream, an UnsupportedOperationException was triggered. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44203">44203</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Fixed a logic error in Hyphenator.java: If the source had an associated InputStream, an UnsupportedOperationException was triggered. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44203">44203</a>.</p>
</li>
<li>
<p><img alt="update" src="/images/update.jpg" /> Changed FONode.addCharacters() parameter to closer match the signature of the standard SAX characters() event (reduces confusion and computations). <em>!! Implementors of extensions that subclass FONode directly, and offer an implementation for addCharacters() should take care to make similar modifications in their code !!</em> Committed by AD.</p>
@@ -450,7 +450,7 @@ Committed by AD. Thanks to rogov.AT.deve
<p><img alt="add" src="/images/add.jpg" /> Add support for font substitution. Committed by AC.</p>
</li>
<li>
-<p><img alt="add" src="/images/add.jpg" /> Added support for auto-configuring TrueType Collections. XML font metrics files for *.ttc fonts are not required anymore. Committed by JM. Thanks to Jason Harrop. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44737">44737</a> .</p>
+<p><img alt="add" src="/images/add.jpg" /> Added support for auto-configuring TrueType Collections. XML font metrics files for *.ttc fonts are not required anymore. Committed by JM. Thanks to Jason Harrop. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44737">44737</a>.</p>
</li>
<li>
<p><img alt="add" src="/images/add.jpg" /> Added support for addressing all glyphs available in a Type 1 font, not just the ones in the font's primary encoding. Committed by JM.</p>
@@ -459,22 +459,22 @@ Committed by AD. Thanks to rogov.AT.deve
<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: Font selection fallbacks did not work in some cases (ex. bold+italic to normal) Committed by JM.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Fixed generation of CIDSet object in PDF output. Committed by JM. Thanks to Nicolas Peninguy. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47711">47711</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Fixed generation of CIDSet object in PDF output. Committed by JM. Thanks to Nicolas Peninguy. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47711">47711</a>.</p>
</li>
<li>
<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: support PFM Files with no extent table. Committed by CB.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: for the last character of a Type1 font, always a width of 0 was returned. Committed by VH. Thanks to Maxim Wirt. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47232">47232</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: for the last character of a Type1 font, always a width of 0 was returned. Committed by VH. Thanks to Maxim Wirt. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47232">47232</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Use temporary directory for the font cache if the user home directory is not write-accessible. Committed by JM. Thanks to Alok Singh. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46686">46686</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Use temporary directory for the font cache if the user home directory is not write-accessible. Committed by JM. Thanks to Alok Singh. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46686">46686</a>.</p>
</li>
<li>
<p><img alt="fix" src="/images/fix.jpg" /> More robust AFP font parsing, although it is still in need of some rework in the future. Committed by AC.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Fix for PFMReader after bug #43089 changed the behavior of PFMFile. Fixes baseline problems when Type 1 fonts are used in conjunction with XML font metric files. Committed by JM. Thanks to J. Frantzius. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45734">45734</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Fix for PFMReader after bug #43089 changed the behavior of PFMFile. Fixes baseline problems when Type 1 fonts are used in conjunction with XML font metric files. Committed by JM. Thanks to J. Frantzius. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45734">45734</a>.</p>
</li>
</ul>
<h3 id="changes-to-the-image-support-wzxhzdk12wzxhzdk13">Changes to the Image Support <a id="Images_1.0"></a></h3>
@@ -483,7 +483,7 @@ Committed by AD. Thanks to rogov.AT.deve
<p><img alt="add" src="/images/add.jpg" /> Added customization ability for the image loading framework from FOP's configuration file. Committed by JM.</p>
</li>
<li>
-<p><img alt="add" src="/images/add.jpg" /> Added support for SVG 1.2 functionality inside fo:instream-foreign-object. Committed by JM. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41657">41657</a> .</p>
+<p><img alt="add" src="/images/add.jpg" /> Added support for SVG 1.2 functionality inside fo:instream-foreign-object. Committed by JM. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41657">41657</a>.</p>
</li>
<li>
<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: use the effective color profile supplied by the ImageEncodingHelper, instead of the original one. Committed by JM.</p>
@@ -498,10 +498,10 @@ Committed by AD. Thanks to rogov.AT.deve
<p><img alt="add" src="/images/add.jpg" /> Added limited support for pages of different inline-progression-dimensions within a page-sequence. Committed by VH.</p>
</li>
<li>
-<p><img alt="add" src="/images/add.jpg" /> Added basic implementation for column-keeps. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46905">46905</a> .</p>
+<p><img alt="add" src="/images/add.jpg" /> Added basic implementation for column-keeps. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46905">46905</a>.</p>
</li>
<li>
-<p><img alt="add" src="/images/add.jpg" /> Added extension to disable column balancing before blocks spanning the whole page, in multiple-column documents. Committed by VH. Thanks to Georg Datterl. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46315">46315</a> .</p>
+<p><img alt="add" src="/images/add.jpg" /> Added extension to disable column balancing before blocks spanning the whole page, in multiple-column documents. Committed by VH. Thanks to Georg Datterl. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46315">46315</a>.</p>
</li>
<li>
<p><img alt="add" src="/images/add.jpg" /> Added missing generation of areas for empty grid units in tables with collapsing border model. Committed by JM.</p>
@@ -519,40 +519,40 @@ Committed by AD. Thanks to rogov.AT.deve
<p><img alt="add" src="/images/add.jpg" /> Added minimal support for integer keep values on the various keep properties on block-level FOs. For now, all integer values are treated the same (i.e. without strength distinction). Using integers allows to avoid overflows that can happen when "always" is used extensively. Committed by JM.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: having a special page-master for the last page caused loss of content when normal blocks were mixed with blocks spanning all columns. Committed by VH. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46486">46486</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: having a special page-master for the last page caused loss of content when normal blocks were mixed with blocks spanning all columns. Committed by VH. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46486">46486</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: value of conditional space not always taken into account in the calculation of a tableâs height. Committed by VH. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48082">48082</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: value of conditional space not always taken into account in the calculation of a tableâs height. Committed by VH. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48082">48082</a>.</p>
</li>
<li>
<p><img alt="fix" src="/images/fix.jpg" /> Fixed handling of percentage values for provisional-label-separation. Committed by VH.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Fixed handling of percentage values for provisional-distance-between-starts. Committed by VH. Thanks to Jonathan Levinson. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47835">47835</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Fixed handling of percentage values for provisional-distance-between-starts. Committed by VH. Thanks to Jonathan Levinson. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47835">47835</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: The cells of a table inside a marker were duplicated at every marker retrieval. Committed by VH. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47101">47101</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: The cells of a table inside a marker were duplicated at every marker retrieval. Committed by VH. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47101">47101</a>.</p>
</li>
<li>
<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: footnotes occurring within the forced height of a table row did not appear on the output Committed by VH.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Fixed a bug when combining a forced break with a "last" page-master. The restart of the algorithm would start at the index of the penalty corresponding to the last page-break. This has been changed to the index of the first element after the last page-break. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46489">46489</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Fixed a bug when combining a forced break with a "last" page-master. The restart of the algorithm would start at the index of the penalty corresponding to the last page-break. This has been changed to the index of the first element after the last page-break. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46489">46489</a>.</p>
</li>
<li>
<p><img alt="fix" src="/images/fix.jpg" /> Fixed BPD trait and border painting for leaders with leader-pattern="space" (and similar cases). Committed by JM.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Fixed fo:instream-foreign-object inside fo:marker. Committed by JM. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45306">45306</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Fixed fo:instream-foreign-object inside fo:marker. Committed by JM. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45306">45306</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Fixed a bug when combining break-before with a span change. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46240">46240</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Fixed a bug when combining break-before with a span change. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46240">46240</a>.</p>
</li>
<li>
<p><img alt="fix" src="/images/fix.jpg" /> Fixed a problem where the BPD or a block area could be wrong if there is a nested, absolutely positioned area (for example a block-container). Committed by JM.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Bugzilla 40798: A conditional-page-master-reference with page-position="last" qualifies for a first page, if it is also the last. Additionally: also added support for page-position="only". Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40798">40798</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Bugzilla 40798: A conditional-page-master-reference with page-position="last" qualifies for a first page, if it is also the last. Additionally: also added support for page-position="only". Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40798">40798</a>.</p>
</li>
<li>
<p><img alt="fix" src="/images/fix.jpg" /> Fixed the source for a division by zero when the content of an fo:leader with leader-pattern="use-content" collapses to zero width during layout. Committed by JM.</p>
@@ -561,7 +561,7 @@ Committed by AD. Thanks to rogov.AT.deve
<p><img alt="fix" src="/images/fix.jpg" /> Fixed ID resolution for nested bookmarks with duplicated IDs. Committed by JM.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Added LayoutManagerMapping.registerMaker() to make registration of custom layout managers easier. Committed by JM. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45470">45470</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Added LayoutManagerMapping.registerMaker() to make registration of custom layout managers easier. Committed by JM. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45470">45470</a>.</p>
</li>
<li>
<p><img alt="fix" src="/images/fix.jpg" /> Fixed absolute positioning of block-containers when specified using right and bottom instead of left and top. Committed by LF.</p>
@@ -570,19 +570,19 @@ Committed by AD. Thanks to rogov.AT.deve
<p><img alt="fix" src="/images/fix.jpg" /> Fixed an inconsistency in footnote handling that led to unnecessary empty areas in pages whose last normal line contains footnotes when the page bpd is not the same for all pages. Committed by LF.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Added support for page-number-citation and page-number-citation-last of fo:inline. Corrected behavior for page-number-citation-last of fo:block: forward references now properly resolved. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44794">44794</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Added support for page-number-citation and page-number-citation-last of fo:inline. Corrected behavior for page-number-citation-last of fo:block: forward references now properly resolved. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44794">44794</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Added support for the "id" attribute on fo:wrappers when used as a child of the fo:flow. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42423">42423</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Added support for the "id" attribute on fo:wrappers when used as a child of the fo:flow. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42423">42423</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Fixed a ClassCastException when using an fo:wrapper as a child of an fo:block-container. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41500">41500</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Fixed a ClassCastException when using an fo:wrapper as a child of an fo:block-container. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41500">41500</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Fixed a regression introduced by the fix for <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=44286">Bugzilla 44286</a> . Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42703">42703</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Fixed a regression introduced by the fix for <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=44286">Bugzilla 44286</a>. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42703">42703</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Activated min-height/max-height and min-width/max-width properties. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43591">43591</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Activated min-height/max-height and min-width/max-width properties. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43591">43591</a>.</p>
</li>
</ul>
<h3 id="changes-to-renderers-output-formats-wzxhzdk16wzxhzdk17">Changes to Renderers (Output Formats) <a id="Renderers_1.0"></a></h3>
@@ -591,13 +591,13 @@ Committed by AD. Thanks to rogov.AT.deve
<p><img alt="add" src="/images/add.jpg" /> AFP Output: Added enhanced dithering functionality for images that are converted to bi-level images. Committed by JM.</p>
</li>
<li>
-<p><img alt="add" src="/images/add.jpg" /> Initial support for CID-keyed double-byte fonts (Type 0) in AFP output. Committed by JM. Thanks to Peter Hancock. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48567">48567</a> .</p>
+<p><img alt="add" src="/images/add.jpg" /> Initial support for CID-keyed double-byte fonts (Type 0) in AFP output. Committed by JM. Thanks to Peter Hancock. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48567">48567</a>.</p>
</li>
<li>
<p><img alt="add" src="/images/add.jpg" /> Added possibility to customize PDF tagging via the âroleâ property. Committed by VH.</p>
</li>
<li>
-<p><img alt="add" src="/images/add.jpg" /> Added basic accessibility and Tagged PDF support. Committed by JM,VH. Thanks to Jost Klopfstein. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46705">46705</a> .</p>
+<p><img alt="add" src="/images/add.jpg" /> Added basic accessibility and Tagged PDF support. Committed by JM,VH. Thanks to Jost Klopfstein. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46705">46705</a>.</p>
</li>
<li>
<p><img alt="add" src="/images/add.jpg" /> Added support for encoding CMYK bitmap images (IOCA FS45) and TIFF images as embedded objects. Committed by JM.</p>
@@ -612,7 +612,7 @@ Committed by AD. Thanks to rogov.AT.deve
<p><img alt="add" src="/images/add.jpg" /> AFP Output: Added support for IMM Extension on fo:simple-page-master. Committed by CB.</p>
</li>
<li>
-<p><img alt="add" src="/images/add.jpg" /> Added an initial set of extensions for prepress support (fox:bleed, fox:crop-offset, fox:crop-box and fox:scale). This is currently supported only by PDF and Java2D renderers. Committed by JM. Thanks to Peter Coppens. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47311">47311</a> .</p>
+<p><img alt="add" src="/images/add.jpg" /> Added an initial set of extensions for prepress support (fox:bleed, fox:crop-offset, fox:crop-box and fox:scale). This is currently supported only by PDF and Java2D renderers. Committed by JM. Thanks to Peter Coppens. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47311">47311</a>.</p>
</li>
<li>
<p><img alt="add" src="/images/add.jpg" /> PCL Output: Added support for specifying the output bin. Committed by JM.</p>
@@ -639,7 +639,7 @@ Committed by AD.</p>
<p><img alt="add" src="/images/add.jpg" /> Added setting to enable dithered painting of filled rectangles in AFP and PCL. Committed by JM.</p>
</li>
<li>
-<p><img alt="add" src="/images/add.jpg" /> Added a custom text painter for rendering SVG text using text operators when rendering to PostScript or EPS. Text is no longer painted as shapes, thus creating much smaller files. Committed by JM. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47000">47000</a> .</p>
+<p><img alt="add" src="/images/add.jpg" /> Added a custom text painter for rendering SVG text using text operators when rendering to PostScript or EPS. Text is no longer painted as shapes, thus creating much smaller files. Committed by JM. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47000">47000</a>.</p>
</li>
<li>
<p><img alt="add" src="/images/add.jpg" /> AFP Output: Tag Logical Element (TLE) is now also allowed on fo:page-sequence (page group level). Committed by JM.</p>
@@ -666,31 +666,31 @@ Committed by AD.</p>
<p><img alt="add" src="/images/add.jpg" /> AFP Output: Native image embedding support (e.g. JPEG, GIF, TIFF) using ObjectContainer and a MOD:CA Registry implementation. Committed by AC.</p>
</li>
<li>
-<p><img alt="add" src="/images/add.jpg" /> Added PDF /Launch action: references to URIs using the file:// protocol will now generate a /Launch action as opposed to a more general /URI (which doesn't yield the expected result for this protocol). Committed by AD. Thanks to Alexander Stamenov. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45113">45113</a> .</p>
+<p><img alt="add" src="/images/add.jpg" /> Added PDF /Launch action: references to URIs using the file:// protocol will now generate a /Launch action as opposed to a more general /URI (which doesn't yield the expected result for this protocol). Committed by AD. Thanks to Alexander Stamenov. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45113">45113</a>.</p>
</li>
<li>
-<p><img alt="add" src="/images/add.jpg" /> PDF Output: Added support for handling 16-bit alpha channel. They are currently converted to 8 bits. Committed by JM. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45795">45795</a> .</p>
+<p><img alt="add" src="/images/add.jpg" /> PDF Output: Added support for handling 16-bit alpha channel. They are currently converted to 8 bits. Committed by JM. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45795">45795</a>.</p>
</li>
<li>
<p><img alt="add" src="/images/add.jpg" /> Added PDF encryption parameter support in configuration. Committed by AC.</p>
</li>
<li>
-<p><img alt="add" src="/images/add.jpg" /> Added a PCL-specific extension attribute on simple-page-master for controlling the simplex/duplex mode. Committed by JM. Thanks to Martin Edge. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45115">45115</a> .</p>
+<p><img alt="add" src="/images/add.jpg" /> Added a PCL-specific extension attribute on simple-page-master for controlling the simplex/duplex mode. Committed by JM. Thanks to Martin Edge. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45115">45115</a>.</p>
</li>
<li>
-<p><img alt="add" src="/images/add.jpg" /> Add partial support for the "show-destination" property on fo:basic-link (PDF output only; see limitations on the compliance page) Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44634">44634</a> .</p>
+<p><img alt="add" src="/images/add.jpg" /> Add partial support for the "show-destination" property on fo:basic-link (PDF output only; see limitations on the compliance page) Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44634">44634</a>.</p>
</li>
<li>
<p><img alt="add" src="/images/add.jpg" /> Added support for rendering pages using JPS (Java Printing System). See new example: examples/embedding/java/ExamplesFO2JPSPrint.java Committed by JM.</p>
</li>
<li>
-<p><img alt="add" src="/images/add.jpg" /> Restored ability to specify from/to and odd/even pages as well as the number of copies for printing from the command-line. Committed by JM. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41687">41687</a> .</p>
+<p><img alt="add" src="/images/add.jpg" /> Restored ability to specify from/to and odd/even pages as well as the number of copies for printing from the command-line. Committed by JM. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41687">41687</a>.</p>
</li>
<li>
-<p><img alt="add" src="/images/add.jpg" /> Added ability to pass a preconfigured PrinterJob instance to the PrintRenderer via the rendering options map. Committed by JM. Thanks to Antti Karanta. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44678">44678</a> .</p>
+<p><img alt="add" src="/images/add.jpg" /> Added ability to pass a preconfigured PrinterJob instance to the PrintRenderer via the rendering options map. Committed by JM. Thanks to Antti Karanta. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44678">44678</a>.</p>
</li>
<li>
-<p><img alt="add" src="/images/add.jpg" /> Added a public accessor for reference to the current page to PDFGraphics2D. Committed by JM. Thanks to Yegor Kozlov. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44743">44743</a> .</p>
+<p><img alt="add" src="/images/add.jpg" /> Added a public accessor for reference to the current page to PDFGraphics2D. Committed by JM. Thanks to Yegor Kozlov. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44743">44743</a>.</p>
</li>
<li>
<p><img alt="fix" src="/images/fix.jpg" /> AFP Output: Fixed positioning of Java2D-based images (when GOCA is enabled). Committed by JM.</p>
@@ -699,7 +699,7 @@ Committed by AD.</p>
<p><img alt="fix" src="/images/fix.jpg" /> AFP Output: Fix for bitmap images inside an SVG or G2D graphic (printer errors) and positioning fix for bitmaps from G2D graphics. Committed by JM.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Fix for AWT viewer to correctly track page numbers in continuous display mode. Committed by JM. Thanks to Richard Wheeldon. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42306">42306</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Fix for AWT viewer to correctly track page numbers in continuous display mode. Committed by JM. Thanks to Richard Wheeldon. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42306">42306</a>.</p>
</li>
<li>
<p><img alt="fix" src="/images/fix.jpg" /> Bugfix for formatting of floating point numbers which could lead to invalid PDFs. Committed by JM.</p>
@@ -708,37 +708,37 @@ Committed by AD.</p>
<p><img alt="fix" src="/images/fix.jpg" /> Added a save/restoreGraphicsState pair for the initial coordinate system in PDF output for easier post-processing. Committed by JM.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Bugfix for color model in IOCA IDE structure parameter for 4- and 8-bit grayscale images. Committed by JM. Thanks to Peter Hancock. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48696">48696</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Bugfix for color model in IOCA IDE structure parameter for 4- and 8-bit grayscale images. Committed by JM. Thanks to Peter Hancock. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48696">48696</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: AFP Renderer: Respect image color settings for svg Committed by CB. Thanks to Peter Hancock. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48237">48237</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: AFP Renderer: Respect image color settings for svg Committed by CB. Thanks to Peter Hancock. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48237">48237</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: AFP Renderer: Page Overlays not generated when using Intermediate Format Committed by CB. Thanks to Venkat Reddy. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48376">48376</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: AFP Renderer: Page Overlays not generated when using Intermediate Format Committed by CB. Thanks to Venkat Reddy. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48376">48376</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: AFP Renderer: Underline is incorrectly placed when reference-orientation != 0 Committed by CB. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48456">48456</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: AFP Renderer: Underline is incorrectly placed when reference-orientation != 0 Committed by CB. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48456">48456</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: AFP Renderer: Page Segments not positioned correctly when reference-orientation != 0 Committed by CB. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48453">48453</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: AFP Renderer: Page Segments not positioned correctly when reference-orientation != 0 Committed by CB. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48453">48453</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: AFP Renderer: AttributeQualifier Triplet occurs before TLE Value. Committed by CB. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48290">48290</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: AFP Renderer: AttributeQualifier Triplet occurs before TLE Value. Committed by CB. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48290">48290</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Bugfix in AFP output: fixed flags in GOCA GBAR order. Committed by JM. Thanks to D.W. Harks. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48048">48048</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Bugfix in AFP output: fixed flags in GOCA GBAR order. Committed by JM. Thanks to D.W. Harks. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48048">48048</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Bugfix in AFP output: rounding error when computing the CMYK components of a color. Committed by VH. Thanks to Harald G. Henne. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48185">48185</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Bugfix in AFP output: rounding error when computing the CMYK components of a color. Committed by VH. Thanks to Harald G. Henne. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48185">48185</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> BugFix: Maintain valid AFP by providing TLE truncation on Attribute Value Triplet values that are greater than 250 chars in length. Committed by AC. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47941">47941</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> BugFix: Maintain valid AFP by providing TLE truncation on Attribute Value Triplet values that are greater than 250 chars in length. Committed by AC. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47941">47941</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Dithered Background Shading can produce illegal AFP if objects are very small Committed by CB. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47694">47694</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Dithered Background Shading can produce illegal AFP if objects are very small Committed by CB. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47694">47694</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: Error while writing TLE's attribute qualifier in the output. Committed by AD. Thanks to Bharat Attaluri. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47508">47508</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: Error while writing TLE's attribute qualifier in the output. Committed by AD. Thanks to Bharat Attaluri. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47508">47508</a>.</p>
</li>
<li>
<p><img alt="fix" src="/images/fix.jpg" /> Bugfix: support justified text in AFP Renderer (already working in AFP Painter) Committed by CB.</p>
@@ -750,16 +750,16 @@ Committed by AD.</p>
<p><img alt="fix" src="/images/fix.jpg" /> Fixed a bug that left the PrintRenderer unconfigured even if a configuration was specified for "application/X-fop-print". Committed by JM.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Fixed the handling of CMYK colors in PDFGraphics2D. Committed by JM. Thanks to Yegor Kozlov. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46882">46882</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Fixed the handling of CMYK colors in PDFGraphics2D. Committed by JM. Thanks to Yegor Kozlov. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46882">46882</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> AFP Fonts: Fixed interpretation of metric for fonts with fixed metrics and made sure all repeating groups in FNP (Font Position) are processed. Committed by JM. Thanks to Emil Maskovsky. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45342">45342</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> AFP Fonts: Fixed interpretation of metric for fonts with fixed metrics and made sure all repeating groups in FNP (Font Position) are processed. Committed by JM. Thanks to Emil Maskovsky. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45342">45342</a>.</p>
</li>
<li>
<p><img alt="fix" src="/images/fix.jpg" /> Fixed black backgrounds occurring for transparent images in PCL output. Committed by JM.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Fixed bug that caused AFP Renderer Extensions to be ignored. Committed by CB. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46369">46369</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Fixed bug that caused AFP Renderer Extensions to be ignored. Committed by CB. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46369">46369</a>.</p>
</li>
<li>
<p><img alt="fix" src="/images/fix.jpg" /> Fixed a multi-threading issue when rendering SVG. Committed by JM.</p>
@@ -768,7 +768,7 @@ Committed by AD.</p>
<p><img alt="fix" src="/images/fix.jpg" /> PDF Output: Made sure the XMP Metadata stream is never compressed. Committed by JM.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Fix for table handling in RTF output, so the output works with OpenOffice and AbiWord, too. Committed by JM. Thanks to Pavel Kysilka. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45616">45616</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Fix for table handling in RTF output, so the output works with OpenOffice and AbiWord, too. Committed by JM. Thanks to Pavel Kysilka. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45616">45616</a>.</p>
</li>
<li>
<p><img alt="fix" src="/images/fix.jpg" /> Fixed text stroking in SVG when the stroke-width is zero. Committed by JM.</p>
@@ -777,13 +777,13 @@ Committed by AD.</p>
<p><img alt="fix" src="/images/fix.jpg" /> Fixed border trait parsing for the area tree XML when CMYK or ICC colors were used. Committed by JM.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> Fixed generation of "fonttbl" for RTF output to fix loading problem with AbiWord. Committed by JM. Thanks to Pavel Kysilka. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45606">45606</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> Fixed generation of "fonttbl" for RTF output to fix loading problem with AbiWord. Committed by JM. Thanks to Pavel Kysilka. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45606">45606</a>.</p>
</li>
<li>
-<p><img alt="fix" src="/images/fix.jpg" /> PCL Renderer: Improved page format selection so it doesn't interfere with duplex printing. Committed by JM. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43650">43650</a> .</p>
+<p><img alt="fix" src="/images/fix.jpg" /> PCL Renderer: Improved page format selection so it doesn't interfere with duplex printing. Committed by JM. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43650">43650</a>.</p>
</li>
<li>
-<p><img alt="update" src="/images/update.jpg" /> PDFGraphics2D.writeClip doesn't generate a clip command anymore when the clip path is empty. Committed by JM. Thanks to Francois Fernandes. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47031">47031</a> .</p>
+<p><img alt="update" src="/images/update.jpg" /> PDFGraphics2D.writeClip doesn't generate a clip command anymore when the clip path is empty. Committed by JM. Thanks to Francois Fernandes. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47031">47031</a>.</p>
</li>
<li>
<p><img alt="update" src="/images/update.jpg" /> When a JPEG image is embedded, an optionally embedded color profile is filtered out as it's already embedded separately in the PDF file. Committed by JM.</p>
Modified: websites/staging/xmlgraphics/trunk/content/fop/1.0/compiling.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/1.0/compiling.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/1.0/compiling.html Wed Dec 5 08:23:47 2012
@@ -351,7 +351,7 @@ $(document).ready(function () {
<h3 id="classpath-wzxhzdk8wzxhzdk9">CLASSPATH <a id="env-classpath"></a></h3>
<p>There is generally no need to setup a classpath. All libraries needed to compile FOP are included in the source distribution and are referenced by the build script. You will only need to adjust the classpath if you build FOP in some other way. See the build script build.xml for details.</p>
<h3 id="java_home-wzxhzdk10wzxhzdk11">JAVA_HOME <a id="env-java-home"></a></h3>
-<p>The build script uses <a href="http://ant.apache.org/">Apache Ant</a> , a popular Java-based build tool, which usually requires that the environment variable JAVA_HOME point to your local JDK root directory. This is true even if you use JDK 1.4 or above, which normally does not need this setting.</p>
+<p>The build script uses <a href="http://ant.apache.org/">Apache Ant</a>, a popular Java-based build tool, which usually requires that the environment variable JAVA_HOME point to your local JDK root directory. This is true even if you use JDK 1.4 or above, which normally does not need this setting.</p>
<h3 id="apache-ant-wzxhzdk12wzxhzdk13">Apache Ant <a id="env-ant"></a></h3>
<p><a href="http://ant.apache.org/">Apache Ant</a> (Version 1.7 or later) must be installed in order to build FOP. Following best practices we don't include Ant with FOP anymore. You can find the <a href="http://ant.apache.org/manual/">instructions to install Ant in the Ant manual</a> on the web.</p>
<h2 id="run-the-build-script-wzxhzdk14wzxhzdk15">Run the Build Script <a id="build-script"></a></h2>
@@ -362,13 +362,13 @@ ant -projecthelp
The most useful targets are:</p>
<ul>
<li>
-<p><strong>package</strong> : Generates the JAR files (default). This is the normal build that produces a jar file usable for running FOP.</p>
+<p><strong>package</strong>: Generates the JAR files (default). This is the normal build that produces a jar file usable for running FOP.</p>
</li>
<li>
-<p><strong>clean</strong> : Cleans the build directory. This is useful for making sure that any build errors are cleaned up before starting a new build. It should not ordinarily be needed, but may be helpful if you are having problems with the build process itself.</p>
+<p><strong>clean</strong>: Cleans the build directory. This is useful for making sure that any build errors are cleaned up before starting a new build. It should not ordinarily be needed, but may be helpful if you are having problems with the build process itself.</p>
</li>
<li>
-<p><strong>javadocs</strong> : Creates the FOP API documentation.A minimum JDK version of 1.4.2 is required for generating the javadocs.</p>
+<p><strong>javadocs</strong>: Creates the FOP API documentation.A minimum JDK version of 1.4.2 is required for generating the javadocs.</p>
</li>
</ul>
<p>To run the build:
Modified: websites/staging/xmlgraphics/trunk/content/fop/1.0/configuration.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/1.0/configuration.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/1.0/configuration.html Wed Dec 5 08:23:47 2012
@@ -349,10 +349,10 @@ $(document).ready(function () {
<p>After creating your configuration file, you must tell FOP how to find it:</p>
<ul>
<li>
-<p>If running FOP from the command-line, see the "-c" command-line option in <a href="running.html">Running FOP</a> .</p>
+<p>If running FOP from the command-line, see the "-c" command-line option in <a href="running.html">Running FOP</a>.</p>
</li>
<li>
-<p>If running FOP as an embedded application, see <a href="embedding.html#config-external">Embedding, Using a Configuration File</a> .</p>
+<p>If running FOP as an embedded application, see <a href="embedding.html#config-external">Embedding, Using a Configuration File</a>.</p>
</li>
</ul>
<p>See <a href="embedding.html#config-internal">Setting the Configuration Programmatically</a> for instructions on how to do so in an embedded environment.</p>
@@ -520,7 +520,7 @@ $(document).ready(function () {
</pre></div>
-<p>The details on the font configuration can be found on the separate <a href="fonts.html">Fonts</a> page. Note especially the section entitled <a href="fonts.html#register">Register Fonts with FOP</a> .</p>
+<p>The details on the font configuration can be found on the separate <a href="fonts.html">Fonts</a> page. Note especially the section entitled <a href="fonts.html#register">Register Fonts with FOP</a>.</p>
<h3 id="special-settings-for-the-pdf-renderer-wzxhzdk21wzxhzdk22">Special Settings for the PDF Renderer <a id="pdf-renderer"></a></h3>
<p>The configuration element for the PDF renderer contains two elements. One is for the font configuration (please follow the link above) and one is for the "filter list". The filter list controls how the individual objects in a PDF file are encoded. By default, all objects get "flate" encoded (i.e. simply compressed with the same algorithm that is also used in ZIP files). Most users don't need to change that setting. For debugging purposes, it may be desired not to compress the internal objects at all so the generated PDF commands can be read. In that case, you can simply use the following filter list. The second filter list (type="image") ensures that all images still get compressed but also ASCII-85 encoded so the produced PDF file is still easily readable in a text editor.</p>
<div class="codehilite"><pre><span class="nt"><renderer</span> <span class="na">mime=</span><span class="s">"application/pdf"</span><span class="nt">></span>
Modified: websites/staging/xmlgraphics/trunk/content/fop/1.0/embedding.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/1.0/embedding.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/1.0/embedding.html Wed Dec 5 08:23:47 2012
@@ -413,7 +413,7 @@ We recently changed FOP's outer API to w
<p>If you're not totally familiar with JAXP Transformers, please have a look at the <a href="#examples">Embedding examples</a> below. The section contains examples for all sorts of use cases. If you look at all of them in turn you should be able to see the patterns in use and the flexibility this approach offers without adding too much complexity.</p>
<p>This may look complicated at first, but it's really just the combination of an XSL transformation and a FOP run. It's also easy to comment out the FOP part for debugging purposes, for example when you're tracking down a bug in your stylesheet. You can easily write the XSL-FO output from the XSL transformation to a file to check if that part generates the expected output. An example for that can be found in the <a href="#examples">Embedding examples</a> (See "ExampleXML2FO").</p>
<h3 id="logging-wzxhzdk30wzxhzdk31">Logging <a id="basic-logging"></a></h3>
-<p>Logging is now a little different than it was in FOP 0.20.5. We've switched from Avalon Logging to <a href="http://commons.apache.org/logging/">Jakarta Commons Logging</a> . While with Avalon Logging the loggers were directly given to FOP, FOP now retrieves its logger(s) through a statically available LogFactory. This is similar to the general pattern that you use when you work with Apache Log4J directly, for example. We call this "static logging" (Commons Logging, Log4J) as opposed to "instance logging" (Avalon Logging). This has a consequence: You can't give FOP a logger for each processing run anymore. The log output of multiple, simultaneously running FOP instances is sent to the same logger.</p>
+<p>Logging is now a little different than it was in FOP 0.20.5. We've switched from Avalon Logging to <a href="http://commons.apache.org/logging/">Jakarta Commons Logging</a>. While with Avalon Logging the loggers were directly given to FOP, FOP now retrieves its logger(s) through a statically available LogFactory. This is similar to the general pattern that you use when you work with Apache Log4J directly, for example. We call this "static logging" (Commons Logging, Log4J) as opposed to "instance logging" (Avalon Logging). This has a consequence: You can't give FOP a logger for each processing run anymore. The log output of multiple, simultaneously running FOP instances is sent to the same logger.</p>
<p>By default, <a href="http://commons.apache.org/logging/">Jakarta Commons Logging</a> uses JDK logging (available in JDKs 1.4 or higher) as its backend. You can configure Commons Logging to use an alternative backend, for example Log4J. Please consult the <a href="http://commons.apache.org/logging/">documentation for Jakarta Commons Logging</a> on how to configure alternative backends.</p>
<p>As a result of the above we differentiate between two kinds of "logging":</p>
<ul>
@@ -424,7 +424,7 @@ We recently changed FOP's outer API to w
<p><a href="events.html">User/Integrator-oriented feedback</a> (NEW!)</p>
</li>
</ul>
-<p>The use of "feedback" instead of "logging" is intentional. Most people were using log output as a means to get feedback from events within FOP. Therefore, FOP now includes an <code>event</code> package which can be used to receive feedback from the layout engine and other components within FOP <strong>per rendering run</strong> . This feedback is not just some text but event objects with parameters so these events can be interpreted by code. Of course, there is a facility to turn these events into normal human-readable messages. For details, please read on on the <a href="events.html">Events page</a> . This leaves normal logging to be mostly a thing used by the FOP developers although anyone can surely activate certain logging categories but the feedback from the loggers won't be separated by processing runs. If this is required, the <a href="events.html">Events subsystem</a> is the right approach.</p>
+<p>The use of "feedback" instead of "logging" is intentional. Most people were using log output as a means to get feedback from events within FOP. Therefore, FOP now includes an <code>event</code> package which can be used to receive feedback from the layout engine and other components within FOP <strong>per rendering run</strong>. This feedback is not just some text but event objects with parameters so these events can be interpreted by code. Of course, there is a facility to turn these events into normal human-readable messages. For details, please read on on the <a href="events.html">Events page</a>. This leaves normal logging to be mostly a thing used by the FOP developers although anyone can surely activate certain logging categories but the feedback from the loggers won't be separated by processing runs. If this is required, the <a href="events.html">Events subsystem</a> is the right approach.</p>
<h3 id="processing-xsl-fo-wzxhzdk32wzxhzdk33">Processing XSL-FO <a id="render"></a></h3>
<p>Once the Fop instance is set up, call <code>getDefaultHandler()</code> to obtain a SAX DefaultHandler instance to which you can send the SAX events making up the XSL-FO document you'd like to render. FOP processing starts as soon as the DefaultHandler's <code>startDocument()</code> method is called. Processing stops again when the DefaultHandler's <code>endDocument()</code> method is called. Please refer to the basic usage pattern shown above to render a simple XSL-FO document.</p>
<h3 id="processing-xsl-fo-generated-from-xmlxslt-wzxhzdk34wzxhzdk35">Processing XSL-FO generated from XML+XSLT <a id="render-with-xslt"></a></h3>
@@ -460,7 +460,7 @@ We recently changed FOP's outer API to w
<p><strong>Java Objects:</strong> Please have a look at the <a href="#examples">Embedding examples</a> which contain an example for this.</p>
</li>
</ul>
-<p>There are a variety of upstream data manipulations possible. For example, you may have a DOM and an XSL stylesheet; or you may want to set variables in the stylesheet. Interface documentation and some cookbook solutions to these situations are provided in <a href="http://xml.apache.org/xalan-j/usagepatterns.html">Xalan Basic Usage Patterns</a> .</p>
+<p>There are a variety of upstream data manipulations possible. For example, you may have a DOM and an XSL stylesheet; or you may want to set variables in the stylesheet. Interface documentation and some cookbook solutions to these situations are provided in <a href="http://xml.apache.org/xalan-j/usagepatterns.html">Xalan Basic Usage Patterns</a>.</p>
<h2 id="configuring-apache-fop-programmatically-wzxhzdk38wzxhzdk39">Configuring Apache FOP Programmatically <a id="config-internal"></a></h2>
<p>Apache FOP provides two levels on which you can customize FOP's behaviour: the FopFactory and the user agent.</p>
<h3 id="customizing-the-fopfactory-wzxhzdk40wzxhzdk41">Customizing the FopFactory <a id="fop-factory"></a></h3>
@@ -479,7 +479,7 @@ The <strong>hyphenation base URL</strong
<p>-
-Disable <strong>strict validation</strong> . When disabled FOP is less strict about the rules established by the XSL-FO specification. Example:</p>
+Disable <strong>strict validation</strong>. When disabled FOP is less strict about the rules established by the XSL-FO specification. Example:</p>
<div class="codehilite"><pre><span class="sb">`fopFactory.setStrictValidation(false);`</span>
</pre></div>
@@ -497,7 +497,7 @@ Set the <strong>source resolution</stron
<p>-
-Manually add an <strong>ElementMapping instance</strong> . If you want to supply a special FOP extension you can give the instance to the FOUserAgent. Normally, the FOP extensions can be automatically detected (see the documentation on extension for more info). Example:</p>
+Manually add an <strong>ElementMapping instance</strong>. If you want to supply a special FOP extension you can give the instance to the FOUserAgent. Normally, the FOP extensions can be automatically detected (see the documentation on extension for more info). Example:</p>
<div class="codehilite"><pre><span class="sb">`fopFactory.addElementMapping(myElementMapping); // myElementMapping is a org.apache.fop.fo.ElementMapping`</span>
</pre></div>
@@ -569,13 +569,13 @@ Set the <strong>target resolution</stron
<p>-
-Set <strong>your own Renderer instance</strong> . If you want to supply your own renderer or configure a Renderer in a special way you can give the instance to the FOUserAgent. Normally, the Renderer instance is created by FOP. Example:</p>
+Set <strong>your own Renderer instance</strong>. If you want to supply your own renderer or configure a Renderer in a special way you can give the instance to the FOUserAgent. Normally, the Renderer instance is created by FOP. Example:</p>
<div class="codehilite"><pre><span class="sb">`userAgent.setRendererOverride(myRenderer); // myRenderer is an org.apache.fop.render.Renderer`</span>
</pre></div>
<p>-
-Set <strong>your own FOEventHandler instance</strong> . If you want to supply your own FOEventHandler or configure an FOEventHandler subclass in a special way you can give the instance to the FOUserAgent. Normally, the FOEventHandler instance is created by FOP. Example:</p>
+Set <strong>your own FOEventHandler instance</strong>. If you want to supply your own FOEventHandler or configure an FOEventHandler subclass in a special way you can give the instance to the FOUserAgent. Normally, the FOEventHandler instance is created by FOP. Example:</p>
<div class="codehilite"><pre><span class="sb">`userAgent.setFOEventHandlerOverride(myFOEventHandler); // myFOEventHandler is an org.apache.fop.fo.FOEventHandler`</span>
</pre></div>
@@ -604,16 +604,16 @@ Set a <strong>URIResolver</strong> for c
</pre></div>
-<p>The layout of the configuration file is described on the <a href="configuration.html">Configuration page</a> .</p>
+<p>The layout of the configuration file is described on the <a href="configuration.html">Configuration page</a>.</p>
<h2 id="hints-wzxhzdk46wzxhzdk47">Hints <a id="hints"></a></h2>
<h3 id="object-reuse-wzxhzdk48wzxhzdk49">Object reuse <a id="object-reuse"></a></h3>
<p>Fop instances shouldn't (and can't) be reused. Please recreate Fop and FOUserAgent instances for each rendering run using the FopFactory. This is a cheap operation as all reusable information is held in the FopFactory. That's why it's so important to reuse the FopFactory instance.</p>
<h3 id="awt-issues-wzxhzdk50wzxhzdk51">AWT issues <a id="awt"></a></h3>
<p>If your XSL-FO files contain SVG then Apache Batik will be used. When Batik is initialised it uses certain classes in <code>java.awt</code> that intialise the Java AWT classes. This means that a daemon thread is created by the JVM and on Unix it will need to connect to a DISPLAY.</p>
-<p>The thread means that the Java application may not automatically quit when finished, you will need to call <code>System.exit()</code> . These issues should be fixed in the JDK 1.4.</p>
-<p>If you run into trouble running FOP on a head-less server, please see the <a href="graphics.html#batik">notes on Batik</a> .</p>
+<p>The thread means that the Java application may not automatically quit when finished, you will need to call <code>System.exit()</code>. These issues should be fixed in the JDK 1.4.</p>
+<p>If you run into trouble running FOP on a head-less server, please see the <a href="graphics.html#batik">notes on Batik</a>.</p>
<h3 id="getting-information-on-the-rendering-process-wzxhzdk52wzxhzdk53">Getting information on the rendering process <a id="render-info"></a></h3>
-<p>To get the number of pages that were rendered by FOP you can call <code>Fop.getResults()</code> . This returns a <code>FormattingResults</code> object where you can look up the number of pages produced. It also gives you the page-sequences that were produced along with their id attribute and their numbers of pages. This is particularly useful if you render multiple documents (each enclosed by a page-sequence) and have to know the number of pages of each document.</p>
+<p>To get the number of pages that were rendered by FOP you can call <code>Fop.getResults()</code>. This returns a <code>FormattingResults</code> object where you can look up the number of pages produced. It also gives you the page-sequences that were produced along with their id attribute and their numbers of pages. This is particularly useful if you render multiple documents (each enclosed by a page-sequence) and have to know the number of pages of each document.</p>
<h2 id="improving-performance-wzxhzdk54wzxhzdk55">Improving performance <a id="performance"></a></h2>
<p>There are several options to consider:</p>
<ul>
@@ -624,7 +624,7 @@ Set a <strong>URIResolver</strong> for c
<p>Depending on the target OutputStream (in case of a FileOutputStream, but not for a ByteArrayOutputStream, for example) it may improve performance considerably if you buffer the OutputStream using a BufferedOutputStream: <code>out = new java.io.BufferedOutputStream(out);</code> <br></br>Make sure you properly close the OutputStream when FOP is finished.</p>
</li>
<li>
-<p>Cache the stylesheet. If you use the same stylesheet multiple times you can set up a JAXP <code>Templates</code> object and reuse it each time you do the XSL transformation. (More information can be found <a href="http://www.javaworld.com/javaworld/jw-05-2003/jw-0502-xsl.html">here</a> .)</p>
+<p>Cache the stylesheet. If you use the same stylesheet multiple times you can set up a JAXP <code>Templates</code> object and reuse it each time you do the XSL transformation. (More information can be found <a href="http://www.javaworld.com/javaworld/jw-05-2003/jw-0502-xsl.html">here</a>.)</p>
</li>
<li>
<p>Use an XSLT compiler like <a href="http://xml.apache.org/xalan-j/xsltc_usage.html">XSLTC</a> that comes with Xalan-J.</p>
@@ -633,7 +633,7 @@ Set a <strong>URIResolver</strong> for c
<p>Fine-tune your stylesheet to make the XSLT process more efficient and to create XSL-FO that can be processed by FOP more efficiently. Less is more: Try to make use of property inheritance where possible.</p>
</li>
<li>
-<p>You may also wish to consider trying to reduce <a href="http://xmlgraphics.apache.org/fop/trunk/running.html#memory">memory usage</a> .</p>
+<p>You may also wish to consider trying to reduce <a href="http://xmlgraphics.apache.org/fop/trunk/running.html#memory">memory usage</a>.</p>
</li>
</ul>
<h2 id="multithreading-fop-wzxhzdk56wzxhzdk57">Multithreading FOP <a id="multithreading"></a></h2>
Modified: websites/staging/xmlgraphics/trunk/content/fop/1.0/events.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/1.0/events.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/1.0/events.html Wed Dec 5 08:23:47 2012
@@ -347,7 +347,7 @@ $(document).ready(function () {
<p>With FOP's event subsystem, we'd like to close this gap again and even go further. The first point is to realize that we have two kinds of "logging". Firstly, we have the logging infrastructure for the (FOP) developer who needs to be able to enable finer log messages for certain parts of FOP to track down a certain problem. Secondly, we have the user who would like to be informed about missing images, overflowing lines or substituted fonts. These messages (or events) are targeted at less technical people and may ideally be localized (translated). Furthermore, tool and solution builders would like to integrate FOP into their own solutions. For example, an FO editor should be able to point the user to the right place where a particular problem occurred while developing a document template. Finally, some integrators would like to abort processing if a resource (an image or a font) has not been found, while others would simply continue. The event system allows to react on the
se events.</p>
<p>On this page, we won't discuss logging as such. We will show how the event subsystem can be used for various tasks. We'll first look at the event subsystem from the consumer side. Finally, the production of events inside FOP will be discussed (this is mostly interesting for FOP developers only).</p>
<h2 id="the-consumer-side-wzxhzdk12wzxhzdk13">The consumer side <a id="consumer"></a></h2>
-<p>The event subsystem is located in the <code>org.apache.fop.events</code> package and its base is the <code>Event</code> class. An instance is created for each event and is sent to a set of <code>EventListener</code> instances by the <code>EventBroadcaster</code> . An <code>Event</code> contains:</p>
+<p>The event subsystem is located in the <code>org.apache.fop.events</code> package and its base is the <code>Event</code> class. An instance is created for each event and is sent to a set of <code>EventListener</code> instances by the <code>EventBroadcaster</code>. An <code>Event</code> contains:</p>
<ul>
<li>
<p>an event ID,</p>
@@ -363,7 +363,7 @@ $(document).ready(function () {
</li>
</ul>
<p>The <code>EventFormatter</code> class can be used to translate the events into human-readable, localized messages.</p>
-<p>A full example of what is shown here can be found in the <code>examples/embedding/java/embedding/events</code> directory in the FOP distribution. The example can also be accessed <a href="http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/embedding/java/embedding/events/">via the web</a> .</p>
+<p>A full example of what is shown here can be found in the <code>examples/embedding/java/embedding/events</code> directory in the FOP distribution. The example can also be accessed <a href="http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/embedding/java/embedding/events/">via the web</a>.</p>
<h3 id="writing-an-eventlistener-wzxhzdk14wzxhzdk15">Writing an EventListener <a id="write-listener"></a></h3>
<p>The following code sample shows a very simple EventListener. It basically just sends all events to System.out (stdout) or System.err (stderr) depending on the event severity.</p>
<div class="codehilite"><pre><span class="kn">import</span> <span class="nn">org.apache.fop.events.Event</span><span class="o">;</span>
@@ -394,7 +394,7 @@ $(document).ready(function () {
</pre></div>
-<p>You can see that for every event the method <code>processEvent</code> of the <code>EventListener</code> will be called. Inside this method you can do whatever processing you would like including throwing a <code>RuntimeException</code> , if you want to abort the current processing run.</p>
+<p>You can see that for every event the method <code>processEvent</code> of the <code>EventListener</code> will be called. Inside this method you can do whatever processing you would like including throwing a <code>RuntimeException</code>, if you want to abort the current processing run.</p>
<p>The code above also shows how you can turn an event into a human-readable, localized message that can be presented to a user. The <code>EventFormatter</code> class does this for you. It provides additional methods if you'd like to explicitly specify the locale.</p>
<p>It is possible to gather all events for a whole processing run so they can be evaluated afterwards. However, care should be taken about memory consumption since the events provide references to objects inside FOP which may themselves have references to other objects. So holding on to these objects may mean that whole object trees cannot be released!</p>
<h3 id="adding-an-eventlistener-wzxhzdk16wzxhzdk17">Adding an EventListener <a id="add-listener"></a></h3>
@@ -462,8 +462,8 @@ The event package has been designed in o
<p>The <code>Event.paramsBuilder()</code> is a <a href="http://en.wikipedia.org/wiki/Fluent_interface">fluent interface</a> to help with the build-up of the parameters. You could just as well instantiate a <code>Map</code> ( <code>Map<String, Object></code> ) and fill it with values.</p>
<h3 id="the-eventproducer-interface-wzxhzdk24wzxhzdk25">The EventProducer interface <a id="event-producer"></a></h3>
-<p>To simplify event production, the event subsystem provides the <code>EventProducer</code> interface. You can create interfaces which extend <code>EventProducer</code> . These interfaces will contain one method per event to be generated. By contract, each event method must have as its first parameter a parameter named "source" (Type Object) which indicates the object that generated the event. After that come an arbitrary number of parameters of any type as needed by the event.</p>
-<p>The event producer interface does not need to have any implementation. The implementation is produced at runtime by a dynamic proxy created by <code>DefaultEventBroadcaster</code> . The dynamic proxy creates <code>Event</code> instances for each method call against the event producer interface. Each parameter (except "source") is added to the event's parameter map.</p>
+<p>To simplify event production, the event subsystem provides the <code>EventProducer</code> interface. You can create interfaces which extend <code>EventProducer</code>. These interfaces will contain one method per event to be generated. By contract, each event method must have as its first parameter a parameter named "source" (Type Object) which indicates the object that generated the event. After that come an arbitrary number of parameters of any type as needed by the event.</p>
+<p>The event producer interface does not need to have any implementation. The implementation is produced at runtime by a dynamic proxy created by <code>DefaultEventBroadcaster</code>. The dynamic proxy creates <code>Event</code> instances for each method call against the event producer interface. Each parameter (except "source") is added to the event's parameter map.</p>
<p>To simplify the code needed to get an instance of the event producer interface it is suggested to create a public inner provider class inside the interface.</p>
<p>Here's an example of such an event producer interface:</p>
<div class="codehilite"><pre><span class="kd">public</span> <span class="kd">interface</span> <span class="nc">MyEventProducer</span> <span class="kd">extends</span> <span class="n">EventProducer</span> <span class="o">{</span>
@@ -500,7 +500,7 @@ The event package has been designed in o
<p>The event model XML files are generated during build by the Ant task mentioned above when running the "resourcegen" task. So just run <code>"ant resourcegen"</code> if you receive a <code>MissingResourceException</code> at runtime indicating that <code>"event-model.xml"</code> is missing.</p>
<p>Primarily, the QDox-based collector task records the parameters' names and types. Furthermore, it extracts additional attributes embedded as Javadoc comments from the methods. At the moment, the only such attribute is "@event.severity" which indicates the default event severity (which can be changed by event listeners). The example event producer above shows the Javadocs for an event method.</p>
<p>There's one more information that is extracted from the event producer information for the event model: an optional primary exception. The first exception in the "throws" declaration of an event method is noted. It is used to throw an exception from the invocation handler if the event has an event severity of "FATAL" when all listeners have been called (listeners can update the event severity). Please note that an implementation of <code>org.apache.fop.events.EventExceptionManager$ExceptionFactory</code> has to be registered for the <code>EventExceptionManager</code> to be able to construct the exception from an event.</p>
-<p>For a given application, there can be multiple event models active at the same time. In FOP, each renderer is considered to be a plug-in and provides its own specific event model. The individual event models are provided through an <code>EventModelFactory</code> . This interface is implemented for each event model and registered through the service provider mechanism (see the <a href="#plug-ins">plug-ins section</a> for details).</p>
+<p>For a given application, there can be multiple event models active at the same time. In FOP, each renderer is considered to be a plug-in and provides its own specific event model. The individual event models are provided through an <code>EventModelFactory</code>. This interface is implemented for each event model and registered through the service provider mechanism (see the <a href="#plug-ins">plug-ins section</a> for details).</p>
<h3 id="event-severity-wzxhzdk28wzxhzdk29">Event severity <a id="event-severity"></a></h3>
<p>Four different levels of severity for events has been defined:</p>
<ol>
@@ -528,7 +528,7 @@ The event package has been designed in o
<p><strong><code>org.apache.fop.events.EventExceptionManager$ExceptionFactory</code>:</strong> Creates exceptions for events, i.e. turns an event into a specific exception.</p>
</li>
</ul>
-<p>The names in bold above are used as filenames for the service provider files that are placed in the <code>META-INF/services</code> directory. That way, they are automatically detected. This is a mechanism defined by the <a href="http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html#Service%20Provider">JAR file specification</a> .</p>
+<p>The names in bold above are used as filenames for the service provider files that are placed in the <code>META-INF/services</code> directory. That way, they are automatically detected. This is a mechanism defined by the <a href="http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html#Service%20Provider">JAR file specification</a>.</p>
<h3 id="localization-l10n-wzxhzdk32wzxhzdk33">Localization (L10n) <a id="l10n"></a></h3>
<p>One goal of the event subsystem was to have localized (translated) event messages. The <code>EventFormatter</code> class can be used to convert an event to a human-readable message. Each <code>EventProducer</code> can provide its own XML-based translation file. If there is none, a central translation file is used, called "EventFormatter.xml" (found in the same directory as the <code>EventFormatter</code> class).</p>
<p>The XML format used by the <code>EventFormatter</code> is the same as <a href="http://cocoon.apache.org/">Apache Cocoon's</a> catalog format. Here's an example:</p>
Modified: websites/staging/xmlgraphics/trunk/content/fop/1.0/extensions.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/1.0/extensions.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/1.0/extensions.html Wed Dec 5 08:23:47 2012
@@ -356,7 +356,7 @@ All extensions require the correct use o
<h3 id="pdf-bookmarks-wzxhzdk11wzxhzdk12">PDF Bookmarks <a id="bookmarks"></a></h3>
-<p>In previous versions of Apache FOP there was a <code>fox:outline</code> element which was used to create outlines in PDF files. The redesigned code makes use of the new <a href="http://www.w3.org/TR/xsl11/#fo_bookmark-tree">bookmark feature defined in the latest XSL 1.1 working draft</a> .</p>
+<p>In previous versions of Apache FOP there was a <code>fox:outline</code> element which was used to create outlines in PDF files. The redesigned code makes use of the new <a href="http://www.w3.org/TR/xsl11/#fo_bookmark-tree">bookmark feature defined in the latest XSL 1.1 working draft</a>.</p>
<h3 id="anchors-or-named-destinations-wzxhzdk13wzxhzdk14">Anchors or Named Destinations <a id="named-destinations"></a></h3>
<p>Use the fox:destination element to define "named destinations" inside a PDF document. These are useful as fragment identifiers, e.g. "http://server/document.pdf#anchor-name". fox:destination elements can be placed almost anywhere in the fo document, including a child of root, a block-level element, or an inline-level element. For the destination to actually work, it must correspond to an "id" attribute on some fo element within the document. In other words, the "id" attribute actually creates the "view" within the PDF document. The fox:destination simply gives that view an independent name.</p>
<div class="codehilite"><pre><span class="nt"><fox:destination</span> <span class="na">internal-destination=</span><span class="s">"table-of-contents"</span><span class="nt">/></span>
@@ -373,14 +373,14 @@ All extensions require the correct use o
<h3 id="foxexternal-document-wzxhzdk21wzxhzdk22">fox:external-document <a id="external-document"></a></h3>
<p>This feature is incomplete. Support for multi-page documents will be added shortly. At the moment, only single-page images will work. And this will not work with RTF output.</p>
<p>This is a proprietary extension element which allows to add whole images as pages to an FO document. For example, if you have a scanned document or a fax as multi-page TIFF file, you can append or insert this document using the <code>fox:external-document</code> element. Each page of the external document will create one full page in the target format.</p>
-<p>The <code>fox:external-document</code> element is structurally a peer to <code>fo:page-sequence</code> , so wherever you can put an <code>fo:page-sequence</code> you could also place a <code>fox:external-document</code> . Therefore, the specified contents for <code>fo:root</code> change to:</p>
+<p>The <code>fox:external-document</code> element is structurally a peer to <code>fo:page-sequence</code>, so wherever you can put an <code>fo:page-sequence</code> you could also place a <code>fox:external-document</code>. Therefore, the specified contents for <code>fo:root</code> change to:</p>
<div class="codehilite"><pre><span class="p">(</span><span class="n">layout</span><span class="o">-</span><span class="n">master</span><span class="o">-</span><span class="n">set</span><span class="p">,</span> <span class="n">declarations</span><span class="p">?,</span> <span class="n">bookmark</span><span class="o">-</span><span class="n">tree</span><span class="p">?,</span> <span class="p">(</span><span class="n">page</span><span class="o">-</span><span class="n">sequence</span><span class="o">|</span><span class="n">page</span><span class="o">-</span><span class="n">sequence</span><span class="o">-</span><span class="n">wrapper</span><span class="o">|</span><span class="n">fox:external</span><span class="o">-</span><span class="n">document</span><span class="o">|</span><span class="n">fox:destination</span><span class="p">)</span><span class="o">+</span><span class="p">)</span>
</pre></div>
<h4 id="specificationwzxhzdk23wzxhzdk24">Specification<a id="Specification"></a></h4>
<p>The <code>fox:external-document</code> extension formatting object is used to specify how to create a (sub-)sequence of pages within a document. The content of these pages comes from the individual subimages/pages of an image or paged document (for example: multi-page TIFF in the form of faxes or scanned documents, or PDF files). The formatting object creates the necessary areas to display one image per page.</p>
-<p>In terms of page numbers, the behaviour is the same as for <code>fo:page-sequence</code> . The placement of the image inside the page is similar to that of <code>fo:external-graphic</code> or <code>fo:instream-foreign-object</code> , i.e. the viewport (and therefore the page size) is defined by either the intrinsic size of the image or by the size properties that apply to this formatting object.</p>
+<p>In terms of page numbers, the behaviour is the same as for <code>fo:page-sequence</code>. The placement of the image inside the page is similar to that of <code>fo:external-graphic</code> or <code>fo:instream-foreign-object</code>, i.e. the viewport (and therefore the page size) is defined by either the intrinsic size of the image or by the size properties that apply to this formatting object.</p>
<p>Content: EMPTY</p>
<p>The following properties apply to this formatting object:</p>
<ul>
@@ -442,7 +442,7 @@ All extensions require the correct use o
<p>Datatype "page-set": Value: auto | <integer-range>, Default: "auto" which means all pages/subimages of the document. <integer-range> allows values such as "7" or "1-3"
<code>fox:external-document</code> is not suitable for concatenating FO documents. For this, XInclude is recommended.</p>
<h3 id="free-form-transformation-for-foblock-container-wzxhzdk27wzxhzdk28">Free-form Transformation for fo:block-container <a id="transform"></a></h3>
-<p>For <code>fo:block-container</code> elements whose <code>absolute-position</code> set to "absolute" or "fixed" you can use the extension attribute <code>fox:transform</code> to apply a free-form transformation to the whole block-container. The content of the <code>fox:transform</code> attribute is the same as for <a href="http://www.w3.org/TR/SVG/coords.html#TransformAttribute">SVG's transform attribute</a> . The transformation specified here is performed in addition to other implicit transformations of the block-container (resulting from top, left and other properties) and after them.</p>
+<p>For <code>fo:block-container</code> elements whose <code>absolute-position</code> set to "absolute" or "fixed" you can use the extension attribute <code>fox:transform</code> to apply a free-form transformation to the whole block-container. The content of the <code>fox:transform</code> attribute is the same as for <a href="http://www.w3.org/TR/SVG/coords.html#TransformAttribute">SVG's transform attribute</a>. The transformation specified here is performed in addition to other implicit transformations of the block-container (resulting from top, left and other properties) and after them.</p>
<p>Examples: <code>fox:transform="rotate(45)"</code> would rotate the block-container by 45 degrees clock-wise around its upper-left corner. <code>fox:transform="translate(10000,0)"</code> would move the block-container to the right by 10 points (=10000 millipoints, FOP uses millipoints internally!).
This extension attribute doesn't work for all output formats! It's currently only supported for PDF, PS and Java2D-based renderers.</p>
<h3 id="color-functions-wzxhzdk29wzxhzdk30">Color functions <a id="color-functions"></a></h3>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org