aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/area
Commit message (Collapse)AuthorAgeFilesLines
* apply complex scripts patchGlenn Adams2012-02-2625-127/+859
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1293736 13f79535-47bb-0310-9956-ffa450edef68
* Addressed findbugs and checkstyle regressionsTemp_ImproveAccessibilityPeter Hancock2012-02-061-2/+0
| | | | | | | | | 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
* Associate structure tree elements directly to render contentPeter Hancock2012-01-272-14/+3
| | | | | | | | | | * 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-244-50/+29
| | | | | | | | | | | | | | | 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
* Fixed regression introduced by Bugzilla 50593: bookmarks pointing to a ↵Andreas L. Delmelle2011-03-261-1/+1
| | | | | | 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
* Bugzilla #50763: Implemented non-standard behavior for basic-link areas, ↵Vincent Hennebert2011-03-244-17/+120
| | | | | | such that they take into account the heights of their descendants areas git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1085058 13f79535-47bb-0310-9956-ffa450edef68
* Renamed Viewport into InlineViewportVincent Hennebert2011-03-155-12/+19
| | | | | | | 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-144-21/+81
| | | | | | | 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
* Fix checkstyle issueAndreas L. Delmelle2011-02-061-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067733 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Suppress generating duplicate fo:root and fo:declarations extension ↵Jeremias Maerki2011-02-041-6/+18
| | | | | | attachments. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067190 13f79535-47bb-0310-9956-ffa450edef68
* Fix an forgotten change of type in class Area and a checkstyle error in ↵Simon Pepping2011-01-271-2/+2
| | | | | | class FObj git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1064159 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 50635: fix issue in checkPreparedPages() where the same ↵Andreas L. Delmelle2011-01-241-3/+4
| | | | | | page-sequence is potentially started multiple times git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1063022 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 50636: fix performance issue when adding pages in very large documentsAndreas L. Delmelle2011-01-241-9/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1062913 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 50593: Mostly add type safety to various collections in the ↵Andreas L. Delmelle2011-01-2432-360/+398
| | | | | | fop.area package. Additionally, added @Override annotations and used static import for Constants. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1062901 13f79535-47bb-0310-9956-ffa450edef68
* Enable id on fo:root pt 3 - Signal processed id at end of documentAndreas L. Delmelle2011-01-151-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1059389 13f79535-47bb-0310-9956-ffa450edef68
* Previous commit would have caused compile error, unless others included as well.Andreas L. Delmelle2011-01-151-31/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1059215 13f79535-47bb-0310-9956-ffa450edef68
* Might as well make those primitive ints...Andreas L. Delmelle2011-01-151-31/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1059212 13f79535-47bb-0310-9956-ffa450edef68
* Eliminate unnecessary boxingAndreas L. Delmelle2011-01-142-165/+94
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1059210 13f79535-47bb-0310-9956-ffa450edef68
* Eliminate a small waste: no reason to store the char as a String, and then ↵Andreas L. Delmelle2011-01-141-3/+3
| | | | | | constuct a new one in getSpace() git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1059201 13f79535-47bb-0310-9956-ffa450edef68
* Minor fixupsAndreas L. Delmelle2011-01-141-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1059197 13f79535-47bb-0310-9956-ffa450edef68
* Minor nit: eliminate stray hungarian...Andreas L. Delmelle2011-01-141-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1059195 13f79535-47bb-0310-9956-ffa450edef68
* Simplify Region.getViewportRectangle(): no reason to pass the ↵Andreas L. Delmelle2011-01-091-6/+4
| | | | | | SinglePageMaster as a parameter, as Regions have access to it git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1056923 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #42034:Jeremias Maerki2010-12-073-11/+34
| | | | | | Fixed adjustment of inline parent area for justified text containing a forward page reference. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1042934 13f79535-47bb-0310-9956-ffa450edef68
* Another go at removing all trailing whitespaceVincent Hennebert2010-11-253-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1039179 13f79535-47bb-0310-9956-ffa450edef68
* Reverting renaming of public methods of rev. 1036179Simon Pepping2010-11-191-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1036809 13f79535-47bb-0310-9956-ffa450edef68
* findbugs-reported bug squashing; 959 bugs left (findbugs 1.3.9)Simon Pepping2010-11-1735-5/+104
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1036179 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #49885:Jeremias Maerki2010-09-071-2/+15
| | | | | | Fixed retrieval of available BPD for cases spanning columns and multiple pages with differing page masters. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@993357 13f79535-47bb-0310-9956-ffa450edef68
* Replaced @asf.todo with normal TODO commentVincent Hennebert2010-08-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@990148 13f79535-47bb-0310-9956-ffa450edef68
* Removed many "// CSOK: ConstantName" instances for constants, by converting ↵Jeremias Maerki2010-08-141-8/+7
| | | | | | | | | them to uppercase as they should really be. Fixed some other non-Checkstyle issues on the way, imports mainly. Removed some "log" instances that were not used. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985571 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #49733:Jeremias Maerki2010-08-1411-9/+30
| | | | | | | | | | | | | | Resolved compilation (safe one), Checkstyle and many Javadoc warnings. Submitted by: Glenn Adams <glenn.at.skynav.com> Changes to patch: - Restored the deprecated Graphics2DAdapter method (to be removed after Barcode4J 2.1 is released). - Restored Renderer.startPageSequence(LineArea) pending discussion about removal. - build.xml: set max VM to 1024MB instead of 2048MB to allow for 32-bit JVMs. - build.xml: restored longer taskdef names. - Restored Checkstyle 4 file for people running older IDEs. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985537 13f79535-47bb-0310-9956-ffa450edef68
* Added getEventKey method to Event so that it's no longer necessary to store ↵Vincent Hennebert2010-04-091-5/+5
| | | | | | the whole event ID (fully qualified interface name) in message files git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932519 13f79535-47bb-0310-9956-ffa450edef68
* Now that the creation of event-model.xml has been standardised, the ↵Vincent Hennebert2010-04-091-12/+0
| | | | | | | | | | EventModelFactory mechanism is no longer needed. Removed all the factory classes. Registration through META-INF/services also is no longer necessary. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932510 13f79535-47bb-0310-9956-ffa450edef68
* Moved ResourceEventProducer to org.apache.fopVincent Hennebert2010-04-092-2/+2
| | | | | | | | Renamed event model used by FOPTestEventModelFactory to "event-model.xml" git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932497 13f79535-47bb-0310-9956-ffa450edef68
* Split catch-all EventFormatter.xml message file into individual files for ↵Vincent Hennebert2010-04-092-0/+37
| | | | | | | | | | each EventProducer. There is no longer a default EventModelFactory Added test case for font event git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932481 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #46486: having a special page-master for the last page caused loss ↵Vincent Hennebert2010-01-181-1/+13
| | | | | | of content when normal blocks were mixed with blocks spanning all columns. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@900364 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #48071: made the MinOptMax class immutable. Also, lots of clean ups ↵Vincent Hennebert2009-12-221-5/+5
| | | | | | | | | and minor refactorings. Patch submitted by Alexander Kiel. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@893238 13f79535-47bb-0310-9956-ffa450edef68
* Issue an error when attempting to render an intermediate XML file in ↵Vincent Hennebert2009-10-221-5/+19
| | | | | | accessibility mode, but that file wasn't generated with accessibility (i.e., does not contain the structure tree) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@828747 13f79535-47bb-0310-9956-ffa450edef68
* Merged SimpleStructureTree and ParsedStructureTree classes into a single ↵Vincent Hennebert2009-10-151-11/+12
| | | | | | one, used by both TransformerNodeEndProcessing and intermediate XML parsers git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@825504 13f79535-47bb-0310-9956-ffa450edef68
* Implemented rendering of structure tree to Area Tree XML and parsing back ↵Vincent Hennebert2009-10-131-12/+70
| | | | | | from it git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@824827 13f79535-47bb-0310-9956-ffa450edef68
* Merged changes from Trunk up to revision 816269Vincent Hennebert2009-09-182-10/+12
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@816718 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla #47311:Jeremias Maerki2009-07-282-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Preparations in PDF library for bleed, trim and crop boxes. Submitted by: Peter Coppens <pc.subscriptions.at.gmail.com> Page view area changed from Rectangle2D to Rectangle where possible. Submitted by: Vincent Hennebert <vhennebert.at.apache.org> (Patch in Bugzilla only partially applied. Changes discussed with the properties not included, yet) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@798511 13f79535-47bb-0310-9956-ffa450edef68
* | Added support for adding natural language information on page-sequence and ↵Jeremias Maerki2009-04-171-1/+2
| | | | | | | | | | | | | | | | document level to a tagged PDF. The document-level language is assumed to be the language of the first page-sequence. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@765965 13f79535-47bb-0310-9956-ffa450edef68
* | Merge from Trunk revisions 744927 - 763662.Jeremias Maerki2009-04-145-7/+48
|\| | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@764744 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla 46828: Activation of the possibility to use CachedRenderPagesModel ↵Andreas L. Delmelle2009-03-133-4/+9
| | | | | | | | | | | | | | | | | | | | 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) Thanks to Dario Laeria for submitting and testing. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@753327 13f79535-47bb-0310-9956-ffa450edef68
| * AreaTreeParser redirecting image loading exceptions to event subsystem.Jeremias Maerki2009-03-101-2/+30
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@752010 13f79535-47bb-0310-9956-ffa450edef68
| * Added support for adding extension elements and foreign attributes on ↵Jeremias Maerki2009-03-012-2/+10
| | | | | | | | | | | | | | | | | | | | fo:page-sequence. AFP: Added support for Invoke Medium Map (IMM). AFP: Fixed a bug adding TLEs in DataStream (TLEs were added to the page group instead of to the page). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@748981 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #46705:Jeremias Maerki2009-02-191-1/+5
|/ | | | | | | | | | | | | | | Accessibility and Tagged PDF Support Submitted by: Jost Klopfstein <jost.klopfstein.at.gmail.com> Changes to patch by jeremias: - Some style fixes - Various simplifications - Removal of dead code - Addressed some issues raised in Bugzilla (work in progress) - Fixed a couple of bugs on leader handling detected while testing (an NPE remains in leader_leader-pattern_use-content.xml) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@745949 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Need to copy attributes. Xalan XSLTC reuses the Attributes instance ↵Jeremias Maerki2009-02-111-1/+2
| | | | | | (and modifies it freely). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@743492 13f79535-47bb-0310-9956-ffa450edef68
* Fixed test error for transcoders.Jeremias Maerki2009-01-303-16/+15
| | | | | | | | | Enabled disabling strict validation from inside the test case. This enabled activating the border/padding test case for region references. Refactored layout engine and intermediate format tests a bit to increase code reuse. Fixed the way border/padding are set on the area tree. The current way had unwanted side-effects for the AreaTreeParser. Added support for border/padding on region references when parsing from area tree XML. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@739386 13f79535-47bb-0310-9956-ffa450edef68
* Merge from Trunk revisions 731480 - 735028.Jeremias Maerki2009-01-162-39/+35
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@735038 13f79535-47bb-0310-9956-ffa450edef68