]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
19 years agoTest cases illustrating Glen's page-number fix. There's still a problem because of...
Jeremias Maerki [Mon, 21 Feb 2005 09:25:29 +0000 (09:25 +0000)]
Test cases illustrating Glen's page-number fix. There's still a problem because of the bogus areas, though.

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

19 years agoTest case markers5a now works correctly. Added four testcases.
Simon Pepping [Sun, 20 Feb 2005 19:52:18 +0000 (19:52 +0000)]
Test case markers5a now works correctly. Added four testcases.

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

19 years agoCorrected the logic of adding markers. LayoutManagers are responsible
Simon Pepping [Sun, 20 Feb 2005 19:50:47 +0000 (19:50 +0000)]
Corrected the logic of adding markers. LayoutManagers are responsible
for correctly setting is-first and is-last on the BreakPoss and from
there in the arguments of the addMarkers method. Implemented this for
BlockLM. Also made a small change in the retrieval of markers from
preceding pages.

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

19 years agoCommented stray System.out. Should be replaced by Commons Logging calls or removed...
Jeremias Maerki [Sat, 19 Feb 2005 21:27:33 +0000 (21:27 +0000)]
Commented stray System.out. Should be replaced by Commons Logging calls or removed in time.

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

19 years agoRestored JDK 1.5 compatibility.
Jeremias Maerki [Sat, 19 Feb 2005 10:40:07 +0000 (10:40 +0000)]
Restored JDK 1.5 compatibility.
Bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=33645
Submitted by: Oskar Berggren <d99beo.at.dtek.chalmers.se>

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

