]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
19 years agoFix for auto height on absolutely positioned block-containers.
Jeremias Maerki [Mon, 17 Jan 2005 13:55:58 +0000 (13:55 +0000)]
Fix for auto height on absolutely positioned block-containers.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198277 13f79535-47bb-0310-9956-ffa450edef68

19 years agoCheck absolutely positioned block-containers with auto height.
Jeremias Maerki [Mon, 17 Jan 2005 13:53:56 +0000 (13:53 +0000)]
Check absolutely positioned block-containers with auto height.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198276 13f79535-47bb-0310-9956-ffa450edef68

19 years agoUsing only DOM elements to create checks. This should help avoid errors due to commen...
Jeremias Maerki [Mon, 17 Jan 2005 12:56:07 +0000 (12:56 +0000)]
Using only DOM elements to create checks. This should help avoid errors due to comment nodes being passed to the factory method.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198275 13f79535-47bb-0310-9956-ffa450edef68

19 years agoForgot the checks.
Jeremias Maerki [Mon, 17 Jan 2005 11:01:06 +0000 (11:01 +0000)]
Forgot the checks.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198274 13f79535-47bb-0310-9956-ffa450edef68

19 years agotestcases for block-containers
Jeremias Maerki [Mon, 17 Jan 2005 10:38:43 +0000 (10:38 +0000)]
testcases for block-containers

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198273 13f79535-47bb-0310-9956-ffa450edef68

19 years agoblock-containers improved/fixed. The following features are implemented and testcases...
Jeremias Maerki [Mon, 17 Jan 2005 10:38:02 +0000 (10:38 +0000)]
block-containers improved/fixed. The following features are implemented and 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

19 years agotoString() method
Jeremias Maerki [Mon, 17 Jan 2005 10:33:51 +0000 (10:33 +0000)]
toString() method

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198271 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMore info on blocks and block-containers
Jeremias Maerki [Mon, 17 Jan 2005 10:30:55 +0000 (10:30 +0000)]
More info on blocks and block-containers

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198270 13f79535-47bb-0310-9956-ffa450edef68

19 years agoNew traits: space-before, space-after, is-viewport-area, is-reference-area
Jeremias Maerki [Mon, 17 Jan 2005 10:30:16 +0000 (10:30 +0000)]
New traits: space-before, space-after, is-viewport-area, is-reference-area

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198269 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdding JAXP plus Xerces for the all-in-one transcoder tests.
Jeremias Maerki [Thu, 13 Jan 2005 22:07:52 +0000 (22:07 +0000)]
Adding JAXP plus Xerces for the all-in-one transcoder tests.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198268 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTestcase for checking start-indent inheritance across block-containers.
Jeremias Maerki [Thu, 13 Jan 2005 15:07:02 +0000 (15:07 +0000)]
Testcase for checking start-indent inheritance across block-containers.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198267 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemoved Simon's line again and added an explanation why that line shouldn't be there.
Jeremias Maerki [Thu, 13 Jan 2005 07:04:00 +0000 (07:04 +0000)]
Removed Simon's line again and added an explanation why that line shouldn't be there.
Added java.awt.headless="true" to the forked JUnit tests to satisfy Gump.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198266 13f79535-47bb-0310-9956-ffa450edef68

19 years agoPR:
Glen Mazza [Thu, 13 Jan 2005 00:06:25 +0000 (00:06 +0000)]
PR:
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

19 years agoFixed an error in the classpath of one of the junit tests
Simon Pepping [Wed, 12 Jan 2005 19:50:36 +0000 (19:50 +0000)]
Fixed an error in the classpath of one of the junit tests
PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198264 13f79535-47bb-0310-9956-ffa450edef68

19 years agoClarification for the use of x/y-offset.
Jeremias Maerki [Wed, 12 Jan 2005 14:31:38 +0000 (14:31 +0000)]
Clarification for the use of x/y-offset.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198263 13f79535-47bb-0310-9956-ffa450edef68

19 years agoSome basic tests for inline- and block-containers.
Jeremias Maerki [Wed, 12 Jan 2005 12:05:23 +0000 (12:05 +0000)]
Some basic tests for inline- and block-containers.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198262 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFixing wrong values (wrong interpretation on my side)
Jeremias Maerki [Wed, 12 Jan 2005 12:04:54 +0000 (12:04 +0000)]
Fixing wrong values (wrong interpretation on my side)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198261 13f79535-47bb-0310-9956-ffa450edef68

