]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
19 years agoMethod for determining if there's a background at all.
Jeremias Maerki [Mon, 7 Feb 2005 10:53:26 +0000 (10:53 +0000)]
Method for determining if there's a background at all.

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

19 years agoChecks for marker test cases. markers5b disabled because of a bug with table handling...
Jeremias Maerki [Mon, 7 Feb 2005 10:47:58 +0000 (10:47 +0000)]
Checks for marker test cases. markers5b disabled because of a bug with table handling that I will fix shortly.

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

19 years agoPR:
Glen Mazza [Sun, 6 Feb 2005 20:48:48 +0000 (20:48 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Rolled the PageNumberGenerator from PSLM back into PageSequence (slightly simpler, also this functionality is useful for non-layout render types), renamed PageViewport.getPageNumber() to .getPageNumberString() to emphasize what it is actually returning.

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

19 years agoPR:
Glen Mazza [Sun, 6 Feb 2005 08:14:07 +0000 (08:14 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Minor variable renaming in PSLM, removed pageCount variable from ATH.

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

19 years agoPR:
Glen Mazza [Sat, 5 Feb 2005 07:39:12 +0000 (07:39 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Switch to Root's page number counter.

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

19 years agoTest for block-progression-dimension and height on table-cell.
Jeremias Maerki [Fri, 4 Feb 2005 17:10:57 +0000 (17:10 +0000)]
Test for block-progression-dimension and height on table-cell.

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

19 years agoCan reenable some tests for table-columns after the last improvement.
Jeremias Maerki [Fri, 4 Feb 2005 10:34:33 +0000 (10:34 +0000)]
Can reenable some tests for table-columns after the last improvement.

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

19 years agoBetter table-column build-up. Columns can now be in non-consecutive order (using...
Jeremias Maerki [Fri, 4 Feb 2005 10:33:39 +0000 (10:33 +0000)]
Better table-column build-up. Columns can now be in non-consecutive order (using column-number) and number-columns-repeated is now respected. Missing columns (gaps) are logged as an error but no further handling ATM.

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

19 years agoChecks and an addtional method to determine whether a column-number is set.
Jeremias Maerki [Fri, 4 Feb 2005 10:31:26 +0000 (10:31 +0000)]
Checks and an addtional method to determine whether a column-number is set.

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

19 years agoRegression test for label-end() function when there are margins on the page-master...
Jeremias Maerki [Fri, 4 Feb 2005 08:27:30 +0000 (08:27 +0000)]
Regression test for label-end() function when there are margins on the page-master and the list-block is a direct child of a flow.

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

19 years agoBugfix for list labels that were not properly placed when the list-block is a child...
Jeremias Maerki [Fri, 4 Feb 2005 08:25:06 +0000 (08:25 +0000)]
Bugfix for list labels that were not properly placed when the list-block is a child of a flow and there are margins on the page-master.

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

19 years agoNotify the AreaTreeHandler about new pages being added.
Jeremias Maerki [Thu, 3 Feb 2005 20:45:33 +0000 (20:45 +0000)]
Notify the AreaTreeHandler about new pages being added.

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

19 years agoAdd a facility for the PageSequenceLayoutManager to notify about a new page being...
Jeremias Maerki [Thu, 3 Feb 2005 20:44:44 +0000 (20:44 +0000)]
Add a facility for the PageSequenceLayoutManager to notify about a new page being added so the rendering statistics work again.

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

19 years agoDerived from markers4 these two test cases exercise BlockLayoutManager.addMarkers...
Jeremias Maerki [Thu, 3 Feb 2005 17:06:29 +0000 (17:06 +0000)]
Derived from markers4 these two test cases exercise BlockLayoutManager.addMarkers() where currently some markers are added to the wrong page.

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

19 years agoThe checks were wrong because of the leading linefeed. Also, the space-before is...
Jeremias Maerki [Thu, 3 Feb 2005 08:22:42 +0000 (08:22 +0000)]
The checks were wrong because of the leading linefeed. Also, the space-before is not suitable in this case ATM for a space before that block. Using a bc with fixed height instead.

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

19 years agoBugfix for whitespace handling that surfaced after my last fix for linefeed handling...
Jeremias Maerki [Thu, 3 Feb 2005 08:18:27 +0000 (08:18 +0000)]
Bugfix for whitespace handling that surfaced after my last fix for linefeed handling when markers are involved. Nodes preceeding a marker that don't create an area were removed from the childNodes list but the firstInlineChild was not cleared creating additional unwanted empty lines in the output.

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

19 years agoCan enable some test cases again.
Jeremias Maerki [Wed, 2 Feb 2005 15:06:55 +0000 (15:06 +0000)]
Can enable some test cases again.

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

19 years agoBugfix for blocks with forced linefeeds that break over the page boundary.
Jeremias Maerki [Wed, 2 Feb 2005 15:05:51 +0000 (15:05 +0000)]
Bugfix for blocks with forced linefeeds that break over the page boundary.
Submitted by: Luca Furini <lfurini.at.cs.unibo.it>

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

19 years agoDon't ignore linefeeds when building Knuth elements.
Jeremias Maerki [Wed, 2 Feb 2005 15:03:55 +0000 (15:03 +0000)]
Don't ignore linefeeds when building Knuth elements.

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

19 years agoBugfix for omitted empty lines caused by forced linefeeds.
Jeremias Maerki [Wed, 2 Feb 2005 14:19:06 +0000 (14:19 +0000)]
Bugfix for omitted empty lines caused by forced linefeeds.

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

19 years agoTest case showing a problem with empty lines generated by forced linefeeds.
Jeremias Maerki [Wed, 2 Feb 2005 14:16:48 +0000 (14:16 +0000)]
Test case showing a problem with empty lines generated by forced linefeeds.

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

19 years agonormal-breaking2 simplified and now showing a different problem that might hint at...
Jeremias Maerki [Wed, 2 Feb 2005 11:13:55 +0000 (11:13 +0000)]
normal-breaking2 simplified and now showing a different problem that might hint at the problem in normal-breaking2.

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

19 years agoBug #33321
Jeremias Maerki [Wed, 2 Feb 2005 07:33:14 +0000 (07:33 +0000)]
Bug #33321
Fix for invalid regular expressions. Patch committed with modifications.
Submitted by: James Shaw <hertzsprrrung.at.btopenworld.com>

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

19 years agoRegression test for ArrayOutOfBoundsException in LineLayoutManager.addAreas() (to...
Jeremias Maerki [Tue, 1 Feb 2005 21:51:37 +0000 (21:51 +0000)]
Regression test for ArrayOutOfBoundsException in LineLayoutManager.addAreas() (to be fixed).

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

19 years agoName of parameter was wrong.
Jeremias Maerki [Tue, 1 Feb 2005 21:21:28 +0000 (21:21 +0000)]
Name of parameter was wrong.
Some style updates while at it.

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

19 years agoAdding an example with "no-repeat"
Jeremias Maerki [Tue, 1 Feb 2005 14:30:06 +0000 (14:30 +0000)]
Adding an example with "no-repeat"

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

19 years agoSpecial regression test for cases where blocks are empty except for marker elements.
Jeremias Maerki [Tue, 1 Feb 2005 14:19:06 +0000 (14:19 +0000)]
Special regression test for cases where blocks are empty except for marker elements.

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

19 years agoBugfix for special case when markers weren't added correctly. This happens when a...
Jeremias Maerki [Tue, 1 Feb 2005 14:18:28 +0000 (14:18 +0000)]
Bugfix for special case when markers weren't added correctly. This happens when a block is empty except for marker elements.

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

19 years agoBoth fore- and background colors are initially black. This fixes a bug where in a...
Jeremias Maerki [Tue, 1 Feb 2005 13:11:20 +0000 (13:11 +0000)]
Both fore- and background colors are initially black. This fixes a bug where in a certain situation a white background resulted in a black rectangle being painted because the color operators are only generated if the color changes.

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

19 years agoPR:
Glen Mazza [Mon, 31 Jan 2005 22:29:13 +0000 (22:29 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Copyright years fixed.

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

19 years agoAddition of new fo:page-sequence-wrapper FO from XSL 1.1. Currently not "plugged...
Glen Mazza [Mon, 31 Jan 2005 22:27:20 +0000 (22:27 +0000)]
Addition of new fo:page-sequence-wrapper FO from XSL 1.1.  Currently not "plugged in" (it is commented out in FOElementMapping) nor functionally implemented.

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

19 years agoBorder, Padding and spaces on level fo:table.
Jeremias Maerki [Mon, 31 Jan 2005 21:16:45 +0000 (21:16 +0000)]
Border, Padding and spaces on level fo:table.

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

19 years agoTest for proportional-column-width() function.
Jeremias Maerki [Mon, 31 Jan 2005 17:02:27 +0000 (17:02 +0000)]
Test for proportional-column-width() function.

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

19 years agoTest for height and block-progression-dimension on table-row (disabled because it...
Jeremias Maerki [Mon, 31 Jan 2005 15:20:47 +0000 (15:20 +0000)]
Test for height and block-progression-dimension on table-row (disabled because it fails).

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

19 years agoTwo test cases testing table-column properties (disabled because they fail).
Jeremias Maerki [Mon, 31 Jan 2005 14:53:57 +0000 (14:53 +0000)]
Two test cases testing table-column properties (disabled because they fail).

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

19 years agoFirst most basic test for tables.
Jeremias Maerki [Mon, 31 Jan 2005 13:58:53 +0000 (13:58 +0000)]
First most basic test for tables.

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

19 years agotable-cell generates a normal reference-area.
Jeremias Maerki [Mon, 31 Jan 2005 13:52:12 +0000 (13:52 +0000)]
table-cell generates a normal reference-area.

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

19 years ago-Dfop.layoutengine.starts-with=breaks selects all tests that begin with "breaks"...
Jeremias Maerki [Mon, 31 Jan 2005 13:25:34 +0000 (13:25 +0000)]
-Dfop.layoutengine.starts-with=breaks selects all tests that begin with "breaks", eg. "breaks2.xml".

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

19 years agoTwo basic tests for break-before|after on blocks (currently disabled because they...
Jeremias Maerki [Mon, 31 Jan 2005 13:17:12 +0000 (13:17 +0000)]
Two basic tests for break-before|after on blocks (currently disabled because they fail).

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

19 years agoAdded the page number to the pageViewport
Jeremias Maerki [Mon, 31 Jan 2005 13:10:39 +0000 (13:10 +0000)]
Added the page number to the pageViewport

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

19 years agoPR:
Glen Mazza [Sun, 30 Jan 2005 21:59:29 +0000 (21:59 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Altered TestConverter to use FileCompare's file comparison logic.
Renamed Compare to FileCompare.
Simplified logger implementation in TestConverter.

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

19 years agoUpdated the paths in the Makefile and the customization stylesheets.
Simon Pepping [Sun, 30 Jan 2005 20:00:47 +0000 (20:00 +0000)]
Updated the paths in the Makefile and the customization stylesheets.
Created an Ant build file.

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

19 years agoUpdated to the current situation. Patch by renaud richardet, see bug 33126
Simon Pepping [Sun, 30 Jan 2005 19:56:45 +0000 (19:56 +0000)]
Updated to the current situation. Patch by renaud richardet, see bug 33126

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

19 years agoTest case for borders, padding and spacing on list-blocks and list-items.
Jeremias Maerki [Fri, 28 Jan 2005 17:14:14 +0000 (17:14 +0000)]
Test case for borders, padding and spacing on list-blocks and list-items.

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

19 years agoRemember to switch on the brain when writing test cases. :-) Forgot to take start...
Jeremias Maerki [Fri, 28 Jan 2005 17:13:51 +0000 (17:13 +0000)]
Remember to switch on the brain when writing test cases. :-) Forgot to take start-indent into account.

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

19 years agoAdded border, padding and spacing for list-blocks and list-items.
Jeremias Maerki [Fri, 28 Jan 2005 16:59:28 +0000 (16:59 +0000)]
Added border, padding and spacing for list-blocks and list-items.

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

19 years agoCleanup and added missing some public accessors.
Jeremias Maerki [Fri, 28 Jan 2005 16:56:51 +0000 (16:56 +0000)]
Cleanup and added missing some public accessors.

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

19 years agoAdditional test using margin-left on the list-item and non-default values for provisi...
Jeremias Maerki [Fri, 28 Jan 2005 14:31:35 +0000 (14:31 +0000)]
Additional test using margin-left on the list-item and non-default values for provisional-distance-between-starts and provisional-label-separation.

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

19 years agocorresponding.compute() may also return null to indicate that the inherited value...
Jeremias Maerki [Fri, 28 Jan 2005 14:26:44 +0000 (14:26 +0000)]
corresponding.compute() may also return null to indicate that the inherited value should be used.

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

19 years agoBasic tests for lists.
Jeremias Maerki [Fri, 28 Jan 2005 11:06:14 +0000 (11:06 +0000)]
Basic tests for lists.

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

19 years agoFixed a bug for labels, giving the wrong reference IPD.
Jeremias Maerki [Fri, 28 Jan 2005 11:05:35 +0000 (11:05 +0000)]
Fixed a bug for labels, giving the wrong reference IPD.

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

19 years agoCONTAINING_REFAREA seems to work now, so use it.
Jeremias Maerki [Fri, 28 Jan 2005 11:04:38 +0000 (11:04 +0000)]
CONTAINING_REFAREA seems to work now, so use it.
Rearranged calculation.

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

19 years agoFixed CONTAINING_REFAREA (for list indents)
Jeremias Maerki [Fri, 28 Jan 2005 11:03:19 +0000 (11:03 +0000)]
Fixed CONTAINING_REFAREA (for list indents)

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

19 years agoTests for retrieve-boundary.
Jeremias Maerki [Thu, 27 Jan 2005 20:32:54 +0000 (20:32 +0000)]
Tests for retrieve-boundary.

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

19 years agoFixed a bug in markers with boundary document and page-sequence.
Jeremias Maerki [Thu, 27 Jan 2005 20:31:27 +0000 (20:31 +0000)]
Fixed a bug in markers with boundary document and page-sequence.

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

19 years agoTest for markers with first-including-carryover
Jeremias Maerki [Thu, 27 Jan 2005 15:30:25 +0000 (15:30 +0000)]
Test for markers with first-including-carryover

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

19 years agoSwitching off reuse of static LMs, which fixes page numbers and markers on pages >1.
Jeremias Maerki [Wed, 26 Jan 2005 17:51:55 +0000 (17:51 +0000)]
Switching off reuse of static LMs, which fixes page numbers and markers on pages >1.

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

19 years agotoString()
Jeremias Maerki [Wed, 26 Jan 2005 17:50:52 +0000 (17:50 +0000)]
toString()

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

19 years agoBasic test for markers.
Jeremias Maerki [Wed, 26 Jan 2005 16:23:12 +0000 (16:23 +0000)]
Basic test for markers.

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

19 years agoTests for testing normal page breaking (block and block-containers).
Jeremias Maerki [Wed, 26 Jan 2005 15:23:54 +0000 (15:23 +0000)]
Tests for testing normal page breaking (block and block-containers).

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

19 years agoAdded a check for endless loops.
Jeremias Maerki [Wed, 26 Jan 2005 15:00:45 +0000 (15:00 +0000)]
Added a check for endless loops.

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

19 years agoBugfix for layout of block-containers with fixed BPD. They weren't properly broken...
Jeremias Maerki [Wed, 26 Jan 2005 15:00:04 +0000 (15:00 +0000)]
Bugfix for layout of block-containers with fixed BPD. They weren't properly broken over to the next page if they didn't fit.
If autoHeight is false, the whole block-container is considered a non-breakable block. Seems to match the behaviour of other implementations but I still haven't found the right place in the spec.

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

19 years agoCommenting a variable that was already defined in the superclass.
Jeremias Maerki [Wed, 26 Jan 2005 14:55:49 +0000 (14:55 +0000)]
Commenting a variable that was already defined in the superclass.

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

19 years agotoString() work
Jeremias Maerki [Wed, 26 Jan 2005 14:54:52 +0000 (14:54 +0000)]
toString() work

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

19 years agoSecond batch of text-decoration tests (inheritance and color)
Jeremias Maerki [Tue, 25 Jan 2005 13:44:43 +0000 (13:44 +0000)]
Second batch of text-decoration tests (inheritance and color)

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

19 years agoFirst batch of text-decoration tests
Jeremias Maerki [Tue, 25 Jan 2005 13:17:14 +0000 (13:17 +0000)]
First batch of text-decoration tests

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

19 years agoGet the mark colors for text-decorations right.
Jeremias Maerki [Tue, 25 Jan 2005 12:53:29 +0000 (12:53 +0000)]
Get the mark colors for text-decorations right.

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

19 years agoToo many optimizations.
Jeremias Maerki [Tue, 25 Jan 2005 12:45:46 +0000 (12:45 +0000)]
Too many optimizations.

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

19 years agoRemoved unnecessary parameter
Jeremias Maerki [Tue, 25 Jan 2005 12:29:57 +0000 (12:29 +0000)]
Removed unnecessary parameter

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

19 years agoFirst version of text-decoration support (no colors, yet, PDF rendering may not be...
Jeremias Maerki [Tue, 25 Jan 2005 10:55:48 +0000 (10:55 +0000)]
First version of text-decoration support (no colors, yet, PDF rendering may not be optimal, yet, but the rest seems to work)
This change may kill what text-decoration support already was in the RTF renderer. This will need to be fixed later.
Some javadoc and style touch-ups.

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

19 years agoAdditional text-decoration traits
Jeremias Maerki [Tue, 25 Jan 2005 10:43:00 +0000 (10:43 +0000)]
Additional text-decoration traits

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

19 years agoAdditional helper functions
Jeremias Maerki [Tue, 25 Jan 2005 10:42:06 +0000 (10:42 +0000)]
Additional helper functions

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

19 years agoReplaced absolute image paths with relative
Joerg Pietschmann [Mon, 24 Jan 2005 22:03:56 +0000 (22:03 +0000)]
Replaced absolute image paths with relative

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

19 years agoMore page-master testing.
Jeremias Maerki [Mon, 24 Jan 2005 14:05:44 +0000 (14:05 +0000)]
More page-master testing.

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

19 years agoregion-body may not have a border
Jeremias Maerki [Mon, 24 Jan 2005 14:05:14 +0000 (14:05 +0000)]
region-body may not have a border

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

19 years agoSet base URL so relative URLs work in tests
Jeremias Maerki [Mon, 24 Jan 2005 14:04:29 +0000 (14:04 +0000)]
Set base URL so relative URLs work in tests

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

19 years agonormal trait attributes for page-level reference and viewport areas.
Jeremias Maerki [Mon, 24 Jan 2005 14:03:56 +0000 (14:03 +0000)]
normal trait attributes for page-level reference and viewport areas.

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

19 years agois-reference-area and is-viewport-area traits
Jeremias Maerki [Mon, 24 Jan 2005 14:03:14 +0000 (14:03 +0000)]
is-reference-area and is-viewport-area traits

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

19 years agoSome tests for background images and external-graphic
Jeremias Maerki [Mon, 24 Jan 2005 10:45:11 +0000 (10:45 +0000)]
Some tests for background images and external-graphic

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

19 years agoVariable substitution inside tests.
Jeremias Maerki [Mon, 24 Jan 2005 10:44:47 +0000 (10:44 +0000)]
Variable substitution inside tests.

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

19 years agoImage resources for tests
Jeremias Maerki [Mon, 24 Jan 2005 10:44:18 +0000 (10:44 +0000)]
Image resources for tests

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

19 years agoEarly preloading of images (during FO tree building). This wasn't consistent before...
Jeremias Maerki [Mon, 24 Jan 2005 10:43:19 +0000 (10:43 +0000)]
Early preloading of images (during FO tree building). This wasn't consistent before (bg-images were loaded by the renderer).
background-position-* implemented where possible (area IPD and BPD must be set for percentages to work)
Fixed placement bug for images (bad rounding or coordinates).

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

19 years agoSetting IPD and BPD before adding background traits
Jeremias Maerki [Mon, 24 Jan 2005 09:16:45 +0000 (09:16 +0000)]
Setting IPD and BPD before adding background traits

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

19 years agoMore area dimension traits.
Jeremias Maerki [Mon, 24 Jan 2005 09:15:54 +0000 (09:15 +0000)]
More area dimension traits.

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

19 years agoMissing aliases for background-position-*.
Jeremias Maerki [Mon, 24 Jan 2005 09:14:36 +0000 (09:14 +0000)]
Missing aliases for background-position-*.
Missing percent base for height.

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

19 years agoJavadocs
Jeremias Maerki [Mon, 24 Jan 2005 09:13:34 +0000 (09:13 +0000)]
Javadocs

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

19 years agoForgot this one when extending FopImage
Jeremias Maerki [Thu, 20 Jan 2005 20:42:53 +0000 (20:42 +0000)]
Forgot this one when extending FopImage

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

19 years agoRepetitions for background images
Jeremias Maerki [Thu, 20 Jan 2005 15:18:23 +0000 (15:18 +0000)]
Repetitions for background images

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

19 years agoBackground image is painted on the padding-rectangle, not on the border-rectangle.
Jeremias Maerki [Thu, 20 Jan 2005 14:49:21 +0000 (14:49 +0000)]
Background image is painted on the padding-rectangle, not on the border-rectangle.

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

19 years agoClipping the background image.
Jeremias Maerki [Thu, 20 Jan 2005 14:08:20 +0000 (14:08 +0000)]
Clipping the background image.
Added support for fetching bitmap resolution (only implemented for JFIF-compliant JPEG files for now, all other remain at 72dpi as before)

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

19 years agoOverflow-Handling: Testing what is possible in the AreaTreeRenderer.
Jeremias Maerki [Thu, 20 Jan 2005 08:42:22 +0000 (08:42 +0000)]
Overflow-Handling: Testing what is possible in the AreaTreeRenderer.

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

19 years agoOutput clip trait for BlockViewports
Jeremias Maerki [Thu, 20 Jan 2005 08:40:41 +0000 (08:40 +0000)]
Output clip trait for BlockViewports

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

19 years agoTest case for "fixed" block-containers
Jeremias Maerki [Wed, 19 Jan 2005 21:48:34 +0000 (21:48 +0000)]
Test case for "fixed" block-containers

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

19 years ago"fixed" block-containers implemented.
Jeremias Maerki [Wed, 19 Jan 2005 21:48:12 +0000 (21:48 +0000)]
"fixed" block-containers implemented.
PDFState was cleaned up, simplified and refactored to support a "break-out" mechanism that allows to temporarily break out of the current viewport context.

Support for sending comments to the PDF stream for debugging purposes.

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

19 years agoSafety check
Jeremias Maerki [Wed, 19 Jan 2005 21:45:07 +0000 (21:45 +0000)]
Safety check

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

19 years agoCommented unused code.
Jeremias Maerki [Wed, 19 Jan 2005 21:44:45 +0000 (21:44 +0000)]
Commented unused code.

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

19 years agoTesting margins on page-masters.
Jeremias Maerki [Wed, 19 Jan 2005 17:21:08 +0000 (17:21 +0000)]
Testing margins on page-masters.

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

19 years agoCode cleanup and preparation for implementing absolute-position="fixed".
Jeremias Maerki [Tue, 18 Jan 2005 09:40:01 +0000 (09:40 +0000)]
Code cleanup and preparation for implementing absolute-position="fixed".

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

19 years agoChecks added.
Jeremias Maerki [Tue, 18 Jan 2005 08:56:18 +0000 (08:56 +0000)]
Checks added.

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

19 years agoI need the CTM for display-align checks.
Jeremias Maerki [Tue, 18 Jan 2005 08:55:58 +0000 (08:55 +0000)]
I need the CTM for display-align checks.

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