aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render
Commit message (Collapse)AuthorAgeFilesLines
* Buzilla #40676: Fix newly introduced findbugs warnings. Submitted by Luis ↵Glenn Adams2012-06-151-2/+2
| | | | | | Bernardo. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1350790 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #40676: Support use of ImageLoaderRawPNG decoder in order to ↵Glenn Adams2012-06-157-79/+636
| | | | | | prevent re-encoding of PNG images (and unnecssary output file bloat). Submitted by Luis Bernardo, Matthias Reischenbacher. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1350455 13f79535-47bb-0310-9956-ffa450edef68
* Eliminate javadocs warnings.Glenn Adams2012-06-0416-26/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1345838 13f79535-47bb-0310-9956-ffa450edef68
* Add version attribute to AT and IF intermediate formats. Also eliminate ↵Glenn Adams2012-05-282-6/+33
| | | | | | redundant use of reversed attribute in AT format. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1343133 13f79535-47bb-0310-9956-ffa450edef68
* Add extension to place code just before PostScript %PageTrailer. Submitted ↵Glenn Adams2012-05-275-2/+126
| | | | | | by Luis Bernardo. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1343072 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #53294: Fix invalid PostScript file being created when font-size is ↵Glenn Adams2012-05-251-1/+9
| | | | | | 0. Submitted by Robert Meyer. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1342792 13f79535-47bb-0310-9956-ffa450edef68
* Added support for the role property on fo:page-sequence, fo:flow and ↵Vincent Hennebert2012-05-255-72/+81
| | | | | | | | | | | fo:static-content. This allows to change the mapping of those FOs to PDF structure types when enabling accessibility. Suggested by Martin Koegler as part of Bugzilla #50852 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1342680 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #53242: Support fractional line widths in AFP renderer, fixing ↵Glenn Adams2012-05-173-0/+20
| | | | | | problem with SVG line drawing. Submitted by Luis Bernardo. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1339442 13f79535-47bb-0310-9956-ffa450edef68
* Improved handling of AFP double-byte character setsMehdi Houshmand2012-05-151-6/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1338605 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #43940: Use new double format utility to improve thread safety and ↵Glenn Adams2012-04-291-2/+5
| | | | | | performance. Submitted by Julien Aymé, Ognjen Blagojevic. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1331950 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #51484: Improve test for last section.Glenn Adams2012-04-261-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1330838 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #53148: Fix performance regression in JDK 1.6 Update 19 due to use ↵Glenn Adams2012-04-251-1/+1
| | | | | | of Java Beans API. Fix checkstyle errors. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1330317 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #51484: Don't write final /sect suffix in RTF if section is last ↵Glenn Adams2012-04-251-1/+6
| | | | | | section. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1330296 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #52572: Prevent NPE on use of unsupported collapse-with-precedence; ↵Glenn Adams2012-04-141-6/+6
| | | | | | fall back to collapse. Fix checkstyle errors from prior commit. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1326144 13f79535-47bb-0310-9956-ffa450edef68
* Take leading derived space before/after into account when computing rows for ↵Glenn Adams2012-04-121-6/+9
| | | | | | TXT renderer. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1325394 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla#49893: A global setting to wrap F11 images in page segments.Peter Hancock2012-04-124-17/+82
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1325277 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #49754: Bring clone() in line with the recommendations in ↵Glenn Adams2012-04-0810-29/+74
| | | | | | Object.clone(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1311120 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #52966: How to use native text with EPSDocumentGraphics2D.Glenn Adams2012-04-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1311103 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #50901: RTF percentage table column width not calculated from table.Glenn Adams2012-04-081-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1311081 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #51009: RTF generates unexpected lines for blocks in tables. Also ↵Glenn Adams2012-04-086-54/+189
| | | | | | fix three findbugs issues. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1310948 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #51007: RTF tables do not support percent column-widths.Glenn Adams2012-04-081-3/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1310926 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #49763: Incorrect message when encountering a block in an inline in ↵Glenn Adams2012-04-071-1/+0
| | | | | | a footnote git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1310853 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #49302: Eliminate duplicate code.Glenn Adams2012-04-071-13/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1310672 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #51836: Throw IFException instead of NPE if navigation target (page ↵Glenn Adams2012-04-071-16/+22
| | | | | | reference) doesn't exist. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1310666 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a bug: Delegate getStructureTreeEventHandler() to delegatePeter Hancock2012-03-291-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1306814 13f79535-47bb-0310-9956-ffa450edef68
* Added support for PDF object streams.Temp_PDF_ObjectStreamsVincent Hennebert2012-03-213-8/+11
| | | | | | | | When accessibility is enabled and PDF version 1.5 selected, the structure tree will be stored in object streams in order to reduce the size of the final PDF. This can lead to file reductions by up to 75% git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_PDF_ObjectStreams@1303431 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #51385: Added configuration option to set the version of the output ↵Vincent Hennebert2012-03-193-2/+44
| | | | | | | | | PDF document. Patch by Mehdi Houshmand, applied with minor modifications git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1302518 13f79535-47bb-0310-9956-ffa450edef68
* Added new line at end of files and enabled corresponding rule in checkstyle-5.5Vincent Hennebert2012-03-0640-40/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1297404 13f79535-47bb-0310-9956-ffa450edef68
* add RegexpSingleline rule to flag use of @author; fix violationsGlenn Adams2012-03-0565-195/+279
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1297284 13f79535-47bb-0310-9956-ffa450edef68
* disable line breaks after DOT with NoWhiteSpaceAfter; fix violationsGlenn Adams2012-03-051-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1297232 13f79535-47bb-0310-9956-ffa450edef68
* Removed trailing whitespace and enabled corresponding RegexpSingleline ↵Vincent Hennebert2012-03-054-10/+10
| | | | | | Checkstyle rule git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1297008 13f79535-47bb-0310-9956-ffa450edef68
* enable ImportOrder rule; fix violationsGlenn Adams2012-03-0360-90/+111
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296526 13f79535-47bb-0310-9956-ffa450edef68
* enable UnusedImports rule; fix violationsGlenn Adams2012-03-0223-29/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296496 13f79535-47bb-0310-9956-ffa450edef68
* enable MultipleVariableDeclarations rule; fix violationsGlenn Adams2012-03-022-4/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296483 13f79535-47bb-0310-9956-ffa450edef68
* enable OneStatementPerLine rule; fix violationsGlenn Adams2012-03-021-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296441 13f79535-47bb-0310-9956-ffa450edef68
* enable RedundantImport rule; fix violationsGlenn Adams2012-03-027-18/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296437 13f79535-47bb-0310-9956-ffa450edef68
* default all RightCurly tokens, thus adding LITERAL_IF; fix violationsGlenn Adams2012-03-021-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296418 13f79535-47bb-0310-9956-ffa450edef68
* default all RedunduntModifier tokens, thus adding INTERFACE_DEF; fix violationsGlenn Adams2012-03-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296405 13f79535-47bb-0310-9956-ffa450edef68
* apply complex scripts patchGlenn Adams2012-02-2625-352/+908
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1293736 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 52657: instream foreign object (svg) coloration incorrect Chris Bowditch2012-02-201-2/+2
| | | | | | Submitted by Glenn Adams git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1291292 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #52655: Fixed rendering of special glyphs when using single-byte ↵Vincent Hennebert2012-02-152-13/+11
| | | | | | | | | encoding mode Patch by Luis Bernardo git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1244656 13f79535-47bb-0310-9956-ffa450edef68
* Merged in Temp_ImproveAccessibilityPeter Hancock2012-02-1023-335/+750
|\ | | | | | | | | | | | | revs 1187234, 1188205, 1205935, 1236718, 1238313, 1240963 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1242848 13f79535-47bb-0310-9956-ffa450edef68
| * 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
* | Amended checkstyle errors and return carriagesMehdi Houshmand2012-01-3012-4/+37
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1237610 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla#52513: Moved FOUserAgent to the constructor of the RenderersMehdi Houshmand2012-01-3022-138/+88
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1237582 13f79535-47bb-0310-9956-ffa450edef68
* | Reverted changes made in r1234877, see bugzilla#52513Mehdi Houshmand2012-01-2422-88/+138
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1235189 13f79535-47bb-0310-9956-ffa450edef68