]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
19 years agoAuto-adjust IPD as in InlineArea. Info may not be available in LM during addAreas().
Jeremias Maerki [Tue, 9 Aug 2005 16:22:33 +0000 (16:22 +0000)]
Auto-adjust IPD as in InlineArea. Info may not be available in LM during addAreas().

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

19 years agoOutput area size traits for inlineblockparent.
Jeremias Maerki [Tue, 9 Aug 2005 15:48:53 +0000 (15:48 +0000)]
Output area size traits for inlineblockparent.

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

19 years agoMore checks and XPath fixes.
Jeremias Maerki [Tue, 9 Aug 2005 15:48:11 +0000 (15:48 +0000)]
More checks and XPath fixes.

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

19 years agoChecks!
Jeremias Maerki [Tue, 9 Aug 2005 15:20:49 +0000 (15:20 +0000)]
Checks!

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

19 years agoBugfix: Introduced a new member variable in LayoutContext holding the alignment in...
Jeremias Maerki [Tue, 9 Aug 2005 14:35:30 +0000 (14:35 +0000)]
Bugfix: Introduced a new member variable in LayoutContext holding the alignment in BP direction. Now that we have mixed inline/block capabilities the alignment must always be properly set depending on the direction we fetch the element lists for. Holding the BP alignment in the LayoutContext makes sure this information doesn't get lost when directions are mixed.

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

19 years agoBugfix: Block.handleWhitespace() causes whitespace to be scanned multiple times witho...
Jeremias Maerki [Tue, 9 Aug 2005 14:28:20 +0000 (14:28 +0000)]
Bugfix: Block.handleWhitespace() causes whitespace to be scanned multiple times without the new NullCharIterator that is now returned by Block. This simply makes sure that the recursive character iterator cannot iterate into text from other blocks. The effect was that some text was swallowed when blocks were nested in inlines.

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

19 years agoExtended comment to document the open argument.
Jeremias Maerki [Tue, 9 Aug 2005 08:15:28 +0000 (08:15 +0000)]
Extended comment to document the open argument.

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

19 years agoCommented unnecessary (and unsafe) line.
Jeremias Maerki [Mon, 8 Aug 2005 14:39:41 +0000 (14:39 +0000)]
Commented unnecessary (and unsafe) line.

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

19 years agoBugfix: Remove empty sequence at the end.
Jeremias Maerki [Mon, 8 Aug 2005 14:29:49 +0000 (14:29 +0000)]
Bugfix: Remove empty sequence at the end.
Bugfix: Don't check the "sequence" variable but the "returnList" variable for size() > 0. This ate up text.

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

19 years agoEarlier fix was not quite right. TODO can be removed now.
Jeremias Maerki [Mon, 8 Aug 2005 14:28:13 +0000 (14:28 +0000)]
Earlier fix was not quite right. TODO can be removed now.
Early null check to make debugging easier.

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

19 years agoTypo and imports.
Jeremias Maerki [Mon, 8 Aug 2005 14:26:04 +0000 (14:26 +0000)]
Typo and imports.

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

19 years agoDon't fail on empty lists.
Jeremias Maerki [Mon, 8 Aug 2005 14:23:27 +0000 (14:23 +0000)]
Don't fail on empty lists.

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

19 years agoDeal with a mix of KnuthSequences of KnuthSequences and KnuthSequences of KnuthElemen...
Jeremias Maerki [Mon, 8 Aug 2005 09:38:32 +0000 (09:38 +0000)]
Deal with a mix of KnuthSequences of KnuthSequences and KnuthSequences of KnuthElements to allow for fewer container classes.
InlineLM instead of InlineStackingLM for inline part of footnote.
Supposedly fixed a bug in addALetterSpace.

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

19 years agoMy work on block content in inline content sofar. Block content in
Simon Pepping [Thu, 4 Aug 2005 20:29:50 +0000 (20:29 +0000)]
My work on block content in inline content sofar. Block content in
fo:inline is implemented. Basic rendering of this content is in
place. BasicLinkLM uses the new structure for returning new Knuth
elements

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

