aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/FObj.java
Commit message (Collapse)AuthorAgeFilesLines
* Switched from handleAttrs() to more intuitive processNode() and (for FO ↵Glen Mazza2004-05-221-21/+36
| | | | | | namespace) addProperties() methods. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197613 13f79535-47bb-0310-9956-ffa450edef68
* For area.Blocks created in BlockLayoutManager.getParentArea(), I set theGlen Mazza2004-04-251-4/+7
| | | | | | | | | | | | | | | width of the Block to that of its parent block. This fixes a layout problem where <fo:table-cell><fo:block border-bottom="1pt solid black">some text</ ></ > was causing a line to draw across the entire page, because the cell width present in fo:table-cell's Block was not copied into the inner fo:block's Block. (This problem did not occur if the border-bottom attribute was set in fo:table-cell.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197539 13f79535-47bb-0310-9956-ffa450edef68
* Applied Apache License Version 2.0 by following the instructions at ↵Jeremias Maerki2004-02-271-48/+16
| | | | | | http://www.apache.org/dev/apply-license.html. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197384 13f79535-47bb-0310-9956-ffa450edef68
* Use the new property expressions. Clients must use Length when retrievingFinn Bock2004-02-261-0/+49
| | | | | | | | | | a length and must delay the call to Length.getValue() until the baselength has been assigned by the LayoutManagers. PR: 26778 (second half) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197382 13f79535-47bb-0310-9956-ffa450edef68
* Phase 3 (last) of bug 26434.Finn Bock2004-02-021-0/+1
| | | | | | | | | - Move the property classes to fop.fo.properties. PR: 26434 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197314 13f79535-47bb-0310-9956-ffa450edef68
* Phase 1 of 26434.Finn Bock2004-02-021-3/+4
| | | | | | | | | | - Unnest Property.Maker into fop.fo.properties.PropertyMaker. - Move the handmade makers into package fop.fo.properties. PR: 26434 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197310 13f79535-47bb-0310-9956-ffa450edef68
* FOPropertyMapping.java no longer autogenerated, moved from fop.fo.propertiesGlen Mazza2004-01-201-1/+0
| | | | | | | to fo package in preparation for new property maker implementation. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197221 13f79535-47bb-0310-9956-ffa450edef68
* More String->Int conversions (ones I've missed previously.) Appears I've ↵Glen Mazza2004-01-141-3/+2
| | | | | | | | | finally converted all of them. From Finn Bock's patch. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197159 13f79535-47bb-0310-9956-ffa450edef68
* Minor patch for fixing NPE error when Locator not available--submitted byGlen Mazza2003-12-281-3/+5
| | | | | | | Finn Bock. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197071 13f79535-47bb-0310-9956-ffa450edef68
* *Partial* conversion of PropertyList.get(String propName) to new ↵Glen Mazza2003-12-271-3/+4
| | | | | | | | | | | PropertyList.get(int propId) method. This method will remain overloaded until all calls converted to int constants. Work based on Finn Bock's patch. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197059 13f79535-47bb-0310-9956-ffa450edef68
* ----------------------------------------------------------------------Glen Mazza2003-12-261-0/+15
| | | | | | | | Bug #25646 (Patch by Finn Bock): setting SAX Locator (line and column index of input fo stream) for debugging and better error feedback. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197054 13f79535-47bb-0310-9956-ffa450edef68
* Removed the elementStringTable HashMap references (never used; wasGlen Mazza2003-12-241-13/+0
| | | | | | | | | meant to define element-specific makers for a particular property, instead of the default make for the property) from fo.FObj and fo.PropertyList. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197053 13f79535-47bb-0310-9956-ffa450edef68
* Initial Check-in of PropertySets.java and .xsl. (Similar to Alt-Design'sGlen Mazza2003-12-221-1/+0
| | | | | | | | PropertySets, however uses integer arrays to identify those properties relevant for an FO.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197050 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2003-12-221-1/+1
| | | | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: 1.) renamed enumgen.xsl to longer but hopefully clearer prop-val-enum-interfaces.xsl 2.) Moved Constants.java from fo.properties to fo package, to reduce the need for layout and renderers to import directly from the properties package. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197048 13f79535-47bb-0310-9956-ffa450edef68
* Removal of some of the temporary code elements (FO Element lists still pending.)Glen Mazza2003-12-221-7/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197046 13f79535-47bb-0310-9956-ffa450edef68
* Property Makers now being activated via int constants. (Maker classes ↵Glen Mazza2003-12-201-12/+23
| | | | | | themselves, as well as code referencing the properties, still need conversion to int's. Also, HashMaps for String and Integer in FOPropertyMapping and FObj temporarily being retained for troubleshooting purposes.) Contribution mainly from Finn Bock (Bug #25480). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197043 13f79535-47bb-0310-9956-ffa450edef68
* 1. Moved static element and property structures from PropertyList ↵Glen Mazza2003-12-201-13/+34
| | | | | | | | | | | | (previously in former PropertyListBuilder) to FObj 2. Renamed FObj "properties" instance variable to "propertyList" (reduces confusion on the type of object holding FO property information in the code) 3. Unneeded imports removed (Finn Bock's patch, Bug #25582). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197042 13f79535-47bb-0310-9956-ffa450edef68
* Consolidated PropertyListBuilder and PropertyList.Glen Mazza2003-12-141-28/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197036 13f79535-47bb-0310-9956-ffa450edef68
* port from maintenance branch the variables that are used to track an ↵William Victor Mote2003-10-071-0/+7
| | | | | | object's location in the input file git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196946 13f79535-47bb-0310-9956-ffa450edef68
* Organize imports. Joerg Pietschmann2003-09-191-9/+6
| | | | | | | A bit of JavaDoc cosmetics. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196923 13f79535-47bb-0310-9956-ffa450edef68
* 1. convert fo/FOTreeVisitor to an interfaceWilliam Victor Mote2003-09-161-1/+1
| | | | | | | 2. give all FOTreeVisitor methods a unique name (instead of overloading) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196913 13f79535-47bb-0310-9956-ffa450edef68
* Remove all storage of fo/FOInputHandler from within the FO Tree itself, in ↵William Victor Mote2003-09-021-19/+0
| | | | | | favor of storing it one time in apps/Document and getting it from there when needed. Makes everything cleaner, and uses less memory, at the probable expense of some processing time (to go up the tree to get to Document). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196887 13f79535-47bb-0310-9956-ffa450edef68
* move storage of ID references from fo/FOInputHandler to fo/FOTreeControl ↵William Victor Mote2003-09-011-1/+1
| | | | | | (implemented in apps/Document) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196886 13f79535-47bb-0310-9956-ffa450edef68
* 1. move fo/flow/InstreamForeignObject.getInlineArea() to ↵William Victor Mote2003-08-241-2/+2
| | | | | | | | | layoutmgr/AddLMVisitor.getIFOInlineArea() 2. remove unneeded field fo/flow/InstreamForeignObject.areaCurrent git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196835 13f79535-47bb-0310-9956-ffa450edef68
* style/javadoc changes onlyWilliam Victor Mote2003-08-221-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196824 13f79535-47bb-0310-9956-ffa450edef68
* move logic for creating bookmarks/outlines in the area tree from ↵William Victor Mote2003-08-201-0/+4
| | | | | | extensions/Bookmarks to layoutmgr/LayoutManagerLS git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196818 13f79535-47bb-0310-9956-ffa450edef68
* 1. Remove fo/FOTreeExternal and layoutmgr/LMFOTreeExternal (in favor of ↵William Victor Mote2003-08-191-9/+4
| | | | | | | | | | Visitor concept, see item 2) 2. Add fo/FOTreeVisitor and layoutmgr/AddLMVisitor 3. Remove all occurrences of addLayoutManager in fo/FObj subclasses, replacing them with equivalent methods in AddLMVisitor git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196809 13f79535-47bb-0310-9956-ffa450edef68
* rename StructureHandler to FOInputHandler to clarify that its subclasses are ↵William Victor Mote2003-07-291-4/+4
| | | | | | handling data for output that is either structured or laid out git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196756 13f79535-47bb-0310-9956-ffa450edef68
* style changes onlyWilliam Victor Mote2003-07-171-5/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196726 13f79535-47bb-0310-9956-ffa450edef68
* style changes onlyWilliam Victor Mote2003-07-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196691 13f79535-47bb-0310-9956-ffa450edef68
* Bug #20397: Move StructureHandler.java to fo package and LayoutHandler.java ↵Glen Mazza2003-06-291-1/+0
| | | | | | to layoutmgr package. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196538 13f79535-47bb-0310-9956-ffa450edef68
* Add params includeSelf and returnRoot to findNearestAncestorGeneratingRAs() ↵William Victor Mote2003-05-021-8/+31
| | | | | | for a more general solution. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196391 13f79535-47bb-0310-9956-ffa450edef68
* Refactor: unwind "for" statement in findNearestAncestorGeneratingRAs() for ↵William Victor Mote2003-05-021-5/+5
| | | | | | more flexibility. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196390 13f79535-47bb-0310-9956-ffa450edef68
* Refactor: extract method findNearestAncestorGeneratingRAs() from ↵William Victor Mote2003-05-021-9/+21
| | | | | | setWritingMode(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196389 13f79535-47bb-0310-9956-ffa450edef68
* Refactor: Extract method FObj.getPropertiesForNamespace() from ↵William Victor Mote2003-05-011-0/+10
| | | | | | PropertyListBuilder.makeList(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196381 13f79535-47bb-0310-9956-ffa450edef68
* Refactor: Clean up API between FObj.handleAttrs() and ↵William Victor Mote2003-05-011-7/+2
| | | | | | PropertyListBuilder.makeList(). Pass the current object instead of the parent. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196380 13f79535-47bb-0310-9956-ffa450edef68
* Refactor: extract method findNearestAncestorFObj from handleAttrsWilliam Victor Mote2003-04-271-16/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196356 13f79535-47bb-0310-9956-ffa450edef68
* Moved sources from src/org/** to src/java/org/**Jeremias Maerki2003-03-111-0/+376
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196061 13f79535-47bb-0310-9956-ffa450edef68