]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
18 years agoRTF: support for nested tables
Peter Herweg [Sun, 15 Jan 2006 17:37:58 +0000 (17:37 +0000)]
RTF: support for nested tables

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

18 years agosupport for background-color at fo:table
Peter Herweg [Sun, 15 Jan 2006 17:34:33 +0000 (17:34 +0000)]
support for background-color at fo:table

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

18 years agoRemove 2005 from the copyright years of appropriate files committed in
Simon Pepping [Sat, 14 Jan 2006 18:46:42 +0000 (18:46 +0000)]
Remove 2005 from the copyright years of appropriate files committed in
revision 368462. Update the changes document with the change of that
commit.

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

18 years agoSome svn properties housekeeping: propset svn:keywords, propset svn:eol
Simon Pepping [Thu, 12 Jan 2006 20:49:26 +0000 (20:49 +0000)]
Some svn properties housekeeping: propset svn:keywords, propset svn:eol

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

18 years agoAllow some xsl-function calls with omitted args, patch contributed by
Simon Pepping [Thu, 12 Jan 2006 20:40:08 +0000 (20:40 +0000)]
Allow some xsl-function calls with omitted args, patch contributed by
Gerhard Oettl, bug 38098.

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

18 years agoThe last page sequence should also follow its force-page-count trait.
Simon Pepping [Tue, 10 Jan 2006 20:18:13 +0000 (20:18 +0000)]
The last page sequence should also follow its force-page-count trait.
Replace one test case with two leaner test cases, submitted by Gerhard
Oettl, see bug 38087.

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

18 years agoLIST_INDENT never found; write 360 as default
Peter Herweg [Tue, 10 Jan 2006 18:52:35 +0000 (18:52 +0000)]
LIST_INDENT never found; write 360 as default

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

18 years agoFixed ugly NPE (with no message) when a malconfigured font was processed by the PS...
Jeremias Maerki [Tue, 10 Jan 2006 13:19:54 +0000 (13:19 +0000)]
Fixed ugly NPE (with no message) when a malconfigured font was processed by the PS Renderer (even when that font is not used). When the font is used we don't get an NPE anymore but a Runtime exception. Not ideal, but a little better, especially because of the error message. I hope that at some point someone finds time to clean up the whole exception handling in FOP.

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

18 years agoDocumented the missing feature for internal basic-links as described on fop-users.
Jeremias Maerki [Tue, 10 Jan 2006 06:51:51 +0000 (06:51 +0000)]
Documented the missing feature for internal basic-links as described on fop-users.

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

18 years agofix error with lists: listIdGenerator must not be a local variable, in order to retur...
Peter Herweg [Mon, 9 Jan 2006 22:35:33 +0000 (22:35 +0000)]
fix error with lists: listIdGenerator must not be a local variable, in order to return different random numbers

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

18 years agoSlight enhancement to white-space-handling: removal of trailing white-space for trail...
Andreas L. Delmelle [Mon, 9 Jan 2006 21:20:07 +0000 (21:20 +0000)]
Slight enhancement to white-space-handling: removal of trailing white-space for trailing inlines

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

18 years agoBugzilla #38054:
Jeremias Maerki [Mon, 9 Jan 2006 10:16:45 +0000 (10:16 +0000)]
Bugzilla #38054:
Bugfix: Spans that end up with a negative height don't get swallowed anymore.

MainReference.getWidth() removed as it's not used anywhere.

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

18 years agoMainRefrence.getWidth() is never set, preparing to remove this method.
Jeremias Maerki [Mon, 9 Jan 2006 09:43:25 +0000 (09:43 +0000)]
MainRefrence.getWidth() is never set, preparing to remove this method.

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

18 years agoAlso let the last page sequence notify its listeners. Add a check for
Simon Pepping [Sun, 8 Jan 2006 11:47:38 +0000 (11:47 +0000)]
Also let the last page sequence notify its listeners. Add a check for
the page count to the test case.

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

18 years agoCreate a new check type for the formatting results. For now only
Simon Pepping [Sun, 8 Jan 2006 11:45:37 +0000 (11:45 +0000)]
Create a new check type for the formatting results. For now only
checking the pagecount property is implemented.

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