19 years agoStyle fix
Jeremias Maerki [Wed, 12 Jan 2005 12:03:17 +0000 (12:03 +0000)]
Style fix

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198260 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemoved the "inheritedStartIndent" hack again.
Jeremias Maerki [Wed, 12 Jan 2005 12:03:00 +0000 (12:03 +0000)]
Removed the "inheritedStartIndent" hack again.
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

19 years agoConvenience method for accessing inline-progression padding and border extents.
Jeremias Maerki [Wed, 12 Jan 2005 11:57:02 +0000 (11:57 +0000)]
Convenience method for accessing inline-progression padding and border extents.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198258 13f79535-47bb-0310-9956-ffa450edef68

19 years agoProvide public access to width/height.
Jeremias Maerki [Wed, 12 Jan 2005 11:55:57 +0000 (11:55 +0000)]
Provide public access to width/height.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198257 13f79535-47bb-0310-9956-ffa450edef68

19 years agoSome more info on the area-tree.
Jeremias Maerki [Wed, 12 Jan 2005 11:51:25 +0000 (11:51 +0000)]
Some more info on the area-tree.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198256 13f79535-47bb-0310-9956-ffa450edef68

19 years agotoString() method extended to provide helpful info.
Jeremias Maerki [Wed, 12 Jan 2005 11:50:31 +0000 (11:50 +0000)]
toString() method extended to provide helpful info.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198255 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFIXED wasn't defined.
Jeremias Maerki [Wed, 12 Jan 2005 11:49:03 +0000 (11:49 +0000)]
FIXED wasn't defined.
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

19 years agoDefined the start|end-indent traits.
Jeremias Maerki [Wed, 12 Jan 2005 11:47:45 +0000 (11:47 +0000)]
Defined the start|end-indent traits.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198253 13f79535-47bb-0310-9956-ffa450edef68

19 years agoNo semantical changes, just style.
Jeremias Maerki [Wed, 12 Jan 2005 11:38:00 +0000 (11:38 +0000)]
No semantical changes, just style.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198252 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix for keyword substitutions for enum properties. Check came too late evaluating...
Jeremias Maerki [Wed, 12 Jan 2005 11:36:30 +0000 (11:36 +0000)]
Fix for keyword substitutions for enum properties. Check came too late 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

19 years agoPR:
Glen Mazza [Tue, 11 Jan 2005 00:07:52 +0000 (00:07 +0000)]
PR:
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

19 years agoPR:
Glen Mazza [Sun, 9 Jan 2005 12:47:40 +0000 (12:47 +0000)]
PR:
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

19 years agoCan remove block-nested1.xml again, now that the bug is fixed.
Jeremias Maerki [Fri, 7 Jan 2005 08:29:00 +0000 (08:29 +0000)]
Can remove block-nested1.xml again, now that the bug is fixed.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198248 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBugfix for start-indent calculation for nested blocks. The inherited start-indent...
Jeremias Maerki [Fri, 7 Jan 2005 08:21:21 +0000 (08:21 +0000)]
Bugfix for start-indent calculation for nested blocks. The inherited 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

19 years agoProvide access to the current PageViewport from the outside.
Jeremias Maerki [Fri, 7 Jan 2005 07:55:47 +0000 (07:55 +0000)]
Provide access to the current PageViewport from the outside.
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

19 years agotoString() for easier debugging.
Jeremias Maerki [Fri, 7 Jan 2005 07:48:36 +0000 (07:48 +0000)]
toString() for easier debugging.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198245 13f79535-47bb-0310-9956-ffa450edef68

