aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Moved the FOUserAgent into the constructor of the RenderersMehdi Houshmand2012-01-2322-138/+88
| | | | | | | | | | | | | | | | | | | | This breaks the public API but for good reasons: 1) the user-agent is essential for configuring the renderers 2) instantiation of the constructor is always followed by call to "setUserAgent()" (in the examples) 3) simplifies the API and reduces mutability of the Renderers git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1234877 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #50391:Chris Bowditch2012-01-101-3/+2
| | | | | | | | | | | | | | Add support for different flow-name of fo:region-body in FOP Submitted by: Peter Hancock git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1229622 13f79535-47bb-0310-9956-ffa450edef68
* | Changed the error handling for AFP fonts such that errors are passed to the ↵Mehdi Houshmand2011-11-211-66/+64
| | | | | | | | | | | | AFPEventProducer. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1204579 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #52177: Changed the AFP double-byte characterset builder to a ↵Mehdi Houshmand2011-11-181-4/+4
| | | | | | | | | | | | singleton, this now matches the behaviour of the single byte characterset builder git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1203719 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla#52089: Allow JPEG images to be embedded in an AFP document asPeter Hancock2011-11-0111-54/+362
|/ | | | | | | | | is, without being decoded and encoded. It also allows lossy JPEG compression. Patch by Jeremias Maerki and Mehdi Houshmand. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1195952 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