19 years agoPR:
Glen Mazza [Sat, 19 Feb 2005 03:56:58 +0000 (03:56 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Page numbering bug fixed.

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

19 years agoPR:
Glen Mazza [Fri, 18 Feb 2005 03:54:50 +0000 (03:54 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
More cleanup in PageSequence (also removed local LayoutMasterSet variable to emphasize Root's ownership of this object in the FO Tree hierarchy.)

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

19 years agoDisable advanced marker tests as long as they don't work properly.
Jeremias Maerki [Thu, 17 Feb 2005 20:00:11 +0000 (20:00 +0000)]
Disable advanced marker tests as long as they don't work properly.

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

19 years agosetting border-collapse="separate" to make it pass again, now that I started with...
Jeremias Maerki [Thu, 17 Feb 2005 19:58:30 +0000 (19:58 +0000)]
setting border-collapse="separate" to make it pass again, now that I started with border collapsing.

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

19 years agoborder-style "hidden" also forces border-width to 0.
Jeremias Maerki [Thu, 17 Feb 2005 13:40:42 +0000 (13:40 +0000)]
border-style "hidden" also forces border-width to 0.

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

19 years agoregion-after may not have borders. Used an absolutely positioned block-container...
Jeremias Maerki [Thu, 17 Feb 2005 09:36:53 +0000 (09:36 +0000)]
region-after may not have borders. Used an absolutely positioned block-container instead.

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

19 years agoAdded missing license header.
Jeremias Maerki [Thu, 17 Feb 2005 09:35:51 +0000 (09:35 +0000)]
Added missing license header.

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

19 years agoupdated page-master tests.
Jeremias Maerki [Thu, 17 Feb 2005 09:19:10 +0000 (09:19 +0000)]
updated page-master tests.

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

19 years agoFix for bad page-master and region margin calculations. All margin calculations now...
Jeremias Maerki [Thu, 17 Feb 2005 09:17:36 +0000 (09:17 +0000)]
Fix for bad page-master and region margin calculations. All margin calculations now use margin-* attributes directly, ignoring start|end-indent and space-*.
Better check for borders and padding on regions.

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

19 years agoPR:
Glen Mazza [Thu, 17 Feb 2005 00:30:47 +0000 (00:30 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Removed unneeded variable.

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

19 years agoPR:
Glen Mazza [Thu, 17 Feb 2005 00:27:54 +0000 (00:27 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Cleanup of page number handling throughout application.  Removed old code
from PageSequence.java.

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

19 years agoAdjusting to changes in BorderProps.toString()
Jeremias Maerki [Wed, 16 Feb 2005 10:17:09 +0000 (10:17 +0000)]
Adjusting to changes in BorderProps.toString()

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

19 years agoFirst step towards collapsing table borders:
Jeremias Maerki [Wed, 16 Feb 2005 10:15:45 +0000 (10:15 +0000)]
First step towards collapsing table borders:
- Mode on BorderProps controls painting behaviour.
- Extended toString() on BorderProps
- Painting the borders already works for all three modes (separate, collapsing-inner and collapsing-outer)
- ATM only inner borders are painted.

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

19 years agoCode clean-up only.
Jeremias Maerki [Wed, 16 Feb 2005 06:46:15 +0000 (06:46 +0000)]
Code clean-up only.

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

19 years agoSet border traits for fo:table only if border-collapse="separate".
Jeremias Maerki [Tue, 15 Feb 2005 19:30:51 +0000 (19:30 +0000)]
Set border traits for fo:table only if border-collapse="separate".
Some clean-up.

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

19 years agoClean-up:
Jeremias Maerki [Tue, 15 Feb 2005 10:06:07 +0000 (10:06 +0000)]
Clean-up:
table2 split into table2 (margins and spaces only) and table-border-separate1.
table-cell5 renamed to table-border-separate2.
table-cell5a renamed to table-border-separate2a.
table-cell7 renamed to table-border-separate3

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

19 years agoSome cleanup -- moved getSimplePageMasterToUse() to PageSequence (logic
Glen Mazza [Sat, 12 Feb 2005 22:32:36 +0000 (22:32 +0000)]
Some cleanup -- moved getSimplePageMasterToUse() to PageSequence (logic
is useful with other implementations of PSLM.)

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

19 years agoSimpler and more robust XPath statements.
Jeremias Maerki [Sat, 12 Feb 2005 20:20:53 +0000 (20:20 +0000)]
Simpler and more robust XPath statements.
Suggested by: Simon Pepping

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

19 years agoExtend the user agent to pipe title, author and keywords through to the PDF. A title...
Jeremias Maerki [Sat, 12 Feb 2005 15:33:08 +0000 (15:33 +0000)]
Extend the user agent to pipe title, author and keywords through to the PDF. A title on the user agent will override any title info gathered from fo:title elements.

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

19 years agoPR:
Glen Mazza [Sat, 12 Feb 2005 06:41:24 +0000 (06:41 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Removed flush() override from PSLM, consolidated StorePagesModel & AreaTreeModel, removed unused LineTrait.java.

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

19 years agoImplemented the rest of the border styles. Now uses clipping while painting the borde...
Jeremias Maerki [Fri, 11 Feb 2005 21:30:03 +0000 (21:30 +0000)]
Implemented the rest of the border styles. Now uses clipping while painting the borders to paint nicer edges. Some of this code should later be extracted into utility classes so other renderers can use the same code.
Dotted-style could use some tweaking (dots are clipped at the edges).

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

19 years agoTest for all border-styles.
Jeremias Maerki [Fri, 11 Feb 2005 20:56:44 +0000 (20:56 +0000)]
Test for all border-styles.

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

19 years agoempty-cells implemented.
Jeremias Maerki [Fri, 11 Feb 2005 12:19:05 +0000 (12:19 +0000)]
empty-cells implemented.

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

19 years agoTest case for empty-cells attribute.
Jeremias Maerki [Fri, 11 Feb 2005 12:17:32 +0000 (12:17 +0000)]
Test case for empty-cells attribute.

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

19 years agoTest case for column spanning.
Jeremias Maerki [Fri, 11 Feb 2005 12:17:06 +0000 (12:17 +0000)]
Test case for column spanning.

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

19 years agoTest cases for table-omit-*-at-break. The one for footer is disabled because it's...
Jeremias Maerki [Fri, 11 Feb 2005 10:47:26 +0000 (10:47 +0000)]
Test cases for table-omit-*-at-break. The one for footer is disabled because it's not implemented, yet.

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

19 years agoImplemented table-omit-header-at-break. The same for footers comes later when page...
Jeremias Maerki [Fri, 11 Feb 2005 10:45:24 +0000 (10:45 +0000)]
Implemented table-omit-header-at-break. The same for footers comes later when page breaking is revisited.

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

19 years agoTest cases for table headers/footers.
Jeremias Maerki [Thu, 10 Feb 2005 20:02:36 +0000 (20:02 +0000)]
Test cases for table headers/footers.

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

19 years agoTable headers/footers need to be recalculated for each page (for dynamic elements...
Jeremias Maerki [Thu, 10 Feb 2005 19:40:47 +0000 (19:40 +0000)]
Table headers/footers need to be recalculated for each page (for dynamic elements like page-numbers and changing page-masters together with auto layout). Therefore a new LM is created for each page.

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

19 years agoPR:
Glen Mazza [Thu, 10 Feb 2005 17:08:24 +0000 (17:08 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Some simplification to StorePagesModel, removal of not very informative comment in PSLM.

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

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