aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render
Commit message (Collapse)AuthorAgeFilesLines
* Addressed findbugs and checkstyle regressionsTemp_ImproveAccessibilityPeter Hancock2012-02-069-30/+41
| | | | | | | | | Findbugs report generated with version 1.3.9. Checkstyle report generated with version 5.5. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1240963 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup associated with rev 1236718Peter Hancock2012-01-311-8/+0
| | | | | | | Removed unused structure tree events. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1238313 13f79535-47bb-0310-9956-ffa450edef68
* Associate structure tree elements directly to render contentPeter Hancock2012-01-2712-197/+294
| | | | | | | | | | * Defer the binding of PCData to struct elems using a placeholder mechanism. * Translate text nodes to marked-content sequences in IF structure tree. * Replace ptr with structure tree element. * Re-order table footers so they appear at the end of the structure tree. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1236718 13f79535-47bb-0310-9956-ffa450edef68
* Removed the DOM representation of the structure tree.Vincent Hennebert2011-11-2417-183/+497
| | | | | | | | | | | | | | | The structure tree is now directly converted into corresponding PDF objects. When going the IF route, the structure tree is stored in the form of SAX events that will be re-played when it's time to stream them into the output. This may still change. * Extracted RFC3066 methods from XMLUtil into new LanguageTags class that can be re-used in a non-XML context. * Dropped support for accessibility in the old Area Tree XML. * Added support for the xml:lang property on fo:root, so that the global language can be set for the document without retrieving the language from the first page-sequence. * Renamed StructureTreeBuilder into more appropriate StructureTreeEventHandler (same for applicable sub-classes) * Renamed StructureTreeBuildingFOEventHandler into FO2StructureTreeConverter and added test case * Added test cases for classes in the StructureTreeEventHandler hierarchy git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1205935 13f79535-47bb-0310-9956-ffa450edef68
* Removed the FO document pre-processing step that was adding ptr and creating ↵Vincent Hennebert2011-10-242-25/+25
| | | | | | | | | | | | | | | a reduced FO tree. * Removed addPtr.xsl and reduceFOTree.xsl * Implemented Common Accessibility properties on objects that support them * Added a special implementation of FOEventHandler to build the structure tree * Added mockito library and its dependencies * Added mocks for some FO nodes and properties * Removed FOTreeUnitTester and converted it into a re-usable FODocumentParser class * Re-worked table FO test cases accordingly git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1188205 13f79535-47bb-0310-9956-ffa450edef68
* Various small fixesSimon Pepping2011-09-292-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1177228 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla#51760: PS images stored as an embedded file which has no length limit.Peter Hancock2011-09-261-24/+69
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1175764 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #51790: source file contains non-ascii characterVincent Hennebert2011-09-121-6/+0
| | | | | | | Removed @author tags git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1169766 13f79535-47bb-0310-9956-ffa450edef68
* Bugzill#51530: Improved support for EBCDIC encoded double byte fonts fo AFP.Peter Hancock2011-09-051-3/+4
| | | | | | | Submitted by: Mehdi Houshmand <med1985.at.gmail.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1165223 13f79535-47bb-0310-9956-ffa450edef68
* Improved fix for bugzilla#48062Peter Hancock2011-08-258-71/+69
| | | | | | | Bug relates to PCL painter thread safetly. Previous fix in rev 895012 worked by synchronizing methods of a static instance of Java2DFontMetrics. This fix uses a unique instance for per thread. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1161612 13f79535-47bb-0310-9956-ffa450edef68
* Added support for 128bit encryption in PDF output. Based on work by Michael ↵Vincent Hennebert2011-08-085-47/+131
| | | | | | Rubin. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1154998 13f79535-47bb-0310-9956-ffa450edef68
* Removed the lastMediumMap variable and the check to omit the IMM if it ↵Jeremias Maerki2011-07-081-5/+1
| | | | | | doesn't change. I wonder why I came up with that. This can lead, among other things, to problems when an AFP file is split. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1144351 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: select the right font to paint replacement glyphs. This used to ↵Jeremias Maerki2011-07-021-11/+23
| | | | | | paint some characters on top of each others when a font with an auxiliary encoding was active. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1142190 13f79535-47bb-0310-9956-ffa450edef68
* Fixed regression introduced by rev 1137971:Jeremias Maerki2011-06-211-7/+10
| | | | | | Bi-level images that are generated as page segments and don't need to be resampled produced garbled output because the size of the image data got set to wrong values. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1138036 13f79535-47bb-0310-9956-ffa450edef68
* Performance improvement:Jeremias Maerki2011-06-211-224/+267
| | | | | | The code is now checking re-use of an already encoded image before actually encoding it. Before, the image was encoded in every case, but only really embedded the first time. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1137971 13f79535-47bb-0310-9956-ffa450edef68
* Added an IFDocumentHandler filter for triggering rendering events. Peter Hancock2011-06-204-1/+64
| | | | | | | Created an Event that captures an end page event with the page number. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1137566 13f79535-47bb-0310-9956-ffa450edef68
* Fix checkstyle and findbugs issuesSimon Pepping2011-06-154-5/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1135995 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: alternative text not working in tagged PDF for TIFF imagesVincent Hennebert2011-05-184-80/+83
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1124394 13f79535-47bb-0310-9956-ffa450edef68
* Fix a potential NPE which can apparently happen in very exotic cases ↵Jeremias Maerki2011-04-221-1/+6
| | | | | | (actually, it rather points to a Java class library bug). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1095895 13f79535-47bb-0310-9956-ffa450edef68
* Added option to place AFP NOPs right before the end of a named page group ↵Jeremias Maerki2011-04-225-15/+148
| | | | | | (page-sequence), rather than after the start. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1095882 13f79535-47bb-0310-9956-ffa450edef68
* Added option for PostScript output to optimize for file size rather than ↵Jeremias Maerki2011-04-226-12/+103
| | | | | | | | quality. Fixed some missing PostScript command mappings. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1095878 13f79535-47bb-0310-9956-ffa450edef68
* Log image encoding times.Jeremias Maerki2011-04-221-2/+19
| | | | | | Make FindBugs happier. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1095877 13f79535-47bb-0310-9956-ffa450edef68
* Enable fox:conversion-mode="bitmap" for PDF output.Jeremias Maerki2011-04-222-4/+23
| | | | | | Release memory from Batik GVT as early as possible to break some peaks. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1095876 13f79535-47bb-0310-9956-ffa450edef68
* AFP GOCA: Added option to disable GOCA and to control text painting inside ↵Jeremias Maerki2011-04-225-18/+82
| | | | | | GOCA graphics. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1095874 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #51010: Bookmarks create useless lines in RTF Chris Bowditch2011-04-191-2/+14
| | | | | | | | Patch submitted by Max Aster git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1095086 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #51008: page-number-citation-last does not work in RTF Chris Bowditch2011-04-191-0/+27
| | | | | | | | Patch submitted by Max Aster git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1095076 13f79535-47bb-0310-9956-ffa450edef68
* Added id element to intermediate format to track the origin of content.Vincent Hennebert2011-04-185-12/+88
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1094690 13f79535-47bb-0310-9956-ffa450edef68
* Proper fix for Bugzilla 50987Vincent Hennebert2011-04-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1088973 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 50987: Fixed an issue where a link was added to the parent tree ↵Andreas L. Delmelle2011-04-031-1/+1
| | | | | | | | | instead of the related structure element. Thanks to Martin Koegler. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1088234 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 50986: Fixed an issue where invalid PDF page content was generated ↵Andreas L. Delmelle2011-04-031-1/+1
| | | | | | | | | due to incorrect ET/EMC sequences. Thanks to Martin Koegler. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1088231 13f79535-47bb-0310-9956-ffa450edef68
* Properly fix the case of unresolved bookmarks for the intermediate format: ↵Andreas L. Delmelle2011-03-271-9/+8
| | | | | | bypass serialization of the bookmarks, instead of only its action. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1085944 13f79535-47bb-0310-9956-ffa450edef68
* Fixed regression introduced by Bugzilla 50593: bookmarks pointing to a ↵Andreas L. Delmelle2011-03-261-2/+6
| | | | | | non-existing internal destination should just trigger a warning. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1085824 13f79535-47bb-0310-9956-ffa450edef68
* Renamed Viewport into InlineViewportVincent Hennebert2011-03-154-13/+13
| | | | | | | Added {@inheritDoc} comments to make Checkstyle happy git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1081822 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #49910: clipping rectangle is wrong on side-regionsVincent Hennebert2011-03-146-42/+21
| | | | | | | Partial fix that works only when the reference-orientation property is set to 0 or 180 on side-regions git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1081554 13f79535-47bb-0310-9956-ffa450edef68
* Fixing checkstyle errors and hiding fingbugs errorsSimon Pepping2011-02-181-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1071912 13f79535-47bb-0310-9956-ffa450edef68
* Fix scaling bug manifesting with source resolutions other than 72dpi.Jeremias Maerki2011-02-161-9/+35
| | | | | | Generating PDF comments for SVG only when TRACE log level is active to avoid unnecessary output that normal people will never read. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1071311 13f79535-47bb-0310-9956-ffa450edef68
* Merge from Trunk, revisions 1060235 to 1069383.Jeremias Maerki2011-02-1010-83/+133
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1069397 13f79535-47bb-0310-9956-ffa450edef68
| * Use BitmapImageUtil for converting images to bi-level images.Jeremias Maerki2011-02-075-53/+58
| | | | | | | | | | | | Allow to indirectly configure the dithering quality to be applied when converting images to bi-level images. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067881 13f79535-47bb-0310-9956-ffa450edef68
| * Bugfix: Avoid directly encoding if the sample model is not exactly right. ↵Jeremias Maerki2011-02-071-0/+9
| | | | | | | | | | | | For example, monochrome image generated by JAI (error-diffusion rasterization) use a non-packed sample model which caused badly encoded images. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067878 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla 50698: Changes after updating XGC JARAndreas L. Delmelle2011-02-012-3/+3
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1066182 13f79535-47bb-0310-9956-ffa450edef68
| * Allow afp:no-operation to be added to fo:page-sequence (page group in AFP) ↵Jeremias Maerki2011-02-012-27/+63
| | | | | | | | | | | | | | | | | | and fo:declarations (document in AFP). Includes a test case. Update QDox to avoid a bug with class private enums. Connect some older test cases into the standard test suite. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1066078 13f79535-47bb-0310-9956-ffa450edef68
* | Bugfix: don't use toString() but properly generate the color function.Jeremias Maerki2011-01-191-2/+34
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1060719 13f79535-47bb-0310-9956-ffa450edef68
* | Merge from Trunk, revisions 965390 to 1060234.Jeremias Maerki2011-01-18155-7081/+1697
|\| | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1060241 13f79535-47bb-0310-9956-ffa450edef68
| * Fix deprecation warnings; add some type safetySimon Pepping2011-01-143-6/+11
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1058988 13f79535-47bb-0310-9956-ffa450edef68
| * Add type-safe parameters to collections; replace XGC jar to benefit from new ↵Simon Pepping2011-01-045-14/+14
| | | | | | | | | | | | type-safe methods git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1055034 13f79535-47bb-0310-9956-ffa450edef68
| * Keep a reference to a pageRef string, not to the page itself; suggested by ↵Simon Pepping2010-12-232-9/+10
| | | | | | | | | | | | Alexis Giotis git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1052214 13f79535-47bb-0310-9956-ffa450edef68
| * Fix bug 50510Simon Pepping2010-12-221-0/+2
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1051874 13f79535-47bb-0310-9956-ffa450edef68
| * Partial application of patch 50245 by Mehdi HoushmandSimon Pepping2010-11-267-52/+59
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1039350 13f79535-47bb-0310-9956-ffa450edef68
| * Another go at removing all trailing whitespaceVincent Hennebert2010-11-259-13/+13
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1039179 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla #49695: Replaced magic numbers with constants from UnitConv and ↵Vincent Hennebert2010-11-234-9/+14
| | | | | | | | | | | | | | | | | | GraphicsConstants Patch submitted by Joshua Marquart (joshua dot marquart _at. firstdata .dot_ com), applied with some modifications git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1038291 13f79535-47bb-0310-9956-ffa450edef68