19 years agotoString() for easier debugging.
Jeremias Maerki [Fri, 7 Jan 2005 07:36:05 +0000 (07:36 +0000)]
toString() for easier debugging.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198244 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFork JUnit test in new VM. (Maybe this fixes classpath problems with commons-logging...
Jeremias Maerki [Thu, 6 Jan 2005 19:20:37 +0000 (19:20 +0000)]
Fork JUnit test in new VM. (Maybe this fixes classpath problems with commons-logging when Xalan compiles again).
Added layout engine tests specifying a default exclusion file.
To disable the exclusion file add the following line to your build-local.properties:
layoutengine.disabled=

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198243 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd ability to optionally specify a simple textfile with a list of filenames of testc...
Jeremias Maerki [Thu, 6 Jan 2005 19:17:51 +0000 (19:17 +0000)]
Add ability to optionally specify a simple textfile with a list of filenames of testcases to be disabled (one entry per line).
Specify a filename with that textfile in the system property "fop.layoutengine.disabled".
disabled-testcases.txt should serve as our default file for this purpose (ex. in Gump).

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198242 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTest for nested blocks with borders, margins and padding.
Jeremias Maerki [Thu, 6 Jan 2005 16:09:57 +0000 (16:09 +0000)]
Test for nested blocks with borders, margins and padding.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198241 13f79535-47bb-0310-9956-ffa450edef68

19 years agomargin shorthands test
Jeremias Maerki [Thu, 6 Jan 2005 15:01:48 +0000 (15:01 +0000)]
margin shorthands test

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198240 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMore basic tests.
Jeremias Maerki [Thu, 6 Jan 2005 14:31:39 +0000 (14:31 +0000)]
More basic tests.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198239 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemoved unnecessary cast as per Finn's suggestion.
Jeremias Maerki [Thu, 6 Jan 2005 13:18:43 +0000 (13:18 +0000)]
Removed unnecessary cast as per Finn's suggestion.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198238 13f79535-47bb-0310-9956-ffa450edef68

19 years agomore tests.
Jeremias Maerki [Thu, 6 Jan 2005 13:15:09 +0000 (13:15 +0000)]
more tests.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198237 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTest fixed. I was wrong at first.
Jeremias Maerki [Thu, 6 Jan 2005 11:09:56 +0000 (11:09 +0000)]
Test fixed. I was wrong at first.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198236 13f79535-47bb-0310-9956-ffa450edef68

19 years agoconvertValueForProperty didn't have the right signature and therefore didn't override...
Jeremias Maerki [Thu, 6 Jan 2005 11:09:03 +0000 (11:09 +0000)]
convertValueForProperty didn't have the right signature and therefore didn't override the superclass implementation.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198235 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTesting padding shorthands.
Jeremias Maerki [Thu, 6 Jan 2005 09:47:46 +0000 (09:47 +0000)]
Testing padding shorthands.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198234 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAbility to restrict the testcases being processed to one for debugging. Just specify...
Jeremias Maerki [Thu, 6 Jan 2005 09:46:55 +0000 (09:46 +0000)]
Ability to restrict the testcases being processed to one for debugging. Just specify its filename as a system property "fop.layoutengine.single".
Example: -Dfop.layoutengine.single=padding2.xml

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198233 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMore extensive checking. Use eval instead of true where appropriate.
Jeremias Maerki [Thu, 6 Jan 2005 09:13:05 +0000 (09:13 +0000)]
More extensive checking. Use eval instead of true where appropriate.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198232 13f79535-47bb-0310-9956-ffa450edef68

19 years agoXObject.str() fails the second time it is called. Makes debugging difficult. Get...
Jeremias Maerki [Thu, 6 Jan 2005 09:11:59 +0000 (09:11 +0000)]
XObject.str() fails the second time it is called. Makes debugging difficult. Get the result string early.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198231 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAlloc IPD/BPD, too, not just content IPD/BPD.
Jeremias Maerki [Thu, 6 Jan 2005 09:11:02 +0000 (09:11 +0000)]
Alloc IPD/BPD, too, not just content IPD/BPD.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198230 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdding new eval check for simpler checks and more informative error messages.
Jeremias Maerki [Thu, 6 Jan 2005 08:39:19 +0000 (08:39 +0000)]
Adding new eval check for simpler checks and more informative error messages.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198229 13f79535-47bb-0310-9956-ffa450edef68

19 years agoImproved area tree XML generation by filtering uninformative attributes while adding...
Jeremias Maerki [Thu, 6 Jan 2005 08:37:52 +0000 (08:37 +0000)]
Improved area tree XML generation by filtering uninformative attributes while adding others.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198228 13f79535-47bb-0310-9956-ffa450edef68

19 years ago1.) fox:label converted to 1.1 fo:bookmark-title.
Glen Mazza [Thu, 6 Jan 2005 00:56:26 +0000 (00:56 +0000)]
1.) fox:label converted to 1.1 fo:bookmark-title.
2.) FObj, FObjMixed, InlineLevel made abstract.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198227 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTwo initial very (!) simple checks for layout engine testing together with supporting...
Jeremias Maerki [Wed, 5 Jan 2005 21:14:22 +0000 (21:14 +0000)]
Two initial very (!) simple checks for layout engine testing together with supporting stylesheets.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198226 13f79535-47bb-0310-9956-ffa450edef68

