]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
19 years agoRearranged the process a bit to better show the different phases. Helped me to better...
Jeremias Maerki [Thu, 10 Feb 2005 15:54:03 +0000 (15:54 +0000)]
Rearranged the process a bit to better show the different phases. Helped me to better understand what's going on there.

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

19 years agoSome LMs don't need the childLM List. So create only when necessary.
Jeremias Maerki [Thu, 10 Feb 2005 14:18:39 +0000 (14:18 +0000)]
Some LMs don't need the childLM List. So create only when necessary.

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

19 years agoAdding an additional block at the end to see if a new block would behave differently.
Jeremias Maerki [Thu, 10 Feb 2005 12:52:35 +0000 (12:52 +0000)]
Adding an additional block at the end to see if a new block would behave differently.

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

19 years agoTest case which indirectly tests the resetPosition() methods on various LMs. Currentl...
Jeremias Maerki [Thu, 10 Feb 2005 12:50:07 +0000 (12:50 +0000)]
Test case which indirectly tests the resetPosition() methods on various LMs. Currently, the lines are not rearranged after a page break when a different page-master gets active.

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

19 years agoRemove dependency of pdf package to the FOP user agent.
Jeremias Maerki [Thu, 10 Feb 2005 10:47:11 +0000 (10:47 +0000)]
Remove dependency of pdf package to the FOP user agent.

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