18 years agoBugZilla #38161:
Manuel Mall [Sat, 7 Jan 2006 15:23:32 +0000 (15:23 +0000)]
BugZilla #38161:
Added XSL-FO functions to compliance page
Submitted by: Gerhard Oettl <gerhard.oettle.at.oesoft.at>

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

18 years agoAdded support for relative font config URLs (metrics-url and embed-url). These URLs...
Manuel Mall [Sat, 7 Jan 2006 13:15:53 +0000 (13:15 +0000)]
Added support for relative font config URLs (metrics-url and embed-url). These URLs are now resolved through the FOP config URI resolver. A new configuration item font-base has been added which defines the base URL to be used for resolution of the font URLs. If it is not given the normal FOP base URL is used. Unrelated to this feature the patch also contains a new image class (java 1.4 specific) for JPEG images. This is for renderers (e.g. AFP) which require access to the decoded JPEG.

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

18 years agoImplementation of force-page-count property, patch by Gerhard Oettl,
Simon Pepping [Fri, 6 Jan 2006 21:31:02 +0000 (21:31 +0000)]
Implementation of force-page-count property, patch by Gerhard Oettl,
somewhat rearranged by me. See bug 38087.

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

18 years agoBugzilla #38135:
Jeremias Maerki [Thu, 5 Jan 2006 14:00:50 +0000 (14:00 +0000)]
Bugzilla #38135:
Added support for RFC 2397 "data" URLs.
Submitted by: Richard Wheeldon <richardw.at.geoquip-rnd.demon.co.uk>

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

18 years agoBugzilla #38132:
Jeremias Maerki [Thu, 5 Jan 2006 10:24:18 +0000 (10:24 +0000)]
Bugzilla #38132:
Bugfix: Certain border styles could lead to a NullPointerException.
inset and groove are now mapped to RTF's "engrave", outset and ridge to "emboss". If no mapping can be found the "solid" style is used. Before null was returned which was the cause for the NPE.

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

18 years agoBugzilla #38102:
Jeremias Maerki [Wed, 4 Jan 2006 19:30:24 +0000 (19:30 +0000)]
Bugzilla #38102:
Bugfix: Space was not adjusted if the space was on a nested block inside an auto-height block-container. This could lead to content overflowing the bottom of a page.

Note: Tables and lists currently don't offer space adjustments due to the current limits of the element list combination process. Once the stretch/shrink components are handled during element list combination, this will have to be rechecked.

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

18 years agoBugzilla #38102:
Jeremias Maerki [Wed, 4 Jan 2006 15:52:07 +0000 (15:52 +0000)]
Bugzilla #38102:
Bugfix: Space was not adjusted if the space was on a nested block. This could lead to content overflowing the bottom of a page.

I guess I will need to check if other addArea() methods suffer from the same defect.

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

18 years agoGot caught with the wrong year in the license header again!
Manuel Mall [Wed, 4 Jan 2006 13:39:19 +0000 (13:39 +0000)]
Got caught with the wrong year in the license header again!

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

18 years agoAdded testcases for recently identified problems with markers
Manuel Mall [Wed, 4 Jan 2006 13:33:23 +0000 (13:33 +0000)]
Added testcases for recently identified problems with markers

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

18 years agoBugfix: TableCell did not properly report that it generates reference-areas which...
Jeremias Maerki [Tue, 3 Jan 2006 17:35:23 +0000 (17:35 +0000)]
Bugfix: TableCell did not properly report that it generates reference-areas which could lead to wrong inherited values for start-indent and end-indent.

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

18 years agoAdded an example for the Symbol font embedding tip.
Jeremias Maerki [Tue, 3 Jan 2006 16:40:21 +0000 (16:40 +0000)]
Added an example for the Symbol font embedding tip.

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

18 years agoDocumented the change made in revision 365623.
Jeremias Maerki [Tue, 3 Jan 2006 15:34:31 +0000 (15:34 +0000)]
Documented the change made in revision 365623.

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

18 years agoThe font loading code now reads the encoding value from the XML font metrics file...
Jeremias Maerki [Tue, 3 Jan 2006 13:08:45 +0000 (13:08 +0000)]
The font loading code now reads the encoding value from the XML font metrics file so that Type 1 fonts like Symbol and ZapfDingbats can be embedded explicitely (Required by PDF/A).

Note that it is necessary to set the encoding value in the font metrics file manually since it cannot be extracted from the PFM file reliably, i.e. for "Symbol" use "SymbolEncoding" and for "ZapfDingbats" use "ZapfDingbatsEncoding".

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