19 years agoInitial version of a layout engine testing subsystem.
Jeremias Maerki [Wed, 5 Jan 2005 21:11:34 +0000 (21:11 +0000)]
Initial version of a layout engine testing subsystem.
Uses the area tree XML to check the output of the layout engine.
Provides a TestSuite for use with JUnit.
Individual test cases are defined in XML files.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198225 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRefactored Area Tree XML Renderer to write XML to a TransformerHandler instead of...
Jeremias Maerki [Wed, 5 Jan 2005 21:08:27 +0000 (21:08 +0000)]
Refactored Area Tree XML Renderer to write XML to a TransformerHandler instead of to a Writer.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198224 13f79535-47bb-0310-9956-ffa450edef68

19 years agoOnly check for the outputStream to be non-null if no overriding renderer has been...
Jeremias Maerki [Wed, 5 Jan 2005 21:06:37 +0000 (21:06 +0000)]
Only check for the outputStream to be non-null if no overriding renderer has 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

19 years agoUpdated copyright to 1999-2005 & added description for Group Project
Clay Leeds [Wed, 5 Jan 2005 15:43:19 +0000 (15:43 +0000)]
Updated copyright to 1999-2005 & added description for Group Project

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198222 13f79535-47bb-0310-9956-ffa450edef68

19 years agoPR:
Glen Mazza [Tue, 4 Jan 2005 00:21:47 +0000 (00:21 +0000)]
PR:
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

19 years agoRemoved URL references to nagoya.
Glen Mazza [Mon, 3 Jan 2005 22:39:27 +0000 (22:39 +0000)]
Removed URL references to nagoya.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198220 13f79535-47bb-0310-9956-ffa450edef68

