aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
Commit message (Collapse)AuthorAgeFilesLines
* 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-1612-146/+205
| | | | | | | | | | | | 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-154-24/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197875 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
* 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-136-261/+266
| | | | | | | | | | | | | | | | | | 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
* 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
* 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-031-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
* 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
* Provided validateChildFO() methods for the "easy" FO's--i.e., thoseGlen Mazza2004-07-279-5/+106
| | | | | | | with an empty content model. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197844 13f79535-47bb-0310-9956-ffa450edef68
* Switch from IllegalArgumentException to SAXParseException for errors found ↵Glen Mazza2004-07-2733-66/+119
| | | | | | in the input FO. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197843 13f79535-47bb-0310-9956-ffa450edef68
* Renamed end() method to somewhat clearer endOfNode().Glen Mazza2004-07-2727-37/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197842 13f79535-47bb-0310-9956-ffa450edef68
* Redefining "isOutOfLineFODescendant" to include cases where FObj itselfGlen Mazza2004-07-271-5/+6
| | | | | | | is and O-o-L FO. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197841 13f79535-47bb-0310-9956-ffa450edef68
* Took advantage of the Transformer similarities between FO input andGlen Mazza2004-07-257-200/+92
| | | | | | | (XSL, XSLT) input to combine the two into InputHandler. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197840 13f79535-47bb-0310-9956-ffa450edef68
* Created a "isOutOfLineFODescendant" member variable to FObj, needed forGlen Mazza2004-07-251-6/+34
| | | | | | | | input FOValidation. As defined in Sect. 6.2 of the spec, certain child FO's are not valid if the parent FO is a descendant of an out of line FO (sect. 6.10) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197839 13f79535-47bb-0310-9956-ffa450edef68
* Removed the non-File constructors from the InputHandler subclasses in favorGlen Mazza2004-07-254-120/+13
| | | | | | | | | | | of JAXP (for embedded use), and standardized FOFileHandler to use a StreamSource (like XSLTInputHandler). Currently, command Line usage works only with files, but We may need to expand the constructors here somewhat again should we provide other input options from the command line. other options git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197838 13f79535-47bb-0310-9956-ffa450edef68
* Bug fixed in previous renaming.Glen Mazza2004-07-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197837 13f79535-47bb-0310-9956-ffa450edef68
* reverted change in PropertySets; unnecessary.Glen Mazza2004-07-251-10/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197836 13f79535-47bb-0310-9956-ffa450edef68
* moved FO term of a Node's child elements from "Children" to "ChildNodes"Glen Mazza2004-07-2417-78/+77
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197835 13f79535-47bb-0310-9956-ffa450edef68
* Combined the apps.Driver class into apps.Fop. (195 LOC total.) PrimaryGlen Mazza2004-07-2412-210/+165
| | | | | | | | | | | | | | | | | | | benefit is to make Fop self-documenting in external code, also none of the API ideas called for retention of the Driver class (even if there were different ideas for its replacement). Let's try this for a few weeks, if it confuses people too much (or when the API starts to grow again) we can bring back Driver, possibly under a different name, apps.FopProcess, perhaps. See also: http://marc.theaimsgroup.com/?l=fop-dev&m=108947697611032&w=2 http://marc.theaimsgroup.com/?l=fop-dev&m=108966015504506&w=2 http://marc.theaimsgroup.com/?l=fop-dev&m=108942673103344&w=2 http://marc.theaimsgroup.com/?l=fop-dev&m=108958756030147&w=2 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197827 13f79535-47bb-0310-9956-ffa450edef68
* Renamed FONode.addChild() to somewhat clearer FONode.addChildNode().Glen Mazza2004-07-2414-44/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197821 13f79535-47bb-0310-9956-ffa450edef68
* Allow a null locator in errorTextSimon Pepping2004-07-231-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197806 13f79535-47bb-0310-9956-ffa450edef68
* Removed redundant check for invalid render type.Glen Mazza2004-07-202-10/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197805 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Moved the SAXParser-creating method from FOFileHandler to ↵Glen Mazza2004-07-206-50/+67
| | | | | | | | | | | | | | | CommandLineOptions, the latter being the class directly using it. 2.) Decoupled the SVG classes from apps.FOFileHandler, the SVG classes for some reason want a string containing a name of a SAXParser. We'll need to look in the future for the actual need for this--normally error messages are done by the caller, not the callee. It would appear that Batik can generate a SAXParser name by default, and use that when not explicitly overridden by the caller. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197804 13f79535-47bb-0310-9956-ffa450edef68
* 1.) render() methods moved from Driver to XSLTInputHandler and FOFileHandler.Glen Mazza2004-07-208-156/+75
| | | | | | | 2.) -param command line switch implemented for xml->xslt->pdf processes git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197803 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Moved exclusively to Simon's DefaultHandler object for both TransformerGlen Mazza2004-07-193-14/+11
| | | | | | | | | | | | | | | | and SAXParser usage. DefaultHandler implements the ContentHandler interface so it can be used where the latter was previously used, also it provides more functionality. [1] 2.) Updated the examples and internal code accordingly. 3.) Renamed ExampleFO2PDFUsingSAX to ...Parser to avoid confusion (both use SAX.) [1] http://www.cafeconleche.org/books/xmljava/chapters/ch06s03.html#d0e8440 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197802 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Driver constructor modified to require RenderType, and setter functionsGlen Mazza2004-07-198-86/+63
| | | | | | | | | | | | | | | | for RenderType and FOUserAgent removed, to allow for better checking of a valid Driver object at time of construction. (Also, will reduce need to validate Driver object should it be a parameter to a method.) 2.) Added validity checking of renderType to FOTreeBuilder as well, in effect decoupling Driver from FOTreeBuilder (the latter can work on its own now.) 3.) Updated the various examples and the documentation to indicate the new API. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197801 13f79535-47bb-0310-9956-ffa450edef68