18 years agoA short summary of my changes over the past two weeks
Simon Pepping [Mon, 2 Jan 2006 20:31:43 +0000 (20:31 +0000)]
A short summary of my changes over the past two weeks

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

18 years agoSome more properties housekeeping: propset svn:keywords 'Id', propset
Simon Pepping [Mon, 2 Jan 2006 20:12:11 +0000 (20:12 +0000)]
Some more properties housekeeping: propset svn:keywords 'Id', propset
svn:eol 'native'

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

18 years agoThe copyright fun starts again; it is 2006
Simon Pepping [Mon, 2 Jan 2006 19:44:19 +0000 (19:44 +0000)]
The copyright fun starts again; it is 2006

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

18 years agoCorrected simple mistake in BMP Reader which incorrectly reported the image width...
Manuel Mall [Mon, 2 Jan 2006 03:43:00 +0000 (03:43 +0000)]
Corrected simple mistake in BMP Reader which incorrectly reported the image width information as the image height

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

18 years agoApplied white-space handling to leaders as well...
Andreas L. Delmelle [Fri, 30 Dec 2005 18:58:39 +0000 (18:58 +0000)]
Applied white-space handling to leaders as well...

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

18 years agoCorrection of expected result
Andreas L. Delmelle [Fri, 30 Dec 2005 18:30:25 +0000 (18:30 +0000)]
Correction of expected result

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

18 years agogit-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@360088 13f79535...
Andreas L. Delmelle [Fri, 30 Dec 2005 14:03:37 +0000 (14:03 +0000)]
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@360088 13f79535-47bb-0310-9956-ffa450edef68

18 years agogit-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@360084 13f79535...
Andreas L. Delmelle [Fri, 30 Dec 2005 13:48:51 +0000 (13:48 +0000)]
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@360084 13f79535-47bb-0310-9956-ffa450edef68

18 years agoRevision of refinement white-space handling (cfr. Bugzilla 37639)
Andreas L. Delmelle [Fri, 30 Dec 2005 13:33:18 +0000 (13:33 +0000)]
Revision of refinement white-space handling (cfr. Bugzilla 37639)

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

18 years agoSome properties housekeeping: propdel svn:executable, propset svn:eol 'native'
Simon Pepping [Fri, 30 Dec 2005 12:09:27 +0000 (12:09 +0000)]
Some properties housekeeping: propdel svn:executable, propset svn:eol 'native'

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

18 years agoBlock Knuth sequences in inline content are properly joined, taking
Simon Pepping [Fri, 30 Dec 2005 11:39:08 +0000 (11:39 +0000)]
Block Knuth sequences in inline content are properly joined, taking
keeps into account.

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

18 years agoAdded support for the white-space shorthand
Andreas L. Delmelle [Fri, 30 Dec 2005 00:25:28 +0000 (00:25 +0000)]
Added support for the white-space shorthand

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

18 years agoTweak page-break-* shorthands; keeps now working properly
Andreas L. Delmelle [Fri, 30 Dec 2005 00:18:57 +0000 (00:18 +0000)]
Tweak page-break-* shorthands; keeps now working properly

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

18 years agoAdded a few missing constants...
Andreas L. Delmelle [Fri, 30 Dec 2005 00:14:21 +0000 (00:14 +0000)]
Added a few missing constants...

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

18 years agogit-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359893 13f79535...
Andreas L. Delmelle [Thu, 29 Dec 2005 21:17:22 +0000 (21:17 +0000)]
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359893 13f79535-47bb-0310-9956-ffa450edef68

18 years ago1) Added support for the page-break-* shorthands
Andreas L. Delmelle [Thu, 29 Dec 2005 21:09:07 +0000 (21:09 +0000)]
1) Added support for the page-break-* shorthands
2) Minor tweak: added validity check for reference-orientation

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

18 years agoTest file for the NPE reported in bug 38053
Simon Pepping [Wed, 28 Dec 2005 11:33:29 +0000 (11:33 +0000)]
Test file for the NPE reported in bug 38053

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

18 years agoEach block in inline content now appears in its own line area.
Simon Pepping [Wed, 28 Dec 2005 09:10:36 +0000 (09:10 +0000)]
Each block in inline content now appears in its own line area.

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

