]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
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 > 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

18 years agoQuick fix to get the size of images right in RTF output. It looks like \picwgoalN...
Jeremias Maerki [Mon, 12 Dec 2005 19:28:33 +0000 (19:28 +0000)]
Quick fix to get the size of images right in RTF output. It looks like \picwgoalN|\pichgoalN should not be used together with \picscalexN|\pixscaleyN. Some problems remain with uniform scaling and such.
Added support for SVG in external-graphic. SVG images are converted to JPEG through Batik at 300 dpi. Note that instream-foreign-object is not supported, yet. It might be good to reuse code from external-graphic for that.

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

18 years agoNew download location
Christian Geisert [Mon, 12 Dec 2005 18:53:24 +0000 (18:53 +0000)]
New download location

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

18 years agoXSL 1.1 Bookmarks added to the compliance page.
Jeremias Maerki [Sun, 11 Dec 2005 09:59:24 +0000 (09:59 +0000)]
XSL 1.1 Bookmarks added to the compliance page.
Some more details on the upgrading page.

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

18 years agoThe result of some practice with Checkstyle
Simon Pepping [Fri, 9 Dec 2005 12:46:23 +0000 (12:46 +0000)]
The result of some practice with Checkstyle

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

18 years agoMade the locator variable on FONode protected.
Jeremias Maerki [Fri, 9 Dec 2005 09:34:49 +0000 (09:34 +0000)]
Made the locator variable on FONode protected.
Locator information is duplicated using SAX's LocatorImpl. Otherwise, the info returned by the Locator information is only valid during FO tree building and validation.
If desired code could be added to disable storing locator information even if it is available to use less memory (one LocatorImpl instance per FO tree node) in FOTreeBuilder.

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

18 years agoThe command-line now automatically sets two parameters for any XSLT transformation...
Jeremias Maerki [Fri, 9 Dec 2005 08:27:01 +0000 (08:27 +0000)]
The command-line now automatically sets two parameters for any XSLT transformation: "fop-output-format" contains the MIME type of the currently selected output format, "fop-version" contains FOP's version number.
Suggested by: Roland Neilands

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

18 years agoThe output file is now deleted when an exception occurs when calling FOP from the...
Jeremias Maerki [Fri, 9 Dec 2005 07:44:09 +0000 (07:44 +0000)]
The output file is now deleted when an exception occurs when calling FOP from the command-line.

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

18 years agoBetter approach for enforcing the overflow property on block-containers.
Jeremias Maerki [Thu, 8 Dec 2005 15:55:19 +0000 (15:55 +0000)]
Better approach for enforcing the overflow property on block-containers.
Fixed a bug in the PDF and PS renderers concerning the clipping of viewport areas. The order of clipping and establishing the new coordinate system was wrong. Removed an unnecessary save/restoreGraphicsState() pair.

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

18 years agoBugfix: Areas for table-cells that are broken over more than one page are now generat...
Jeremias Maerki [Thu, 8 Dec 2005 14:55:53 +0000 (14:55 +0000)]
Bugfix: Areas for table-cells that are broken over more than one page are now generated even if all its content is already painted on a previous page. This fixes strange effects like a table grid that is not completely painted.
Some check in the test cases had to be adjusted because the indices weren't correct anymore, since now some previously missing areas are generated.

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

18 years agoLooks like the 2-column situation has to be handled differently than the 3-column...
Jeremias Maerki [Thu, 8 Dec 2005 10:15:33 +0000 (10:15 +0000)]
Looks like the 2-column situation has to be handled differently than the 3-column approach.
The 4-column example shows that my current approach is not good enough and needs to be revisited.

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

18 years agoBugzilla #37828:
Jeremias Maerki [Thu, 8 Dec 2005 08:51:14 +0000 (08:51 +0000)]
Bugzilla #37828:
Bugfix for column balancing with large amounts of text.

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

18 years agoAlternative set of rules for text indent calculation (start-indent and end-indent...
Jeremias Maerki [Wed, 7 Dec 2005 15:15:38 +0000 (15:15 +0000)]
Alternative set of rules for text indent calculation (start-indent and end-indent) which tries to mimic many commercial FO implementation that have chosen to break the specification in this aspect. I think I have found the behaviour for most cases. But I'm operating in reverse-engineering mode here and not all FO implementations behave in the same way!
This is an optional feature that has to be explicitely enabled through the user agent. Otherwise, FOP will behave like before.
In the FO tree tests a processing instruction is used to enable the feature/bug ;-) in the user agent so I can test both cases.

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

18 years agoBugzilla #37815:
Jeremias Maerki [Wed, 7 Dec 2005 09:40:16 +0000 (09:40 +0000)]
Bugzilla #37815:
Bugfix: The combination of content-width="scale-to-fit" and content-height="100%" did not work as expected due to a datatype conversion bug.
Submitted by: Tom <tom.at.craddock.id.au>

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

18 years agoBugzilla #37813:
Jeremias Maerki [Wed, 7 Dec 2005 09:01:26 +0000 (09:01 +0000)]
Bugzilla #37813:
Fixed a bug that occurred if the first block was span="all". A page break was inserted in this situation, the first span was calculated as if it were span="none".
Code added to remove empty span areas. This is a lot easier and cleaner than trying not to instantiate the first span right from the beginning.

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

18 years agoBugfix: OutputStreams created by the PNG Renderer were not properly closed.
Jeremias Maerki [Tue, 6 Dec 2005 20:35:15 +0000 (20:35 +0000)]
Bugfix: OutputStreams created by the PNG Renderer were not properly closed.

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

18 years agoThe border-collapse property on fo:table is now forced to the value "separate" until...
Jeremias Maerki [Mon, 5 Dec 2005 14:05:16 +0000 (14:05 +0000)]
The border-collapse property on fo:table is now forced to the value "separate" until the collapsing border has been implemented.

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

18 years agoBetter not use something derived from "fantasy" since it's a keyword in the spec.
Jeremias Maerki [Fri, 2 Dec 2005 14:59:39 +0000 (14:59 +0000)]
Better not use something derived from "fantasy" since it's a keyword in the spec.

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

18 years agofont-family list still not fully supported but a comma-separated list is now properly...
Jeremias Maerki [Fri, 2 Dec 2005 14:27:35 +0000 (14:27 +0000)]
font-family list still not fully supported but a comma-separated list is now properly tokenized. FOP will now go through all fonts in the list to find one that is available, but it doesn't do so per character, yet.

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

18 years agoImplemented 5.3.4 overconstrained geometry without handling the case when the content...
Jeremias Maerki [Fri, 2 Dec 2005 09:52:38 +0000 (09:52 +0000)]
Implemented 5.3.4 overconstrained geometry without handling the case when the content IPD is zero.

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

18 years agoFixing two NPEs occurring with a completely empty table where not even the table...
Jeremias Maerki [Thu, 1 Dec 2005 21:56:02 +0000 (21:56 +0000)]
Fixing two NPEs occurring with a completely empty table where not even the table-cell has at least one block element and relaxed validation is enabled.

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