19 years agoPR:
Glen Mazza [Mon, 3 Jan 2005 22:37:54 +0000 (22:37 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Removed nagoya reference from URL.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198219 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemoved dependency on Avalon Framework for enums.
Jeremias Maerki [Mon, 3 Jan 2005 14:02:54 +0000 (14:02 +0000)]
Removed dependency on Avalon Framework for enums.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198218 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAccess to intrinsic image size for eg/ifo through getLayoutDimension() instead of...
Jeremias Maerki [Mon, 3 Jan 2005 13:06:27 +0000 (13:06 +0000)]
Access to intrinsic image size for eg/ifo through getLayoutDimension() 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

19 years agoSwitched from fox:bookmarks to fo:bookmark-tree (of XSL 1.1 2WD). Two more
Glen Mazza [Sun, 2 Jan 2005 20:42:51 +0000 (20:42 +0000)]
Switched from fox:bookmarks to fo:bookmark-tree (of XSL 1.1 2WD).  Two more
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

19 years agoSupport for percentages on external-graphic and instream-foreign-object for the conte...
Jeremias Maerki [Tue, 28 Dec 2004 18:03:12 +0000 (18:03 +0000)]
Support for percentages on external-graphic and instream-foreign-object for 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

19 years agoEnable border and background for instream-foreign-object.
Jeremias Maerki [Tue, 28 Dec 2004 13:55:14 +0000 (13:55 +0000)]
Enable border and background for instream-foreign-object.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198214 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRename parameter to match the type.
Jeremias Maerki [Tue, 28 Dec 2004 13:54:30 +0000 (13:54 +0000)]
Rename parameter to match the type.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198213 13f79535-47bb-0310-9956-ffa450edef68

19 years agoChanged LayoutManagerMaker.makeLayoutManager(FONode node) to throw a
Simon Pepping [Mon, 27 Dec 2004 10:13:05 +0000 (10:13 +0000)]
Changed LayoutManagerMaker.makeLayoutManager(FONode node) to throw a
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

19 years agoAdded some comments.
Simon Pepping [Mon, 27 Dec 2004 10:09:31 +0000 (10:09 +0000)]
Added some comments.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198211 13f79535-47bb-0310-9956-ffa450edef68

19 years agoPR:
Glen Mazza [Sat, 25 Dec 2004 15:29:18 +0000 (15:29 +0000)]
PR:
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

19 years agoPR:
Glen Mazza [Sat, 25 Dec 2004 01:08:11 +0000 (01:08 +0000)]
PR:
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

19 years agoThis patch implements a pluggable LayoutManagers system, according
Simon Pepping [Fri, 24 Dec 2004 12:06:26 +0000 (12:06 +0000)]
This patch implements a pluggable LayoutManagers system, according
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

19 years agoVery minor edits to Bookmark handling code.
Glen Mazza [Thu, 23 Dec 2004 01:36:01 +0000 (01:36 +0000)]
Very minor edits to Bookmark handling code.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198207 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFixed the NPE for fo:title in FOText.createBlockPointers by returning
Simon Pepping [Wed, 22 Dec 2004 18:22:35 +0000 (18:22 +0000)]
Fixed the NPE for fo:title in FOText.createBlockPointers by returning
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

19 years agoRemoved instances of InlineStackingLayoutManager. Created a new FO
Simon Pepping [Wed, 22 Dec 2004 08:54:10 +0000 (08:54 +0000)]
Removed instances of InlineStackingLayoutManager. Created a new FO
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

19 years agoImplemented cloning and reparenting of the subtree under a marker to
Simon Pepping [Tue, 21 Dec 2004 11:28:05 +0000 (11:28 +0000)]
Implemented cloning and reparenting of the subtree under a marker to
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

19 years agoMoved the (upcoming) fo:bookmark-tree construction code from AreaTreeHandler
Glen Mazza [Fri, 17 Dec 2004 00:19:11 +0000 (00:19 +0000)]
Moved the (upcoming) fo:bookmark-tree construction code from AreaTreeHandler
to the BookmarkData object.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198203 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMore code commenting and minor cleanup of bookmark/Resolvable/ATH code.
Glen Mazza [Thu, 16 Dec 2004 23:59:13 +0000 (23:59 +0000)]
More code commenting and minor cleanup of bookmark/Resolvable/ATH code.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198202 13f79535-47bb-0310-9956-ffa450edef68

19 years agoPR:
Glen Mazza [Thu, 16 Dec 2004 01:03:04 +0000 (01:03 +0000)]
PR:
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

19 years agoPR:
Glen Mazza [Tue, 14 Dec 2004 23:16:44 +0000 (23:16 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
AreaTreeModel detached from BookmarkData; more code commenting.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198200 13f79535-47bb-0310-9956-ffa450edef68

19 years agoModified pdfoutline to have two page sequences--makes it more useful for
Glen Mazza [Mon, 13 Dec 2004 22:59:02 +0000 (22:59 +0000)]
Modified pdfoutline to have two page sequences--makes it more useful for
testing.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198199 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMoved PDF bookmark creation to endDocument(). (Fixed bug, was being
Glen Mazza [Sun, 12 Dec 2004 14:14:56 +0000 (14:14 +0000)]
Moved PDF bookmark creation to endDocument().  (Fixed bug, was being
created after each page sequence in document.)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198198 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemove unused import statements.
Finn Bock [Fri, 10 Dec 2004 10:12:21 +0000 (10:12 +0000)]
Remove unused import statements.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198197 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* created a new method which is called only once by LineLM.getNextBreakPoss() and...
Luca Furini [Thu, 9 Dec 2004 15:53:36 +0000 (15:53 +0000)]
* created a new method which is called only once by LineLM.getNextBreakPoss() and subsequently calls findBreakingPoints() with different parameters until a set of breaking point is found

* renamed lastDeactivatedNode -> bestDeactivatedNode, and updated only if the node to deactivate is "better" than the old one (may need some fine-tuning)

* instead of the fallback() method, which created only one lineBreakPosition, a
new algorithm is used if Knuth's fails

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198196 13f79535-47bb-0310-9956-ffa450edef68

19 years agoPR:
Glen Mazza [Thu, 9 Dec 2004 01:03:24 +0000 (01:03 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Moved bookmark creation to after end of document processing.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198195 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMake RTF output human-friendly by inserting line feeds.
Jeremias Maerki [Wed, 8 Dec 2004 18:52:32 +0000 (18:52 +0000)]
Make RTF output human-friendly by inserting line feeds.
Adding support for table cell padding.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198194 13f79535-47bb-0310-9956-ffa450edef68

19 years agobuilding and publishing the docs without forrestbot
Christian Geisert [Wed, 8 Dec 2004 03:15:55 +0000 (03:15 +0000)]
building and publishing the docs without forrestbot

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198193 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemoved RetrieveMarkerLM. The LMs of the marker children are attached
Simon Pepping [Tue, 7 Dec 2004 20:11:21 +0000 (20:11 +0000)]
Removed RetrieveMarkerLM. The LMs of the marker children are attached
in the LM tree as the direct children of the LM of the parent of the
RetrieveMarker. This patch solves bug 32253.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198192 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemoving inactiveList, which is useless.
Luca Furini [Mon, 6 Dec 2004 14:36:10 +0000 (14:36 +0000)]
Removing inactiveList, which is useless.
Thanks to Finn Bock for pointing this out.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198191 13f79535-47bb-0310-9956-ffa450edef68

19 years agoUsing the constant LineLayoutManager.DEFAULT_SPACE_WIDTH instead of the font-dependan...
Luca Furini [Mon, 6 Dec 2004 13:55:18 +0000 (13:55 +0000)]
Using the constant LineLayoutManager.DEFAULT_SPACE_WIDTH instead of the font-dependant wordSpaceIPD.opt when creating auxiliary glue items for start and end alignment

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198190 13f79535-47bb-0310-9956-ffa450edef68

19 years agoPR:
Glen Mazza [Mon, 6 Dec 2004 12:31:17 +0000 (12:31 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Reverted previous change; unintended check-in of this file.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198189 13f79535-47bb-0310-9956-ffa450edef68

19 years agoComments added
Luca Furini [Mon, 6 Dec 2004 11:55:18 +0000 (11:55 +0000)]
Comments added

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198188 13f79535-47bb-0310-9956-ffa450edef68

19 years agoPR:
Glen Mazza [Mon, 6 Dec 2004 05:37:17 +0000 (05:37 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Removed pretend "resolution" of still-unresolved idrefs at ATH.endDocument().  This was apparently done to force page rendering of remaining unresolved pages at RenderPagesModel.checkPreparedPages() (which requires a page to be completely resolved before rendering).  Replacement code keeps unresolved idrefs unresolved, but explicitly forces page rendering for calls to checkPreparedPages() that originate from ATH.endDocument().  Comments welcome.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198187 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* added Mac OS X CVS client info
Clay Leeds [Mon, 6 Dec 2004 05:18:12 +0000 (05:18 +0000)]
* added Mac OS X CVS client info

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198186 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* changed my address to clay.at.apache.org
Clay Leeds [Mon, 6 Dec 2004 05:02:26 +0000 (05:02 +0000)]
* changed my address to clay.at.apache.org

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198185 13f79535-47bb-0310-9956-ffa450edef68

19 years agoPR:
Glen Mazza [Sat, 4 Dec 2004 06:51:13 +0000 (06:51 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
More code commenting.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198184 13f79535-47bb-0310-9956-ffa450edef68

19 years agoPR:
Glen Mazza [Thu, 2 Dec 2004 01:59:40 +0000 (01:59 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
More commenting, changed definition of isResolved() somewhat in LinkResolver and UnresolvedPageNumber.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198183 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMore commenting, slightly clearer method names.
Glen Mazza [Thu, 2 Dec 2004 01:36:09 +0000 (01:36 +0000)]
More commenting, slightly clearer method names.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198182 13f79535-47bb-0310-9956-ffa450edef68

19 years agoPR:
Glen Mazza [Wed, 1 Dec 2004 01:45:21 +0000 (01:45 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Minor simplifications and more commenting added.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198181 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFixed a ClassCastException in rebind
Simon Pepping [Tue, 30 Nov 2004 20:20:59 +0000 (20:20 +0000)]
Fixed a ClassCastException in rebind

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198180 13f79535-47bb-0310-9956-ffa450edef68

19 years agoreplaced links to nagoya (Bugzilla/Eyebrowse) with (hopefully) more stables urls
Christian Geisert [Mon, 29 Nov 2004 17:30:42 +0000 (17:30 +0000)]
replaced links to nagoya (Bugzilla/Eyebrowse) with (hopefully) more stables urls

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198179 13f79535-47bb-0310-9956-ffa450edef68

19 years agofixed swapped links for Defoe & FOray
Clay Leeds [Mon, 29 Nov 2004 14:52:11 +0000 (14:52 +0000)]
fixed swapped links for Defoe & FOray

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198178 13f79535-47bb-0310-9956-ffa450edef68