18 years agoMinor updates and corrections to the compliance page
Manuel Mall [Wed, 28 Dec 2005 05:07:17 +0000 (05:07 +0000)]
Minor updates and corrections to the compliance page

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

18 years agoFix for NPE reported in bugzilla 38053. Unfortunately I have not been able to constru...
Manuel Mall [Wed, 28 Dec 2005 04:12:40 +0000 (04:12 +0000)]
Fix for NPE reported in bugzilla 38053. Unfortunately I have not been able to construct a small testcase for it.

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

18 years agoFix for bug 37743 and part of 38053
Manuel Mall [Wed, 28 Dec 2005 03:21:08 +0000 (03:21 +0000)]
Fix for bug 37743 and part of 38053

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

18 years agoLineArea had a finalize method which caused a NPE when called from the garbage collec...
Manuel Mall [Wed, 28 Dec 2005 03:08:49 +0000 (03:08 +0000)]
LineArea had a finalize method which caused a NPE when called from the garbage collector. I assume it was never intended for this method to be an override of the Java Object finalize method. Renamed the method to finalise.

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

18 years agoRTF: If there is no background-color specified for a table-cell, then try to read...
Peter Herweg [Tue, 27 Dec 2005 22:49:05 +0000 (22:49 +0000)]
RTF: If there is no background-color specified for a table-cell, then try to read it from table-row or table-header.

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

18 years agoRTF: Don't set \brsp at tables, because it makes them look quite broken.
Peter Herweg [Tue, 27 Dec 2005 22:17:47 +0000 (22:17 +0000)]
RTF: Don't set \brsp at tables, because it makes them look quite broken.

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

18 years agoThis time with checks.
Simon Pepping [Tue, 27 Dec 2005 16:29:46 +0000 (16:29 +0000)]
This time with checks.

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

18 years agoTestcase for the ClassCastExceptions in inline block content.
Simon Pepping [Tue, 27 Dec 2005 15:32:41 +0000 (15:32 +0000)]
Testcase for the ClassCastExceptions in inline block content.

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

18 years agoI generalized several casts from KnuthElement to ListElement. This
Simon Pepping [Tue, 27 Dec 2005 08:40:09 +0000 (08:40 +0000)]
I generalized several casts from KnuthElement to ListElement. This
removes a number of ClassCastExceptions in some files with inline
block content.

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

18 years agoMerge from Branch fop-0_91:
Jeremias Maerki [Fri, 23 Dec 2005 23:34:48 +0000 (23:34 +0000)]
Merge from Branch fop-0_91:
Documentation updates in preparation of the 0.91 beta release.

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

18 years agoMerge from Branch fop-0_91:
Jeremias Maerki [Fri, 23 Dec 2005 23:33:38 +0000 (23:33 +0000)]
Merge from Branch fop-0_91:
Relaxed validation for empty static-content for compatibility with 0.20.5.

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

18 years agoMerge from Branch fop-0_91:
Jeremias Maerki [Fri, 23 Dec 2005 23:32:55 +0000 (23:32 +0000)]
Merge from Branch fop-0_91:
Fixed a small oversight. Code is not even in use.

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

18 years agoMerge from Branch fop-0_91:
Jeremias Maerki [Fri, 23 Dec 2005 23:32:13 +0000 (23:32 +0000)]
Merge from Branch fop-0_91:
Deprecated Fop constructors that use the integer constants for output format selection removed as discussed.

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

18 years agoChanged use of the lineLayouts member to a local variable as much as
Simon Pepping [Fri, 23 Dec 2005 19:50:46 +0000 (19:50 +0000)]
Changed use of the lineLayouts member to a local variable as much as
possible. A few style corrections.

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

18 years agoForgot to update the status page
Manuel Mall [Fri, 23 Dec 2005 12:50:10 +0000 (12:50 +0000)]
Forgot to update the status page

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

18 years agoFixed problem with linefeed-treatment=preserve not being correctly handled for text...
Manuel Mall [Fri, 23 Dec 2005 11:27:07 +0000 (11:27 +0000)]
Fixed problem with linefeed-treatment=preserve not being correctly handled for text-align=center

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

18 years agoA new testcase for linefeed treatment, as reported on fop-user
Simon Pepping [Thu, 22 Dec 2005 20:29:49 +0000 (20:29 +0000)]
A new testcase for linefeed treatment, as reported on fop-user

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

