aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PR:Glen Mazza2004-08-299-14/+12
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Simplified the region constructors. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197897 13f79535-47bb-0310-9956-ffa450edef68
* Removed the redundant Region Class Codes in favor of the FO constantGlen Mazza2004-08-2918-102/+66
| | | | | | | identifiers. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197896 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-08-2914-51/+43
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Convenience method fobj.getPropLength() added to simplify some of the code. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197895 13f79535-47bb-0310-9956-ffa450edef68
* Minor edits to adjustIPD() methods.Glen Mazza2004-08-292-10/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197894 13f79535-47bb-0310-9956-ffa450edef68
* Three more validateChildNodes() added.Glen Mazza2004-08-293-3/+118
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197893 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-08-273-75/+3
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Some code cleanup in Title and PageNumberGenerator, removal of apparently unused logger instance from latter. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197892 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-08-274-106/+56
| | | | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: 1.) Removed PageMasterReference.java, no longer needed. 2.) Added validateChildNode() to XMLOBJ.java to check that the parent of an XSL FO is itself an XSL FO. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197891 13f79535-47bb-0310-9956-ffa450edef68
* Moved some functionality from LMiter to the LayoutManagers. The LMsSimon Pepping2004-08-2611-100/+238
| | | | | | | | | | now hold the list of child LMs and the method preLoadNext. This makes it possible to create a new LMiter object for a LM, or even a list iterator over the list of child LMs if the latter is known to be complete. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197890 13f79535-47bb-0310-9956-ffa450edef68
* 1. Implemented validateChildNode() for fo:simple-page-master. This may ↵Glen Mazza2004-08-2566-166/+236
| | | | | | | | | | | | | | | cause some stress with the user community--as any declared fo:region-xxxx children must follow a specific ordering. 2. Modified several of our sample and test FO files to be compliant with the XSL spec with respect to the change above. 3. @todo's added to FO's still missing validateChildNode() 4. New FONode missingPropertyError() method created, for the major cases where missing properties should halt processing. 5. Various cleanup in our layout-master-set and region classes, including the removal of error checks that are no longer needed due to validateChildNode() being implemented. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197889 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-08-238-58/+67
| | | | | | | | | | | Obtained from: Submitted by: Reviewed by: ToBeImplementedElement removed in favor of one-time static warning messages in the "unimplemented" FO's. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197888 13f79535-47bb-0310-9956-ffa450edef68
* Rewrite formatDateTime() to be compatible with JDK 1.3 again.Jeremias Maerki2004-08-231-4/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197887 13f79535-47bb-0310-9956-ffa450edef68
* Minor edits.Glen Mazza2004-08-222-13/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197886 13f79535-47bb-0310-9956-ffa450edef68
* 1.) validateChildNode() implemented for fo:multi-properties.Glen Mazza2004-08-2111-20/+69
| | | | | | | | | 2.) fo:multi-properties disconnected from ToBeImplementedElement. 3.) increased usage of FObj.getPropString() throughout application. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197885 13f79535-47bb-0310-9956-ffa450edef68
* 1.) validateChildNode() added for fo:marker.Glen Mazza2004-08-206-44/+57
| | | | | | | | | | | 2.) new getPropString() convenience method added to FObj, will reduce need for many individual methods on each FO. 3.) fo:float disconnected from ToBeImplementedElement in favor of a class-specific warning. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197883 13f79535-47bb-0310-9956-ffa450edef68
* 1. Moved getNameId() from FObj to FONode.Glen Mazza2004-08-1818-158/+122
| | | | | | | | | | | 2. Centralized determination of generatesInlineAreas() from multiple FObj subclasses into fo.PropertySets BitSet object. 3. validateChildNode() implemented for fo:list-item. 4. fo:initial-property-set now extending FObj instead of ToBeImplementedElement; burden of implementation on individual FOInputHandler subclasses. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197882 13f79535-47bb-0310-9956-ffa450edef68
* Fix JPEG with many long APPS markers.Jeremias Maerki2004-08-162-17/+92
| | | | | | | | Also defers the creation of the original node until it absolutely has to thus avoiding decoding the JPEG file and creating the raster unless needed. Submitted by: Thomas DeWeese <Thomas.DeWeese.at.Kodak.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197881 13f79535-47bb-0310-9956-ffa450edef68
* Fix getPixelUnitToMillimeterJeremias Maerki2004-08-162-2/+5
| | | | | | | Submitted by: Thomas DeWeese <Thomas.DeWeese.at.Kodak.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197880 13f79535-47bb-0310-9956-ffa450edef68
* Fix implementations after logging changes to correspond to the interface again.Jeremias Maerki2004-08-163-18/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197879 13f79535-47bb-0310-9956-ffa450edef68
* Remove unused importJeremias Maerki2004-08-162-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197878 13f79535-47bb-0310-9956-ffa450edef68
* 1.) fo:wrapper layout initialization logic moved from AddLMVisitor toGlen Mazza2004-08-168-143/+50
| | | | | | | | | | | | fo.flow.Wrapper. 2.) Temporary class LMVisited dropped. 3.) AddLMVisitor dropped, its LM list moved to its parent AreaTreeHandler object. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197877 13f79535-47bb-0310-9956-ffa450edef68
* 1. fo:leader layout initialization logic moved from AddLMVisitor toGlen Mazza2004-08-1613-147/+206
| | | | | | | | | | | | fo.flow.Leader. 2. fo:leader layout logic moved from AddLMVisitor to new layoutmgr.LayoutLeaderManager class. 3. validateChildNode() for fo:list-block implemented. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197876 13f79535-47bb-0310-9956-ffa450edef68
* JDK 1.5 compile-time compatibility (still doesn't compile under 1.5, yet)Jeremias Maerki2004-08-155-25/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197875 13f79535-47bb-0310-9956-ffa450edef68
* Style-up for example classes.Jeremias Maerki2004-08-152-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197874 13f79535-47bb-0310-9956-ffa450edef68
* Updated Common IO to first release.Jeremias Maerki2004-08-143-8/+13
| | | | | | | | Build updated so the transcoder packages are built correctly (reflecting the changes in the source code) JUnit failures now let the build fail (note: JUnit is currently not activated in Gump runs) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197872 13f79535-47bb-0310-9956-ffa450edef68
* 1.) fo:Instream-Foreign-Object initialization logic moved from AddLMVisitorGlen Mazza2004-08-145-210/+256
| | | | | | | | | | | | to flow.InstreamForiegnObject.java, and the layout logic itself moved to a new layoutmgr.InstreamForeignObjectLM.java. (Broke with usual nomenclature of adding ~LayoutManager to end, given that newer 1.1 and post-1.1 FO names are getting even larger.) 2.) validateChildNode() added for fo:inline. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197871 13f79535-47bb-0310-9956-ffa450edef68
* Adjusting to changes in XmlObj, making the sample extensions compile again.Jeremias Maerki2004-08-142-5/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197870 13f79535-47bb-0310-9956-ffa450edef68
* 1. Character LM initialization moved from AllLMVisitor to fo.Character.Glen Mazza2004-08-135-52/+96
| | | | | | | | | 2. Character layout logic moved from AllLMVisitor to new CharacterLayoutManager. 3. validateChildNode() implemented for fo:footnote-body. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197869 13f79535-47bb-0310-9956-ffa450edef68
* Support for [letter|word]-spacing properties with a value of 'normal'.Finn Bock2004-08-134-8/+79
| | | | | | | | | | | | The value returned will be an Constants.NORMAL enum. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197868 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Layout initialization logic for fo:table, fo:table-header, and ↵Glen Mazza2004-08-137-267/+272
| | | | | | | | | | | | | | | | | | fo:table-footer moved from AddLMVisitor to fo.Table. 2.) Layout logic for fo:external-graphic moved from fo.ExternalGraphic to layoutmgr.ExternalGraphicLayoutManager. 3.) Partial implementation of validateChildNode() for fo:footnote. 4.) fox:destination commented out from images.fo sample until purpose, content model better defined. Also needs a Maker class. (Does not appear to work in either maintenance or HEAD.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197867 13f79535-47bb-0310-9956-ffa450edef68
* 1.) LM initialization logic for fo:table-body, fo:table-footer, and ↵Glen Mazza2004-08-1110-97/+142
| | | | | | | | | | | | | fo:table-header moved out of AddLMVisitor. 2.) New LayoutManager subclass created for fo:external-graphic formatting object. 3.) ValidateChildNode(), endOfNode() implemented for fo:float. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197866 13f79535-47bb-0310-9956-ffa450edef68
* 1. For maintenance and accuracy, centralized the setupID() functionalityGlen Mazza2004-08-1132-572/+119
| | | | | | | | | | | | from the various FO's to the FObj base class. 2. Created a lookup bitset in PropertySets to help accomplish the above. 3. Generally moved initialization code from the setup() methods to the addProperties() methods in the various FO subclasses. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197865 13f79535-47bb-0310-9956-ffa450edef68
* This change allows users to set the level of the javadocs task toSimon Pepping2004-08-101-3/+31
| | | | | | | | | | | | | private, package or public. It also allows users to set a user hyphenation directory from which hyphenation files are compiled and added to the hyph directory in the build. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197864 13f79535-47bb-0310-9956-ffa450edef68
* 1.) fo:retrieve marker layout initialization moved from AddLMVisitor to ↵Glen Mazza2004-08-106-150/+201
| | | | | | | | | | | RetrieveMarker class. 2.) New PageNumberCitationLayoutManager class created, layout logic imported from fo.flow.PageNumberCitation to this new class. 3.) validateChildNode() implemented for fo:block. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197863 13f79535-47bb-0310-9956-ffa450edef68
* Created a BitSet indicating FO's that can contain fo:marker child elements,Glen Mazza2004-08-0818-127/+33
| | | | | | | removed all containsMarkers() methods from FObj subclasses. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197862 13f79535-47bb-0310-9956-ffa450edef68
* Implemented getNameId() which returns the Constants enumeration IDGlen Mazza2004-08-0859-5/+413
| | | | | | | for the FO. For future array work or to reduce the amount of string comparisons being done. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197861 13f79535-47bb-0310-9956-ffa450edef68
* Moved fo:page-number layout code from AddLMVisitor to new ↵Glen Mazza2004-08-083-92/+81
| | | | | | PageNumberLayoutManager class. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197860 13f79535-47bb-0310-9956-ffa450edef68
* 1. new FONode.invalidChildError method added that will takes a ↵Glen Mazza2004-08-0718-192/+208
| | | | | | | | | | | | | | | "ruleViolated" string for more detailed error messages. 2. FO_URI added to FONode to decrease the number of imports of FOElementMapping within the FONode subclasses. 3. Layout logic moved from fo.flow.BasicLink to a new BasicLinkLayoutManager class. 4. BidiLayoutManager constructor modified, now needs the flow.BidiOverride object. 5. ListItemLayoutManager setup moved from AddLMManager to flow.Listitem and layoutmgr.list.ListItemLayoutManager. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197859 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-08-0615-235/+207
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Moved three FO's from AddLMVisitor->FObj.AddLayoutManager(); will eventually need to create additional LM's for at least two of them to remove the Area-specific code these FO's now have. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197858 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-08-0634-280/+209
| | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: 1.) Continued conversion/deprecation of AddLMVisitor. About 16 FO's remaining. 2.) Created a *temporary* LMVisited interface to mark those FO's still needing conversion. This will be dropped once the process is complete. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197857 13f79535-47bb-0310-9956-ffa450edef68
* First versionSimon Pepping2004-08-051-0/+207
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197856 13f79535-47bb-0310-9956-ffa450edef68
* More detaching from AddLMVisitor those FO's which don't/don't currentlyGlen Mazza2004-08-0430-419/+0
| | | | | | | generate areas. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197855 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-08-0418-269/+32
| | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Start of conversion of AddLMVisitor to FObj.AddLayoutManager(): removed acceptVisitor() methods from FO's that don't need LM's (e.g., those FO's not yet implemented or those that don't return areas anyway). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197854 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-08-032-1/+4
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: New Batik library and updated SVGElement to handle it. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197852 13f79535-47bb-0310-9956-ffa450edef68
* Implemented validity checking for fo:bidi-override.Glen Mazza2004-08-034-65/+91
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197851 13f79535-47bb-0310-9956-ffa450edef68
* First committed versionSimon Pepping2004-08-0118-0/+8722
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197850 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-08-012-73/+49
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Child element validation added to fo:instream-foreign-object. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197849 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-08-016-110/+30
| | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Consolidated RegionBASE into Region and RegionBA/RegionSE (RegionBASE was supporting only one unique property.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197848 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Moved from FOPException to SAXParseException for addProperties()Glen Mazza2004-08-0138-305/+185
| | | | | | | | | 2.) FONode: locator object added, its three components (file, line, col) removed 3.) FONode: new attributeError() method created for attribute problems in input FO. 4.) Removed some setup() methods in the FO's, placed them in addProperties() instead. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197847 13f79535-47bb-0310-9956-ffa450edef68
* 1. validation for fo:basic-link addedGlen Mazza2004-07-3121-147/+157
| | | | | | | | | | | 2. "name" data element removed from FONode, added to its XMLObj subclass (FObj subclasses' getName() uses a string constant instead.) 3. isBlockOrInlineItem() convenience method added to FObj 4. setup() methods within FO's switched to private access. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197846 13f79535-47bb-0310-9956-ffa450edef68
* Removed the FOTreeVisitor interface in favor of a moreGlen Mazza2004-07-2778-836/+316
| | | | | | | | direct connection to (the subclassable) AddLMVisitor in the FO's. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197845 13f79535-47bb-0310-9956-ffa450edef68