19 years agoCreating a branch for the implementation of block content in inline content
Simon Pepping [Thu, 4 Aug 2005 20:05:35 +0000 (20:05 +0000)]
Creating a branch for the implementation of block content in inline content

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

19 years agodisabled font size absolute and relative tests as they currently fail!
Chris Bowditch [Thu, 4 Aug 2005 13:30:02 +0000 (13:30 +0000)]
disabled font size absolute and relative tests as they currently fail!

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

19 years agoTest cases submitted by Manual Mall, bugzilla 36025. I have added some checks to...
Chris Bowditch [Thu, 4 Aug 2005 13:25:36 +0000 (13:25 +0000)]
Test cases submitted by Manual Mall, bugzilla 36025. I have added some checks to increase effectiveness of tests
Submitted by: Manuel Mall <mm.at.arcus.com.au>

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

19 years agoThis does no more cause a ClassCastExceptions.
Luca Furini [Thu, 4 Aug 2005 12:38:59 +0000 (12:38 +0000)]
This does no more cause a ClassCastExceptions.

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

19 years agosetting svn:eol-style and svn:keywords properiets
Christian Geisert [Thu, 4 Aug 2005 12:24:44 +0000 (12:24 +0000)]
setting svn:eol-style and svn:keywords properiets
(didn't work automagically with client-side configuration ..)

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

19 years agoTestcases for leader
Christian Geisert [Thu, 4 Aug 2005 12:19:40 +0000 (12:19 +0000)]
Testcases for leader
Submitted by:  Manuel Mall <mm.at.arcus.com.au>
see Bugzilla #36013, #36015, #36017

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

19 years agoFix for bug 36007.
Luca Furini [Thu, 4 Aug 2005 10:31:13 +0000 (10:31 +0000)]
Fix for bug 36007.
The list of elements created by the LineLM was incomplete.
Thanks to Manuel Mall for signaling the bug and providing testcases.

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

19 years agoSetting svn:eol-style and svn:keywords where necessary. Need to lookup why these...
Jeremias Maerki [Thu, 4 Aug 2005 10:10:14 +0000 (10:10 +0000)]
Setting svn:eol-style and svn:keywords where necessary. Need to lookup why these are missing only on some.

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

19 years agoadded some checks to the test case to make it more effective in checking for regressions
Chris Bowditch [Thu, 4 Aug 2005 09:57:38 +0000 (09:57 +0000)]
added some checks to the test case to make it more effective in checking for regressions

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

19 years agoTestcases for word-spacing
Christian Geisert [Thu, 4 Aug 2005 09:47:44 +0000 (09:47 +0000)]
Testcases for word-spacing
Submitted by:  Manuel Mall <mm.at.arcus.com.au>, see Bugzilla #36010

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

19 years agodisabled letter-spacing3.xml for now as it fails
Chris Bowditch [Thu, 4 Aug 2005 08:41:47 +0000 (08:41 +0000)]
disabled letter-spacing3.xml for now as it fails

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

19 years agoSubmitted by Manual Mall in bugzilla 36008
Chris Bowditch [Thu, 4 Aug 2005 08:41:07 +0000 (08:41 +0000)]
Submitted by Manual Mall in bugzilla 36008

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

19 years agoRemoving dependencies of RTF library on the rest of FOP so it can be used stand-alone.
Jeremias Maerki [Wed, 3 Aug 2005 19:30:55 +0000 (19:30 +0000)]
Removing dependencies of RTF library on the rest of FOP so it can be used stand-alone.
Submitted by: Guillaume Déflache <guillaume.at.anyware-tech.com>

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

19 years agoTests for fo:wrapper.
Jeremias Maerki [Wed, 3 Aug 2005 18:42:24 +0000 (18:42 +0000)]
Tests for fo:wrapper.

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

19 years agoProper handling of the color property on page-number and page-number-citatition.
Jeremias Maerki [Wed, 3 Aug 2005 18:37:31 +0000 (18:37 +0000)]
Proper handling of the color property on page-number and page-number-citatition.

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

19 years agoCurrent Forrest is not fully HTML 4.01 and CSS compliant due to a bug, so we better...
Jeremias Maerki [Wed, 3 Aug 2005 13:45:07 +0000 (13:45 +0000)]
Current Forrest is not fully HTML 4.01 and CSS compliant due to a bug, so we better switch the logos off for now.

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

19 years agoDisabled the external link images. They mess up the layout in many places.
Jeremias Maerki [Wed, 3 Aug 2005 13:41:14 +0000 (13:41 +0000)]
Disabled the external link images. They mess up the layout in many places.

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

19 years agoInitial values for "Trunk" column. No guarantees!
Jeremias Maerki [Wed, 3 Aug 2005 13:39:39 +0000 (13:39 +0000)]
Initial values for "Trunk" column. No guarantees!

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

19 years agoUpdate to Forrest 0.7.
Jeremias Maerki [Wed, 3 Aug 2005 11:55:22 +0000 (11:55 +0000)]
Update to Forrest 0.7.
Preparations for second column for trunk on the compilance page.
Submitted by: Manuel Mall <mm.at.arcus.com.au>

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

19 years agoFix for table-body4.xml. Higher penalty values for breaks that would results in unwel...
Jeremias Maerki [Tue, 2 Aug 2005 15:58:31 +0000 (15:58 +0000)]
Fix for table-body4.xml. Higher penalty values for breaks that would results in unwelcome table breaks. At the moment this is hard-coded to an arbitrary value and needs to be refined.

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

19 years agoTest case for badly broken table rows as discussed on fop-dev.
Jeremias Maerki [Tue, 2 Aug 2005 15:56:20 +0000 (15:56 +0000)]
Test case for badly broken table rows as discussed on fop-dev.

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

19 years agoAllow "<0" and ">0" expressions for the "p" part on a penalty.
Jeremias Maerki [Tue, 2 Aug 2005 15:38:43 +0000 (15:38 +0000)]
Allow "<0" and ">0" expressions for the "p" part on a penalty.

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

19 years agoMake it possible to keep block-container element lists apart from normal page-level...
Jeremias Maerki [Tue, 2 Aug 2005 15:32:35 +0000 (15:32 +0000)]
Make it possible to keep block-container element lists apart from normal page-level element lists.

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

19 years agoPadding was ignored by the table stepper. This fixes the newly modified table-cell7...
Jeremias Maerki [Tue, 2 Aug 2005 14:31:03 +0000 (14:31 +0000)]
Padding was ignored by the table stepper. This fixes the newly modified table-cell7.xml.

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

19 years agoTest the element list, too, to make sure that breaker works correctly.
Jeremias Maerki [Tue, 2 Aug 2005 14:29:54 +0000 (14:29 +0000)]
Test the element list, too, to make sure that breaker works correctly.

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

19 years agoRemove "veryveryalpha" warning.
Jeremias Maerki [Tue, 2 Aug 2005 09:34:00 +0000 (09:34 +0000)]
Remove "veryveryalpha" warning.

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

19 years agoAdjusting verticals spaces (coming from space-before and space-after properties)...
Luca Furini [Tue, 2 Aug 2005 09:05:25 +0000 (09:05 +0000)]
Adjusting verticals spaces (coming from space-before and space-after properties) in order to fill the region, whenever possible

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

19 years agoUse a more direct notify mechanism for the formatting results
Simon Pepping [Sun, 31 Jul 2005 10:20:12 +0000 (10:20 +0000)]
Use a more direct notify mechanism for the formatting results

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

19 years agoBugzilla #35937:
Jeremias Maerki [Sat, 30 Jul 2005 13:32:02 +0000 (13:32 +0000)]
Bugzilla #35937:
FormattingResults mechanism ported from maintenance branch to trunk.
Submitted by: Manuel Mall <mm.at.arcus.com.au>

Patch tweaked slightly to avoid the reference of Fop.java into the area package.

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

19 years agoAdd support for "mpt" (millipoints, non-standard!!!)
Jeremias Maerki [Sat, 30 Jul 2005 12:47:31 +0000 (12:47 +0000)]
Add support for "mpt" (millipoints, non-standard!!!)
Reenabled warning message for unrecognized units. Otherwise, you simply get a zero value and don't know why.

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

19 years agoIgnore the private-testcases directory as supported by the LayoutEngineTestSuite.
Jeremias Maerki [Thu, 28 Jul 2005 21:27:58 +0000 (21:27 +0000)]
Ignore the private-testcases directory as supported by the LayoutEngineTestSuite.

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

19 years agoMade the testcase filter available to the outside (for visual testing).
Jeremias Maerki [Thu, 28 Jul 2005 21:25:40 +0000 (21:25 +0000)]
Made the testcase filter available to the outside (for visual testing).
Added support for an optional private-testcases directory which serves as a staging area for new tests and private tests.

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

19 years agoBugfix: Fixes table-cell7 where padding wasn't handled correctly while adding table...
Jeremias Maerki [Thu, 28 Jul 2005 21:22:37 +0000 (21:22 +0000)]
Bugfix: Fixes table-cell7 where padding wasn't handled correctly while adding table areas.

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

19 years agoBugfix: Fixes table-cell7 where display-align was off when border and/or padding...
Jeremias Maerki [Thu, 28 Jul 2005 21:20:58 +0000 (21:20 +0000)]
Bugfix: Fixes table-cell7 where display-align was off when border and/or padding was used.

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

19 years agoTestcase which currently shows two bugs:
Jeremias Maerki [Thu, 28 Jul 2005 21:19:44 +0000 (21:19 +0000)]
Testcase which currently shows two bugs:
- Padding is not correctly handled when adding areas on tables.
- display-align doesn't work as expected in conjunction with border and/or padding.

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

19 years agoRemoved unused method
Jeremias Maerki [Thu, 28 Jul 2005 21:18:13 +0000 (21:18 +0000)]
Removed unused method

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

19 years agoRemoving unused import.
Finn Bock [Thu, 28 Jul 2005 10:41:48 +0000 (10:41 +0000)]
Removing unused import.

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

19 years agoRemoving unused import.
Finn Bock [Thu, 28 Jul 2005 10:40:17 +0000 (10:40 +0000)]
Removing unused import.

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

19 years agoPorted an important page setup instruction from the branch. GhostScript, for example...
Jeremias Maerki [Thu, 28 Jul 2005 10:08:20 +0000 (10:08 +0000)]
Ported an important page setup instruction from the branch. GhostScript, for example, doesn't recognize the page size correctly, otherwise.

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

19 years agoRemoved unused import.
Finn Bock [Wed, 27 Jul 2005 19:52:45 +0000 (19:52 +0000)]
Removed unused import.

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

19 years agoAdd margin on simple-page-master as additional feature.
Jeremias Maerki [Wed, 27 Jul 2005 19:16:16 +0000 (19:16 +0000)]
Add margin on simple-page-master as additional feature.

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

19 years agoAdded missing checks.
Jeremias Maerki [Wed, 27 Jul 2005 19:06:49 +0000 (19:06 +0000)]
Added missing checks.

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

19 years agoBuffer InputStream only when not already buffered.
Jeremias Maerki [Wed, 27 Jul 2005 13:58:42 +0000 (13:58 +0000)]
Buffer InputStream only when not already buffered.

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

19 years agoBugfix: scaling factor was calculated using an integer division, not a double division.
Jeremias Maerki [Wed, 27 Jul 2005 13:58:03 +0000 (13:58 +0000)]
Bugfix: scaling factor was calculated using an integer division, not a double division.

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

19 years agoExample for printing to an old-style PrinterJob instance.
Jeremias Maerki [Wed, 27 Jul 2005 12:22:53 +0000 (12:22 +0000)]
Example for printing to an old-style PrinterJob instance.

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

19 years agoImproved PrintRenderer to be more easily configurable and so you can pass in your...
Jeremias Maerki [Wed, 27 Jul 2005 12:21:48 +0000 (12:21 +0000)]
Improved PrintRenderer to be more easily configurable and so you can pass in your own PrinterJob instance.
Bugfix for paper format construction.

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

19 years agoResurrected the old example from the maintenance branch now that the AWT Viewer works...
Jeremias Maerki [Wed, 27 Jul 2005 10:26:28 +0000 (10:26 +0000)]
Resurrected the old example from the maintenance branch now that the AWT Viewer works again.

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

19 years agoChanges for restoring JDK 1.3 compatibility.
Jeremias Maerki [Wed, 27 Jul 2005 09:59:30 +0000 (09:59 +0000)]
Changes for restoring JDK 1.3 compatibility.
Submitted by: Robert Bielik <Robert.Bielik.at.gyros.com>

(Patch committed with modifications and additional changes for test code)

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

19 years agoMade the file more portable.
Jeremias Maerki [Tue, 26 Jul 2005 13:36:29 +0000 (13:36 +0000)]
Made the file more portable.

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

19 years agoRenamed page-number3 to page-number-citation1.
Jeremias Maerki [Tue, 26 Jul 2005 13:34:17 +0000 (13:34 +0000)]
Renamed page-number3 to page-number-citation1.
Systematic ID-testing for most FOs. (there are still a few gaps)
Checks for border/padding/background on external-graphic and instream-foreign-object.

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

19 years agoVarious fixes for ID management.
Jeremias Maerki [Tue, 26 Jul 2005 13:31:53 +0000 (13:31 +0000)]
Various fixes for ID management.
Border/Padding/Background for instream-foreign-object and external-graphic.

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

19 years agoAccessor for the id property.
Jeremias Maerki [Tue, 26 Jul 2005 13:25:52 +0000 (13:25 +0000)]
Accessor for the id property.

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

19 years agoSmall improvements. Fix for missing image areas.
Jeremias Maerki [Tue, 26 Jul 2005 13:25:15 +0000 (13:25 +0000)]
Small improvements. Fix for missing image areas.

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

19 years agoChecks for the prod-id traits in the area tree. prod-id identifies the producing...
Jeremias Maerki [Tue, 26 Jul 2005 10:03:27 +0000 (10:03 +0000)]
Checks for the prod-id traits in the area tree. prod-id identifies the producing FO if it has an id attribute.

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

19 years agoSend the ID of the producing FO to the area tree as trait where possible.
Jeremias Maerki [Tue, 26 Jul 2005 10:01:41 +0000 (10:01 +0000)]
Send the ID of the producing FO to the area tree as trait where possible.
This is useful for testing and may later be interesting for FO editor implementors and for other things where you want to identify the generating FO from a particular object in the output.

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

19 years agoTest space-after, too, in list4.
Jeremias Maerki [Tue, 26 Jul 2005 07:44:22 +0000 (07:44 +0000)]
Test space-after, too, in list4.
Cloned list4 to list4a which is modified slightly to check for differing min/opt/max values. This one currently breaks as it is not properly handled, yet.
Updated disabled testcases.

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

19 years agoBugfix for NPE when space-before and space-after are used.
Jeremias Maerki [Tue, 26 Jul 2005 07:41:58 +0000 (07:41 +0000)]
Bugfix for NPE when space-before and space-after are used.

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

19 years agoOptional attribute "fail-msg" for the "true" check so a custom error message can...
Jeremias Maerki [Tue, 26 Jul 2005 07:37:41 +0000 (07:37 +0000)]
Optional attribute "fail-msg" for the "true" check so a custom error message can be supplied.

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

19 years agoBugzilla #35534
Jeremias Maerki [Mon, 25 Jul 2005 16:06:24 +0000 (16:06 +0000)]
Bugzilla #35534
space-* production for list-item.
Fixed the testcase to provide more accurate testing. The .optimum way currently doesn't work, as the page breaker seems to always use the .minimum value (which is 0pt) and the addAreas stage currently doesn't take this into account.

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

19 years agoMade Service a stand-alone class so it can be reused.
Jeremias Maerki [Mon, 25 Jul 2005 15:54:20 +0000 (15:54 +0000)]
Made Service a stand-alone class so it can be reused.
Made XMLHandler discoverable through the Service class.
Moved XMLHandler collection into new XMLHandlerRegistry class.
Adjusted the Renderers and XMLHandler to the above changes.

This should make it easier to write certain FOP extensions. The changes were triggered by my work on the FOP extension for Barcode4J for the FOP Trunk.

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

19 years agoBugzilla #35534
Jeremias Maerki [Mon, 25 Jul 2005 15:41:23 +0000 (15:41 +0000)]
Bugzilla #35534
space-* production for list-item and list-block.

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

19 years agoBugzilla #35534
Jeremias Maerki [Mon, 25 Jul 2005 15:27:36 +0000 (15:27 +0000)]
Bugzilla #35534
space-* production for list-item.

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

19 years agoBuzilla #35787
Jeremias Maerki [Tue, 19 Jul 2005 13:53:05 +0000 (13:53 +0000)]
Buzilla #35787
When checking for content overflow, don't include border and padding.
Clearer warning message in case of height constraint violation on table-rows.

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

19 years agoDynamic classpath setup in case not all required dependencies are available in the...
Jeremias Maerki [Mon, 18 Jul 2005 16:41:18 +0000 (16:41 +0000)]
Dynamic classpath setup in case not all required dependencies are available in the given classpath.
Useful when starting FOP using "java -jar fop.jar". This is actually a replacement for the manifest "Class-Path" entry and even picks up additional JARs it finds.

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

19 years agoRenamed Item to Cell to TableCellLayoutManager.
Jeremias Maerki [Mon, 18 Jul 2005 15:46:44 +0000 (15:46 +0000)]
Renamed Item to Cell to TableCellLayoutManager.
Renamed Caption to TableCaptionLayoutManager.
Adjusted SVN properties.

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

19 years agoRenamed Item to ListItemContentLayoutManager.
Jeremias Maerki [Mon, 18 Jul 2005 15:39:47 +0000 (15:39 +0000)]
Renamed Item to ListItemContentLayoutManager.
Adjusted SVN properties.

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

19 years agoMoved inline-level LMs and support classes to "inline" subpackage.
Jeremias Maerki [Mon, 18 Jul 2005 15:03:47 +0000 (15:03 +0000)]
Moved inline-level LMs and support classes to "inline" subpackage.

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

19 years agoJavadocs only
Jeremias Maerki [Mon, 18 Jul 2005 14:46:29 +0000 (14:46 +0000)]
Javadocs only

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

19 years agoNo more warnings about unexpected FOText inside markers.
Jeremias Maerki [Mon, 18 Jul 2005 10:51:00 +0000 (10:51 +0000)]
No more warnings about unexpected FOText inside markers.

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

19 years agoShortcut work-around for i-f-o in static-content. I still need to estimate the implic...
Jeremias Maerki [Mon, 18 Jul 2005 10:14:49 +0000 (10:14 +0000)]
Shortcut work-around for i-f-o in static-content. I still need to estimate the implications concerning memory consumption.

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

19 years agoFix for allowing empty table-cells (for relaxed validation).
Jeremias Maerki [Fri, 15 Jul 2005 20:52:47 +0000 (20:52 +0000)]
Fix for allowing empty table-cells (for relaxed validation).
Row heights were not always set, especially when there was no content to make the effective rows grow in height.

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

19 years agoWrapperLayoutManagerMaker was used by RetrieveMarker. This caused a ClassCastExceptio...
Jeremias Maerki [Fri, 15 Jul 2005 20:50:33 +0000 (20:50 +0000)]
WrapperLayoutManagerMaker was used by RetrieveMarker. This caused a ClassCastException with my recent fix.

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

19 years agoBugzilla #35749:
Jeremias Maerki [Fri, 15 Jul 2005 17:52:39 +0000 (17:52 +0000)]
Bugzilla #35749:
IDs on fo:wrapper didn't register on the pages because fo:wrapper didn't have an LM that does that job for it.
The new LM for wrapper creates a dummy area so addId() can be triggered. No area is actually sent to the area tree. The WrapperLM is simply inserted before its children.

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

19 years agoClarify where this K3 barcode font is coming from.
Jeremias Maerki [Thu, 14 Jul 2005 08:28:55 +0000 (08:28 +0000)]
Clarify where this K3 barcode font is coming from.

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

19 years agoBugfix: Proper handling of page break between normally broken parts and the parts...
Jeremias Maerki [Mon, 11 Jul 2005 07:20:42 +0000 (07:20 +0000)]
Bugfix: Proper handling of page break between normally broken parts and the parts that need to be balanced. (multi-column layout, fixes multi-column2a)

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

19 years agoBugfix: Corrected the calculation of the full length of the section to be broken...
Jeremias Maerki [Mon, 11 Jul 2005 07:19:01 +0000 (07:19 +0000)]
Bugfix: Corrected the calculation of the full length of the section to be broken. Could lead to strange results.
Own private logger for easier debugging.

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

19 years agoRegression test for special case of multi-column2.xml.
Jeremias Maerki [Mon, 11 Jul 2005 07:10:55 +0000 (07:10 +0000)]
Regression test for special case of multi-column2.xml.

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

19 years agoDefault break class should be EN_COLUMN or else there will be problems in multi-colum...
Jeremias Maerki [Fri, 8 Jul 2005 13:22:45 +0000 (13:22 +0000)]
Default break class should be EN_COLUMN or else there will be problems in multi-column documents.

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

19 years agoColumn balancing seems to work now.
Jeremias Maerki [Fri, 8 Jul 2005 12:51:59 +0000 (12:51 +0000)]
Column balancing seems to work now.

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

19 years agoColumn balancing seems to work now.
Jeremias Maerki [Fri, 8 Jul 2005 12:50:49 +0000 (12:50 +0000)]
Column balancing seems to work now.
I had to modify BreakingAlgorithm to add best records for parts which are too short.
Furthermore, it took an additional computed value to tweak the balancing. It effectively makes shorter trailing parts preferred.

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

19 years agoFixed some mistakes in the checks.
Jeremias Maerki [Fri, 8 Jul 2005 12:28:56 +0000 (12:28 +0000)]
Fixed some mistakes in the checks.

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

19 years agoCorrects a small mistake when repositioning the cursor in multi-column layout (see...
Jeremias Maerki [Fri, 8 Jul 2005 08:47:22 +0000 (08:47 +0000)]
Corrects a small mistake when repositioning the cursor in multi-column layout (see multi-column2.xml)

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

19 years agoThe test case is not much use with explicit column-widths.
Jeremias Maerki [Fri, 8 Jul 2005 08:35:09 +0000 (08:35 +0000)]
The test case is not much use with explicit column-widths.

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

19 years agoTest case for Bugzilla issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=35656
Jeremias Maerki [Fri, 8 Jul 2005 07:50:06 +0000 (07:50 +0000)]
Test case for Bugzilla issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=35656
(specifying column widths through the first table row as described in CSS2)

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

19 years agoRemove illegal or non-standard stuff.
Jeremias Maerki [Thu, 30 Jun 2005 13:07:42 +0000 (13:07 +0000)]
Remove illegal or non-standard stuff.

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

19 years agoBugzilla #35561
Jeremias Maerki [Thu, 30 Jun 2005 11:55:46 +0000 (11:55 +0000)]
Bugzilla #35561
Print quality improvement especially for printing. The implementations don't create a bitmap image anymore, but draw directly.
Submitted by: Richard Wheeldon <richardw@geoquip-rnd.demon.co.uk>

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