18 years agoAdding properties for this xsl file
Simon Pepping [Thu, 22 Dec 2005 20:23:27 +0000 (20:23 +0000)]
Adding properties for this xsl file

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

18 years agoAs announced, I brought FontTriplet to more life by making it Serializable and using...
Jeremias Maerki [Thu, 22 Dec 2005 20:10:54 +0000 (20:10 +0000)]
As announced, I brought FontTriplet to more life by making it Serializable and using it to transport the information about the font in use through the area tree. This has small effects on the test cases as the values in the generated XML are slightly different. While refactoring I saw that there's some room for optimization. Too many objects are still created. It should be quite easy now with the FontTriplet to create a small cache.

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

18 years agoRendering the list of disabled testcases
Simon Pepping [Thu, 22 Dec 2005 19:05:15 +0000 (19:05 +0000)]
Rendering the list of disabled testcases

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

18 years agoMore work on preparing for the intermediate format.
Jeremias Maerki [Thu, 22 Dec 2005 10:51:29 +0000 (10:51 +0000)]
More work on preparing for the intermediate format.
Font traits are added in a single place in TraitSetter so it will be easier to change those.
Remove direct references on FObjs in the area tree for regions.

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

18 years agoAdd a letterspace in InlineKnuthSequence
Simon Pepping [Thu, 22 Dec 2005 10:34:19 +0000 (10:34 +0000)]
Add a letterspace in InlineKnuthSequence

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

18 years agoAdjust to changes in KnuthSequence.
Jeremias Maerki [Thu, 22 Dec 2005 09:47:40 +0000 (09:47 +0000)]
Adjust to changes in KnuthSequence.

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

18 years agoIssue a warning when an unresolved bookmark item is received. This will be currently...
Jeremias Maerki [Thu, 22 Dec 2005 08:51:37 +0000 (08:51 +0000)]
Issue a warning when an unresolved bookmark item is received. This will be currently triggered by bug #37993. This is just to raise awareness of the problem.

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

18 years agoModified the KnuthSequence system. Transferred logic from the layout
Simon Pepping [Thu, 22 Dec 2005 08:48:51 +0000 (08:48 +0000)]
Modified the KnuthSequence system. Transferred logic from the layout
managers to the KnuthSequences.

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

18 years agoIntroduced a flag to tell the page breaking to operate in auto-height mode, i.e....
Jeremias Maerki [Thu, 22 Dec 2005 07:58:31 +0000 (07:58 +0000)]
Introduced a flag to tell the page breaking to operate in auto-height mode, i.e. no overflows can happen. This disables the overflow warnings when footnote-separators are defined. They don't have an explicit height.

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

18 years agoApacheCon is over. Keeping the old entry as a template for the next issue.
Jeremias Maerki [Wed, 21 Dec 2005 22:18:20 +0000 (22:18 +0000)]
ApacheCon is over. Keeping the old entry as a template for the next issue.

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

18 years agoDominic Brügger indeed found a bug. Strange that it only appears with break-after...
Jeremias Maerki [Wed, 21 Dec 2005 14:44:39 +0000 (14:44 +0000)]
Dominic Brügger indeed found a bug. Strange that it only appears with break-after and not with break-before.

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

18 years agoFurther decoupling the area tree from the FO tree.
Jeremias Maerki [Wed, 21 Dec 2005 10:20:56 +0000 (10:20 +0000)]
Further decoupling the area tree from the FO tree.
Created a new class org.apache.fop.layoutmgr.Page that holds a reference to the generating SimplePageMaster and the PageViewport. A deserialized area tree doesn't need a reference to the SimplePageMaster.
Renamed PageViewportProvider to PageProvider as it now returns Page instances, not (directly) PageViewports.

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

18 years agoForgot to add a toString() method to keep tests happy.
Jeremias Maerki [Wed, 21 Dec 2005 09:29:06 +0000 (09:29 +0000)]
Forgot to add a toString() method to keep tests happy.

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

