aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix for auto height on absolutely positioned block-containers.Jeremias Maerki2005-01-171-39/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198277 13f79535-47bb-0310-9956-ffa450edef68
* block-containers improved/fixed. The following features are implemented and ↵Jeremias Maerki2005-01-175-129/+251
| | | | | | | | | | | | testcases exist: left, right, top, bottom, width, height, block-progression-dimension (partial), inline-progression-dimension (partial), borders, padding, indents, reference-orientation. autoheight works only for in-flow BCs ATM. start-indent calculation fixed: uses inherited value if rules in 5.3.2 don't apply. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198272 13f79535-47bb-0310-9956-ffa450edef68
* toString() methodJeremias Maerki2005-01-171-1/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198271 13f79535-47bb-0310-9956-ffa450edef68
* More info on blocks and block-containersJeremias Maerki2005-01-171-1/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198270 13f79535-47bb-0310-9956-ffa450edef68
* New traits: space-before, space-after, is-viewport-area, is-reference-areaJeremias Maerki2005-01-171-1/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198269 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-01-136-35/+57
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: "starting-state" property implemented for fo:bookmark. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198265 13f79535-47bb-0310-9956-ffa450edef68
* Clarification for the use of x/y-offset.Jeremias Maerki2005-01-121-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198263 13f79535-47bb-0310-9956-ffa450edef68
* Removed the "inheritedStartIndent" hack again.Jeremias Maerki2005-01-127-103/+237
| | | | | | | | | Switched to start|end-indent-oriented calculation. Improved line painting in the PDFRenderer. Some improvements in BlockContainerLayoutManager (but still WIP ATM). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198259 13f79535-47bb-0310-9956-ffa450edef68
* Convenience method for accessing inline-progression padding and border extents.Jeremias Maerki2005-01-121-1/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198258 13f79535-47bb-0310-9956-ffa450edef68
* Provide public access to width/height.Jeremias Maerki2005-01-121-6/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198257 13f79535-47bb-0310-9956-ffa450edef68
* Some more info on the area-tree.Jeremias Maerki2005-01-121-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198256 13f79535-47bb-0310-9956-ffa450edef68
* toString() method extended to provide helpful info.Jeremias Maerki2005-01-121-1/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198255 13f79535-47bb-0310-9956-ffa450edef68
* FIXED wasn't defined.Jeremias Maerki2005-01-121-1/+15
| | | | | | | Convenience method for accessing the start-indent trait. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198254 13f79535-47bb-0310-9956-ffa450edef68
* Defined the start|end-indent traits.Jeremias Maerki2005-01-121-2/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198253 13f79535-47bb-0310-9956-ffa450edef68
* No semantical changes, just style.Jeremias Maerki2005-01-121-9/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198252 13f79535-47bb-0310-9956-ffa450edef68
* Fix for keyword substitutions for enum properties. Check came too late ↵Jeremias Maerki2005-01-121-3/+3
| | | | | | evaluating the substituted value to a string instead of an enum value. (I found the problem in writing-mode) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198251 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-01-117-372/+336
| | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: 1.) EnumProperty starting-state implemented. 2.) Switch from "makeEnumProperty" to slightly more intuitive "getEnumProperty" in FOPropertyMapping. 3.) Removed no longer used canHaveIds array in PropertySets. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198250 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-01-092-23/+47
| | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: 1.) New attributeWarning() method added to FONode (needs to be renamed somehow because can this method can also be used for formatting object warnings as well--e.g., unimplemented FO's) 2.) Switch from processNode() -> bind() method for fo:bookmark. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198249 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for start-indent calculation for nested blocks. The inherited ↵Jeremias Maerki2005-01-073-34/+107
| | | | | | | | | start-indent wasn't taken into account as described in 5.3.2 of the spec. Minor style and javadoc improvements on the way. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198247 13f79535-47bb-0310-9956-ffa450edef68
* Provide access to the current PageViewport from the outside.Jeremias Maerki2005-01-071-4/+17
| | | | | | | Added a few useful debug log statements. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198246 13f79535-47bb-0310-9956-ffa450edef68
* toString() for easier debugging.Jeremias Maerki2005-01-071-1/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198245 13f79535-47bb-0310-9956-ffa450edef68
* toString() for easier debugging.Jeremias Maerki2005-01-071-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198244 13f79535-47bb-0310-9956-ffa450edef68
* Removed unnecessary cast as per Finn's suggestion.Jeremias Maerki2005-01-061-6/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198238 13f79535-47bb-0310-9956-ffa450edef68
* convertValueForProperty didn't have the right signature and therefore didn't ↵Jeremias Maerki2005-01-061-4/+4
| | | | | | override the superclass implementation. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198235 13f79535-47bb-0310-9956-ffa450edef68
* Alloc IPD/BPD, too, not just content IPD/BPD.Jeremias Maerki2005-01-061-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198230 13f79535-47bb-0310-9956-ffa450edef68
* Improved area tree XML generation by filtering uninformative attributes ↵Jeremias Maerki2005-01-061-40/+35
| | | | | | while adding others. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198228 13f79535-47bb-0310-9956-ffa450edef68
* 1.) fox:label converted to 1.1 fo:bookmark-title.Glen Mazza2005-01-0612-93/+148
| | | | | | | 2.) FObj, FObjMixed, InlineLevel made abstract. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198227 13f79535-47bb-0310-9956-ffa450edef68
* Refactored Area Tree XML Renderer to write XML to a TransformerHandler ↵Jeremias Maerki2005-01-052-205/+304
| | | | | | instead of to a Writer. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198224 13f79535-47bb-0310-9956-ffa450edef68
* Only check for the outputStream to be non-null if no overriding renderer has ↵Jeremias Maerki2005-01-051-2/+2
| | | | | | been set. People may wish to supply something other than an OutputStream. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198223 13f79535-47bb-0310-9956-ffa450edef68
* Updated copyright to 1999-2005 & added description for Group ProjectClay Leeds2005-01-051-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198222 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-01-048-62/+82
| | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Converted fox:outline to fo:bookmark. fox:label/fo:bookmark-title still to be done. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198221 13f79535-47bb-0310-9956-ffa450edef68
* Removed URL references to nagoya.Glen Mazza2005-01-034-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198220 13f79535-47bb-0310-9956-ffa450edef68
* Removed dependency on Avalon Framework for enums.Jeremias Maerki2005-01-031-3/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198218 13f79535-47bb-0310-9956-ffa450edef68
* Access to intrinsic image size for eg/ifo through getLayoutDimension() ↵Jeremias Maerki2005-01-036-73/+95
| | | | | | | | | | instead of through separate interface. Added a todo item about replacing the use of propertyList along with a reference to the related post on fop-dev. Made the LayoutDimension keys a subclass of Avalon Framework's Enum to make the thing more debugger-friendly and more type-safe. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198217 13f79535-47bb-0310-9956-ffa450edef68
* Switched from fox:bookmarks to fo:bookmark-tree (of XSL 1.1 2WD). Two moreGlen Mazza2005-01-0210-116/+148
| | | | | | | | bookmark-related FO's (fox:outline and fox:label) need conversion and will be done next. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198216 13f79535-47bb-0310-9956-ffa450edef68
* Support for percentages on external-graphic and instream-foreign-object for ↵Jeremias Maerki2004-12-287-68/+203
| | | | | | the content-height and content-width attributes. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198215 13f79535-47bb-0310-9956-ffa450edef68
* Enable border and background for instream-foreign-object.Jeremias Maerki2004-12-282-9/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198214 13f79535-47bb-0310-9956-ffa450edef68
* Rename parameter to match the type.Jeremias Maerki2004-12-281-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198213 13f79535-47bb-0310-9956-ffa450edef68
* Changed LayoutManagerMaker.makeLayoutManager(FONode node) to throw aSimon Pepping2004-12-274-227/+263
| | | | | | | | | FOPException, and removed LayoutManagerMaker.makeLayoutManager(FONode node, boolean checkLength). Adapted LayoutManagerMapping, PageSequenceLM and AreaTreeHandler. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198212 13f79535-47bb-0310-9956-ffa450edef68
* Added some comments.Simon Pepping2004-12-271-4/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198211 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-12-252-207/+206
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: "End of Year" constant cleanup. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198210 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-12-252-29/+30
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: More XSL 1.1-like terms for PDF bookmarks used, minor bug in TableLayoutManagerMaker fixed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198209 13f79535-47bb-0310-9956-ffa450edef68
* This patch implements a pluggable LayoutManagers system, accordingSimon Pepping2004-12-2435-301/+537
| | | | | | | | | | | | | | | | | | | | | | | | | to the ideas of Finn Bock and his patch in bug 30500. Created a LayoutManagerMaker interface, with method makeLayoutManagers(FONode, List), and two convenience methods on top of it. Created an implementation: LayoutManagerMapping. This is along the pattern of FOElementMapping. It creates a Map from FObj class to Maker objects. There are many static inner classes which are subclasses of Maker. Each subclass implements its own version of the make method. FOUserAgent has a setter and getter for LayoutManagerMakerOverride. AreaTreeHandler creates a LayoutManagerMaker, taking the user's override into account, using LayoutManagerMapping as the default. It has a get method for it. The LayoutManager interface has a get method for the AreaTreeHandler object, a reference to which is held in PageSequenceLM, the top of the LM tree. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198208 13f79535-47bb-0310-9956-ffa450edef68
* Very minor edits to Bookmark handling code.Glen Mazza2004-12-231-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198207 13f79535-47bb-0310-9956-ffa450edef68
* Fixed the NPE for fo:title in FOText.createBlockPointers by returningSimon Pepping2004-12-222-30/+29
| | | | | | | | | | | | | early. Fixed the absence of output for fo:title: In ContentLM.fillArea, replace curLM.getNextBreakPoss with getNextKnuthElements, BreakPossIter with KnuthPossIter. Copied the line parameter calculations from LineLM.makeLineBreakPosition. This is only a rough patch: leaders, external graphics, page numbers cause null pointer exceptions. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198206 13f79535-47bb-0310-9956-ffa450edef68
* Removed instances of InlineStackingLayoutManager. Created a new FOSimon Pepping2004-12-2210-160/+142
| | | | | | | | | node class, InlineLevel, a subclass of FObjMixed, a base class for several inline-level FObj: Inline, Leader, Title. The InlineLayoutManager constructor requires an FObj of this type. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198205 13f79535-47bb-0310-9956-ffa450edef68
* Implemented cloning and reparenting of the subtree under a marker toSimon Pepping2004-12-215-39/+173
| | | | | | | | | | | | | | | | | | | | | | | | the retrieving retrieve-marker. The FO nodes are cloned. The new subtree is attached to the RetrieveMarker object. The property lists are not cloned. The subtree of property lists is attached to the property list of the RetrieveMarker object. This is only needed for the binding of the FO nodes. After that a subsequent retrieve-marker may reparent the property lists. Removed Marker's reference to its property list. In Marker.endOfNode() the parent of the property lists of the direct children of marker is reset to null. FOText nodes are not mapped to the Marker's property list in Marker. This allows the Marker's property list and its ancestors to be GC'ed. FOText nodes use the parent FO node's property list or the RetrieveMarker's property list for binding. TODO: Block.handleWhiteSpace is not applied to text in retrieve-marker. TODO: White space treatment around retrieve-marker is incorrect. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198204 13f79535-47bb-0310-9956-ffa450edef68
* Moved the (upcoming) fo:bookmark-tree construction code from AreaTreeHandlerGlen Mazza2004-12-172-54/+54
| | | | | | | to the BookmarkData object. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198203 13f79535-47bb-0310-9956-ffa450edef68
* More code commenting and minor cleanup of bookmark/Resolvable/ATH code.Glen Mazza2004-12-169-59/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198202 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-12-162-28/+15
| | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Removed Runnable interface from PSLM; new method "activateLayout()" combines former run() and doLayout() methods in PSLM. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198201 13f79535-47bb-0310-9956-ffa450edef68