aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/FObjMixed.java
Commit message (Collapse)AuthorAgeFilesLines
* New exception hierarchy rooted in SAXException and throw clauses onFinn Bock2004-10-281-2/+4
| | | | | | | | | property parsing and retrieval. PR: 31899 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198106 13f79535-47bb-0310-9956-ffa450edef68
* Second phase of performance improvement.Finn Bock2004-10-191-11/+4
| | | | | | | | | - Pass in a PropertyList to addCharacters() PR: 31699 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198059 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-10-131-2/+1
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Some simplifications allowed as a result of having FOText extend FONode directly. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198042 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-10-121-1/+1
| | | | | | | | | | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Start of work to move FOText from extending FObj to extending FONode instead. All work is done except for changing FObj's parent from FObj to FONode. The RTF library works fine with the switch, but simple.fo and franklin_alt.fo (among others I guess) will not work properly when FOText's parent is switched. (Layout problems occur--lines don't break properly with the switch.) Switch to super() constructor (instead of super(fobj) one) within within TextLayoutManager, as it is not needed for this subclass, also to facilitate the change above. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198040 13f79535-47bb-0310-9956-ffa450edef68
* Removed tab characters.Jeremias Maerki2004-09-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197939 13f79535-47bb-0310-9956-ffa450edef68
* Removed unneeded import statements. Makes eclipse happy.Finn Bock2004-09-071-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197933 13f79535-47bb-0310-9956-ffa450edef68
* Renamed FOInputHandler to somewhat more intuitive FOEventHandler.Glen Mazza2004-09-061-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197911 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-09-051-2/+3
| | | | | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: 1.) AddChildNode(), characters() modified to throw SAXParseException to allow AddChildNode() to do validation of its own. 2.) Better child validation added to PageSequence.java. 3.) Various other code cleanups. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197903 13f79535-47bb-0310-9956-ffa450edef68
* Moved some functionality from LMiter to the LayoutManagers. The LMsSimon Pepping2004-08-261-1/+0
| | | | | | | | | | 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
* Minor edits.Glen Mazza2004-08-221-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197886 13f79535-47bb-0310-9956-ffa450edef68
* 1.) fo:Instream-Foreign-Object initialization logic moved from AddLMVisitorGlen Mazza2004-08-141-0/+1
| | | | | | | | | | | | 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. For maintenance and accuracy, centralized the setupID() functionalityGlen Mazza2004-08-111-6/+0
| | | | | | | | | | | | 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
* PR:Glen Mazza2004-08-061-1/+1
| | | | | | | | | | 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-061-6/+12
| | | | | | | | | | | | 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
* 1. validation for fo:basic-link addedGlen Mazza2004-07-311-1/+0
| | | | | | | | | | | 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-271-5/+5
| | | | | | | | 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
* Renamed FONode.addChild() to somewhat clearer FONode.addChildNode().Glen Mazza2004-07-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197821 13f79535-47bb-0310-9956-ffa450edef68
* 1. FOTreeBuilder modified to handle more of the renderer initialization.Glen Mazza2004-06-181-2/+2
| | | | | | | | | | 2. AreaTree now takes a Renderer as a constructor, handles RenderPagesModel initialization. 3. FontInfo object moved from Driver/Document to fo.FOInputHandler. 4. getFontState/getFontInfo now take a fontInfo object directly instead of a apps.Document. 5. validity checking added to PageSequence.java git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197734 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Check for fo:color-profile made to ensure no child elements during ↵Glen Mazza2004-06-161-3/+3
| | | | | | | | | | | processing. 2.) Error messages for bad fo: files now give locator (line/col. #) information. 3.) Parent of the fo:root (FO Tree) "lowered" from apps.Document to fo.FOInputHandler; IDReferences moved from former to latter. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197717 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Added restriction to fo:declarations that fo:color-profile is the only ↵Glen Mazza2004-06-151-3/+3
| | | | | | | | | XSL namespace child element allowed. 2.) Switched from fo.FOTreeControl to apps.Document throughout app, to better clarify that it is the apps.Document object being accessed/used. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197716 13f79535-47bb-0310-9956-ffa450edef68
* Another attempt at fixing the space removal issue. This methodGlen Mazza2004-04-041-1/+1
| | | | | | | | | | | | combines the long-standing previous method (the one that removed spaces between words correctly, at a cost of a leading extra space for the first FOText instance of an fo:block) with my later patch (which would fix the extra space issue but had problems with spaces between words). It appears to work well, but the fo:inline issues Simon brought up will still need further work. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197489 13f79535-47bb-0310-9956-ffa450edef68
* Simplifications to FOText whitespace removal; fewer arraycopies performed.Glen Mazza2004-03-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197443 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Modified TextLayoutManager to take an additional lengthGlen Mazza2004-03-011-1/+1
| | | | | | | | | | | | | | parameter, indicating the maximum valid index of the passed-in character array. 2.) Removed from AddLMVisitor (which calls the above class), the re-fitting of the FOText character array to the size of the maximum valid index. 3.) Various small cleanup issues. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197402 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
* Some simplification of FOText object.Glen Mazza2004-02-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197383 13f79535-47bb-0310-9956-ffa450edef68
* ----------------------------------------------------------------------Glen Mazza2003-12-261-1/+7
| | | | | | | | 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
* 1. Moved static element and property structures from PropertyList ↵Glen Mazza2003-12-201-1/+1
| | | | | | | | | | | | (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
* minor elaborationGlen Mazza2003-11-161-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197016 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 storage of apps/FOUserAgent from fo/FONode in favor of storing it ↵William Victor Mote2003-09-021-1/+0
| | | | | | once in a higher level class (currently Driver), and accessing it from there. Cleaner design, uses less memory, at the expense of some additional processing time to come up the tree to find the information. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196888 13f79535-47bb-0310-9956-ffa450edef68
* Remove all storage of fo/FOInputHandler from within the FO Tree itself, in ↵William Victor Mote2003-09-021-11/+1
| | | | | | 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
* checkstyle/javadoc changes onlyWilliam Victor Mote2003-09-011-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196884 13f79535-47bb-0310-9956-ffa450edef68
* move fo/FOUserAgent to apps/FOUserAgent, as it manages configuration ↵William Victor Mote2003-08-221-0/+2
| | | | | | information for the application as a whole git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196827 13f79535-47bb-0310-9956-ffa450edef68
* style changes onlyWilliam Victor Mote2003-08-221-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196825 13f79535-47bb-0310-9956-ffa450edef68
* create fo/FOTreeControl interface, and make control/Document implement it, ↵William Victor Mote2003-08-191-4/+4
| | | | | | to further encapsulate the FO Tree git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196811 13f79535-47bb-0310-9956-ffa450edef68
* 1. Remove fo/FOTreeExternal and layoutmgr/LMFOTreeExternal (in favor of ↵William Victor Mote2003-08-191-14/+3
| | | | | | | | | | 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
* 1. tie Document to fo.FOTreeBuilder and fo.pagination.RootWilliam Victor Mote2003-08-161-2/+2
| | | | | | | | 2. add getDocument() method to FONode (using this.parent for all nodes except Root) 3. start using getDocument() to gain access to font collections stored in Document git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196808 13f79535-47bb-0310-9956-ffa450edef68
* 1. create control packageWilliam Victor Mote2003-08-141-2/+2
| | | | | | | 2. move layout.FontInfo to control.Document git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196798 13f79535-47bb-0310-9956-ffa450edef68
* rename StructureHandler to FOInputHandler to clarify that its subclasses are ↵William Victor Mote2003-07-291-5/+5
| | | | | | 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-131-6/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196693 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 support for text-transform.William Victor Mote2003-03-251-11/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196141 13f79535-47bb-0310-9956-ffa450edef68
* Moved sources from src/org/** to src/java/org/**Jeremias Maerki2003-03-111-0/+113
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196061 13f79535-47bb-0310-9956-ffa450edef68