18 years agoFirst step towards reactivating CachedRenderPagesModel (helps preparing for the inter...
Jeremias Maerki [Tue, 20 Dec 2005 12:53:50 +0000 (12:53 +0000)]
First step towards reactivating CachedRenderPagesModel (helps preparing for the intermediate format).
Fix some serialization problems in the area tree.

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

18 years agoBugzilla #37964:
Jeremias Maerki [Tue, 20 Dec 2005 09:33:44 +0000 (09:33 +0000)]
Bugzilla #37964:
Hard breaks with even-page or odd-page were not handled correctly  when spaces were surrounding the break. The code that retrieves the break-class from the penalty assumes that the penalty is on the last element in the list, but the space resolution added additional glues after the penalty.

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

18 years agoOne less lookup.
Jeremias Maerki [Mon, 19 Dec 2005 15:14:01 +0000 (15:14 +0000)]
One less lookup.

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

18 years agoUpdate for status page. Table on status of the individual components added. This...
Jeremias Maerki [Mon, 19 Dec 2005 10:46:54 +0000 (10:46 +0000)]
Update for status page. Table on status of the individual components added. This reflects my own view, not necessarily everyone's. If I'm wrong about anything, please change.

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

18 years agoFix for width checks. They didn't take start-indent and end-indent into account.
Jeremias Maerki [Mon, 19 Dec 2005 09:50:15 +0000 (09:50 +0000)]
Fix for width checks. They didn't take start-indent and end-indent into account.

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

18 years agoAnother workaround/hack to deal with non breaking spaces. Also some minor adjustments...
Manuel Mall [Sat, 17 Dec 2005 05:26:36 +0000 (05:26 +0000)]
Another workaround/hack to deal with non breaking spaces. Also some minor adjustments to support the planned AFP renderer

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

18 years agoXMLHandler interface changed so it reports whether it supports a particular Renderer...
Jeremias Maerki [Fri, 16 Dec 2005 14:40:20 +0000 (14:40 +0000)]
XMLHandler interface changed so it reports whether it supports a particular Renderer instead of reporting the MIME type. One MIME type could be implemented by multiple Renderer implementations so conflicts could occur. Almost all XMLHandler implementations will have a dependency on a particular Renderer implementation.
XMLHandlers are now configurable.
Standard XMLHandlers now get registered through service lookup.
Simplification: XMLHandlers don't need nested classes for the handling functionality anymore. If Batik, for example, is not in the classpath it will already be detected while registering the XMLHandlers.
The RendererContextConstants interface now standardizes some of the keys used in the RendererContext and helps with actually decoupling the XMLHandler implementations from the renderers. This is one step towards making Batik an optional dependency and making it possible to move the SVG functionality to a separate place later.
Extracted the SVG XMLHandler functionality from the sandbox SVGRenderer into a separate class following the example of the other renderers.

Bugfix in PSSVGHandler: Fixed a copy/paste error which could lead to wrong clipping of an SVG image for PostScript output.

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

18 years agoNOTE: API changes in a backwards-incompatible way: FOUserAgent.setResolution() -...
Jeremias Maerki [Thu, 15 Dec 2005 22:20:48 +0000 (22:20 +0000)]
NOTE: API changes in a backwards-incompatible way: FOUserAgent.setResolution() -> FOUserAgent.setSourceResolution() and FOUserAgent.setTargetResolution()

Resolution parameter to the user agent is split into:
- a source resolution used to determine the pixel size in SVG images and bitmap without resolution information
- a target resolution used to specify the output resolution of bitmap images generated by bitmap renderers and bitmaps generated by Batik for filter effects.

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

18 years agoBugzilla #37877:
Jeremias Maerki [Thu, 15 Dec 2005 19:18:22 +0000 (19:18 +0000)]
Bugzilla #37877:
Bug fixed in the evaluation of the resolution value in the XML configuration.

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

18 years agoDebug optimization
Jeremias Maerki [Thu, 15 Dec 2005 19:17:01 +0000 (19:17 +0000)]
Debug optimization

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

18 years agoBugzilla #37875:
Jeremias Maerki [Thu, 15 Dec 2005 16:59:37 +0000 (16:59 +0000)]
Bugzilla #37875:
Some content inside a table-header may not have been renderered on pages n &gt; 1 in certain conditions.
LineLM kept state between calls to addAreas which can have ugly side-effects in case of table-headers, for example, where the same positions are rendered more than once. I don't know why the bug only manifests if there's an overflow in the second line of the table-header in the test case.

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

18 years agoFixed a problem where a block containing only a nbsp was not rendered at all
Manuel Mall [Thu, 15 Dec 2005 15:44:02 +0000 (15:44 +0000)]
Fixed a problem where a block containing only a nbsp was not rendered at all

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

18 years agoFixed a bug where the area for a finished cell that is broken over pages was created...
Jeremias Maerki [Thu, 15 Dec 2005 13:04:29 +0000 (13:04 +0000)]
Fixed a bug where the area for a finished cell that is broken over pages was created once for each row it was spanned over instead of only once.

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

18 years agoAttempt at providing context information about the element causing an endless loop...
Jeremias Maerki [Thu, 15 Dec 2005 10:57:45 +0000 (10:57 +0000)]
Attempt at providing context information about the element causing an endless loop because of an area overflow in b-p-direction. This should make the error message more helpful.

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

18 years agoAdded checks that warn about tables and block-containers that are wider than the...
Jeremias Maerki [Thu, 15 Dec 2005 10:18:22 +0000 (10:18 +0000)]
Added checks that warn about tables and block-containers that are wider than the available content area.

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

18 years agoCorrected info.
Jeremias Maerki [Wed, 14 Dec 2005 17:00:43 +0000 (17:00 +0000)]
Corrected info.

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

18 years agoDon't hyphenate when wrap is set to "no-wrap".
Jeremias Maerki [Wed, 14 Dec 2005 16:57:16 +0000 (16:57 +0000)]
Don't hyphenate when wrap is set to "no-wrap".
Hack: Work around an NPE in hyphenation when preserved line feeds are found.
Documenting a bug where linefeeds are painted as "#" and content is painted multiple times when hyphenation is on and linefeed-treatment="preserve".

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

18 years agoBugfix: addAnchor didn't find the anchor for empty inline elements in a footnote...
Jeremias Maerki [Wed, 14 Dec 2005 16:04:13 +0000 (16:04 +0000)]
Bugfix: addAnchor didn't find the anchor for empty inline elements in a footnote after the latest bugfix. Fixes footnote_footnote-separator.
Javadocs.

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

18 years agoRestored PNG support for RTF output and fixed two bugs related to image handling...
Jeremias Maerki [Tue, 13 Dec 2005 20:41:28 +0000 (20:41 +0000)]
Restored PNG support for RTF output and fixed two bugs related to image handling (an NPE and an invalid "==" comparison on Strings).
Added a default implementation for loading the raw image. Used by most FopImage implementations.

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

18 years agoBugzilla #37880:
Jeremias Maerki [Tue, 13 Dec 2005 19:50:59 +0000 (19:50 +0000)]
Bugzilla #37880:
Bugfix for lost footnotes in centered text.
Skip elements with no Position in TextLayoutManager.

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

18 years agostartVPArea() and endVPArea() made abstract in AbstractRenderer so implementors are...
Jeremias Maerki [Tue, 13 Dec 2005 19:49:16 +0000 (19:49 +0000)]
startVPArea() and endVPArea() made abstract in AbstractRenderer so implementors are forced to deal with the topic.
startVPArea() in Renderers now takes an additional parameter for an optional clipping rectangle. PDF, PS and Java2D renderers now perform proper clipping on viewports if requested.
Fixed various problems in the Java2D renderer and added border and background painting where still missing. Note that there are several code parts that could be easily shared with the AbstractPathOrientedRenderer.

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

18 years agoNew method: FONode.decorateWithContextInfo() adds context information to an error...
Jeremias Maerki [Tue, 13 Dec 2005 19:48:04 +0000 (19:48 +0000)]
New method: FONode.decorateWithContextInfo() adds context information to an error or log message by either providing the locator information or by gathering context information from the context FOs.
Improved log and error messages in a number of places by adding additional context information that should make it easier to find the location in the source files.
Added a check to detect inline overflows (LineLayoutManager).
Added a check to detect in-page overflows (PageBreakingAlgorithm).

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

18 years agoRemoved a method call that is not yet available in the repository. Sorry guys.
Jeremias Maerki [Mon, 12 Dec 2005 22:20:44 +0000 (22:20 +0000)]
Removed a method call that is not yet available in the repository. Sorry guys.

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

18 years agoAdd checkstyle variable to the header path. This is required by the
Simon Pepping [Mon, 12 Dec 2005 21:06:12 +0000 (21:06 +0000)]
Add checkstyle variable to the header path. This is required by the
eclipse plugin

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