19 years agoUpdates to team page. Added Luca (Layout) and Simon (Layout, XSL FO Tree, and Proper...
Glen Mazza [Thu, 10 Feb 2005 07:06:47 +0000 (07:06 +0000)]
Updates to team page.  Added Luca (Layout) and Simon (Layout, XSL FO Tree, and Properties) to skill sets at bottom--please raise objections soon if you are uncomfortable with being listed.  Gave myself my first "X" (XSL FO Tree), and added more for Jeremias and Finn.  Team, please adjust as you feel appropriate.

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

19 years agoBetter XPath statements for certain parser/XSLT combinations.
Jeremias Maerki [Wed, 9 Feb 2005 21:38:31 +0000 (21:38 +0000)]
Better XPath statements for certain parser/XSLT combinations.
Suggested by: Simon Pepping

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

19 years agoNo longer fail when no table-columns are defined. The table creates a "default column...
Jeremias Maerki [Wed, 9 Feb 2005 15:38:15 +0000 (15:38 +0000)]
No longer fail when no table-columns are defined. The table creates a "default column" which is used to handle any defaults and inheritance.
The columns list is populated with at least the default column.
The first row is not yet inspected for determining column widths as described in fixed table layout. (see comment in code)

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

19 years agoTest cases for fixed table layout.
Jeremias Maerki [Wed, 9 Feb 2005 15:31:21 +0000 (15:31 +0000)]
Test cases for fixed table layout.

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

19 years agoCorrected my interpretation of border-separation.
Jeremias Maerki [Wed, 9 Feb 2005 11:53:16 +0000 (11:53 +0000)]
Corrected my interpretation of border-separation.

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

19 years agoforce fixed table-layout. Without the width auto layout becomes active.
Jeremias Maerki [Wed, 9 Feb 2005 11:52:33 +0000 (11:52 +0000)]
force fixed table-layout. Without the width auto layout becomes active.

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

19 years agoFix for handling of horizontal border-separation. My first interpretation was wrong.
Jeremias Maerki [Wed, 9 Feb 2005 11:51:30 +0000 (11:51 +0000)]
Fix for handling of horizontal border-separation. My first interpretation was wrong.

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

19 years agoAccessor for table-layout property.
Jeremias Maerki [Wed, 9 Feb 2005 11:47:42 +0000 (11:47 +0000)]
Accessor for table-layout property.

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

19 years agoTest case for border and padding influencing table-cells. Similar to table-cell5...
Jeremias Maerki [Wed, 9 Feb 2005 08:28:00 +0000 (08:28 +0000)]
Test case for border and padding influencing table-cells. Similar to table-cell5 except with horizontal border-spacing and table border and padding.

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

19 years agoTest case for border and padding influencing table-cells.
Jeremias Maerki [Wed, 9 Feb 2005 07:46:41 +0000 (07:46 +0000)]
Test case for border and padding influencing table-cells.

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

19 years agoForgot to take padding into account.
Jeremias Maerki [Tue, 8 Feb 2005 17:41:23 +0000 (17:41 +0000)]
Forgot to take padding into account.

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

19 years agoTest case for column-number con table-cell and gaps in a row.
Jeremias Maerki [Tue, 8 Feb 2005 16:54:44 +0000 (16:54 +0000)]
Test case for column-number con table-cell and gaps in a row.

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

19 years agoFix for ArrayOutOfBoundsException in resetPosition().
Jeremias Maerki [Tue, 8 Feb 2005 16:37:23 +0000 (16:37 +0000)]
Fix for ArrayOutOfBoundsException in resetPosition().

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

19 years agoSupport for column-number on table-cell.
Jeremias Maerki [Tue, 8 Feb 2005 16:25:12 +0000 (16:25 +0000)]
Support for column-number on table-cell.
RowLM now also handles gaps (=empty cells) properly.
Positioning of cells inside the row changed. More responsibility into getNextBreakPoss stage because it is a lot easier to implement and there's less redundancy.

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

19 years agoMethod for checking if there's a column-number
Jeremias Maerki [Tue, 8 Feb 2005 16:16:48 +0000 (16:16 +0000)]
Method for checking if there's a column-number

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

19 years agoInitial support for column spanning. Still WIP.
Jeremias Maerki [Tue, 8 Feb 2005 11:21:57 +0000 (11:21 +0000)]
Initial support for column spanning. Still WIP.

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

19 years agoCorrect cell-borders when border-collapse="separate" and initial support for horizont...
Jeremias Maerki [Tue, 8 Feb 2005 10:10:00 +0000 (10:10 +0000)]
Correct cell-borders when border-collapse="separate" and initial support for horizontal border-separation.
This is WIP, just a save-point while I'm investigating other issues surrounding tables.

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

19 years agoTest case for grouping of table-cells into table-rows.
Jeremias Maerki [Tue, 8 Feb 2005 09:45:13 +0000 (09:45 +0000)]
Test case for grouping of table-cells into table-rows.

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

19 years agoSupport for table-cells as direct children of table-body|header|footer.
Jeremias Maerki [Tue, 8 Feb 2005 09:20:41 +0000 (09:20 +0000)]
Support for table-cells as direct children of table-body|header|footer.
The table-cells are grouped into table-rows using starts-row and ends-row properties during FO tree building so the layout managers don't have to handle both cases. This will hopefully keep the code simpler.
Additional accessors on some FO objects.

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

19 years agomoving retrieve-marker replacement into separate method to make preLoadList easier...
Jeremias Maerki [Tue, 8 Feb 2005 09:17:50 +0000 (09:17 +0000)]
moving retrieve-marker replacement into separate method to make preLoadList easier to read and understand.

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

19 years agoSupport for border-spacing shorthand.
Jeremias Maerki [Mon, 7 Feb 2005 16:26:13 +0000 (16:26 +0000)]
Support for border-spacing shorthand.
Accessor for border-separation on table.

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

19 years agoMore table test cases.
Jeremias Maerki [Mon, 7 Feb 2005 13:37:04 +0000 (13:37 +0000)]
More table test cases.
table-cell3a currently fails because of a table-row handling problem.

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

19 years agoTemporary fix for markers (using isBogus() check)
Jeremias Maerki [Mon, 7 Feb 2005 11:01:37 +0000 (11:01 +0000)]
Temporary fix for markers (using isBogus() check)
ipd/height and display-align support for table rows and cells.

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

19 years agoFix for adding absolutely positioned block without children.
Jeremias Maerki [Mon, 7 Feb 2005 11:00:19 +0000 (11:00 +0000)]
Fix for adding absolutely positioned block without children.

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

19 years agouse hasBackground() as a fail-fast.
Jeremias Maerki [Mon, 7 Feb 2005 10:59:25 +0000 (10:59 +0000)]
use hasBackground() as a fail-fast.

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

19 years agoAdditional accessors and style.
Jeremias Maerki [Mon, 7 Feb 2005 10:55:35 +0000 (10:55 +0000)]
Additional accessors and style.

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

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