]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
18 years agoThe resolution of the bounding box (pts as integers) is too low for barcodes. Once...
Jeremias Maerki [Fri, 20 Jan 2006 14:43:26 +0000 (14:43 +0000)]
The resolution of the bounding box (pts as integers) is too low for barcodes. Once the EPSReader can load the HiResBoundingBox this is also useful.

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

18 years agoAdded samedir property, to allow Checkstyle 4 to run
Chris Bowditch [Fri, 20 Jan 2006 14:15:11 +0000 (14:15 +0000)]
Added samedir property, to allow Checkstyle 4 to run

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

18 years ago(Re?)added integer page number to the PageViewport.
Jeremias Maerki [Fri, 20 Jan 2006 13:09:05 +0000 (13:09 +0000)]
(Re?)added integer page number to the PageViewport.
Serializing both the integer and the formatted value to the area tree XML. In the XML "nr" is now "formatted-nr" and "nr" is now the integer value. This doesn't have any impact on our layout engine tests as we don't seem to use a non-default for page numbers.
Make the current PageViewport available to XMLHandler through the RenderContext.
I need this for Barcode4J so the current page number can be used as part of a barcode message.

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

18 years agoRTF output did not generate the "\landscape" tag when necessary.
Jeremias Maerki [Fri, 20 Jan 2006 12:52:50 +0000 (12:52 +0000)]
RTF output did not generate the "\landscape" tag when necessary.

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

18 years agoFollowing a clarification by the XSL FO SG, space traits are only set on the first...
Jeremias Maerki [Thu, 19 Jan 2006 15:10:14 +0000 (15:10 +0000)]
Following a clarification by the XSL FO SG, space traits are only set on the first and last area generated by an FO, and not on every area anymore.
For details, see: http://wiki.apache.org/xmlgraphics-fop/XslFoSpecificationUncertainties/SpaceTraits

Note: this change brings another issue in column balancing to light. That's the reason for disabling one of the tests. I wasn't able to find a quick fix there.

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

18 years agoFixed a few omissions after the API change.
Jeremias Maerki [Thu, 19 Jan 2006 09:55:17 +0000 (09:55 +0000)]
Fixed a few omissions after the API change.
Thanks to Sébastien Devaux for the hint.

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

18 years agoNew interface XMLizable (copied from Apache Excalibur) to mark classes that can seria...
Jeremias Maerki [Thu, 19 Jan 2006 09:46:44 +0000 (09:46 +0000)]
New interface XMLizable (copied from Apache Excalibur) to mark classes that can serialize themselves to XML (SAX stream).
New interface ContentHandlerFactory (plus associated Factory with Service discovery) for sub-document parsing plug-ins. Used by the area tree but could be used independently.
ExtensionAttachments are now part of the area tree and are written by XMLRenderer and parsed by AreaTreeParser.
The PS Extensions are extended to support serialization to and deserialization from XML.
Added a test case that tests the PS Extension WRT the handling in the area tree XML.

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

18 years agoAdded an example for the intermediate format the demonstrates stamping a document...
Jeremias Maerki [Tue, 17 Jan 2006 20:28:35 +0000 (20:28 +0000)]
Added an example for the intermediate format the demonstrates stamping a document using XSLT.

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

18 years agoInitial documentation for the intermediate format.
Jeremias Maerki [Tue, 17 Jan 2006 14:10:39 +0000 (14:10 +0000)]
Initial documentation for the intermediate format.

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

18 years agoNew feature: "Intermediate format" (IF). The IF is basically the XML dialect written...
Jeremias Maerki [Tue, 17 Jan 2006 11:07:10 +0000 (11:07 +0000)]
New feature: "Intermediate format" (IF). The IF is basically the XML dialect written by the area tree renderer (XMLRenderer). A new parser for this format allows reparsing a serialized and possibly modified area tree and rendering it to the final target format. More details on the Wiki at http://wiki.apache.org/xmlgraphics-fop/AreaTreeIntermediateXml. No advanced features have been implemented, yet, only the basic functionality. The whole change should be fully backwards-compatible WRT the outer FOP API except maybe for FOTreeBuilder.addElementMapping(), and the area tree XML which got small changes.

The area tree has been cleaned up. The serializability has been restored. The CachedRenderPagesModel works again and can, in certain situations, decrease the maximum amount of memory held at one point in time. Some adjustments were necessary in the area tree to help the work of the AreaTreeParser.

The AreaTreeParser is new and is responsible for parsing area tree XML files and adding pages to a RenderPagesModel instance. It is SAX-based and should be pretty efficient.

XMLUnit (http://xmlunit.sourceforge.net, BSD license) is a new dependency for the test code. It is used to verify the correctness of the intermediate format code. It doesn't have to be installed for the build to run through, though.

ElementMapping got a new method getDOMImplementation() which provides the DOMImplementation used to handle a subdocument of a particular namespace. For example, SVG uses Batik's SVG DOM. The AreaTreeParser needs that to properly recreate foreign objects because it can't use the mechanism of the FO tree. The default implementation returns null.

The ElementMapping instances are no longer maintained by the FOTreeBuilder, but by the newly created ElementMappingRegistry class. It is expected that the instance of this class is moved from the FOTreeBuilder and the AreaTreeParser's Handler class to the "environment class" once it is created to cut down on the startup time for each processed document.

The XMLRenderer has been slightly modified to improve the serialization/deserialization qualities of the area tree XML format.

The XMLRenderer can now mimic another renderer (see mimicRenderer(Renderer)) in order to use its font setup. That way it is made certain that the reparsed area tree will render to the final target format exactly as expected.

Fixed a bug in the XMLHandlerRegistry which did not always return the right XMLHandler for every situation.

Added a DefaultErrorListener to the util package. I've had problems with Xalan-J swallowing exceptions with its default ErrorListener, so I added a simple one for convenience and use in AreaTreeParser.

Example code for working with the AreaTreeParser can be found in examples/embedding. Documentation will follow.

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

18 years agoFixed a small mistake on the servlet page.
Jeremias Maerki [Mon, 16 Jan 2006 17:55:33 +0000 (17:55 +0000)]
Fixed a small mistake on the servlet page.

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

18 years agoCode conventions please! No tab characters, spacing etc.
Jeremias Maerki [Mon, 16 Jan 2006 09:50:28 +0000 (09:50 +0000)]
Code conventions please! No tab characters, spacing etc.

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

18 years agoBugfix: Floating point numbers were not properly formatted in the PDF renderer which...
Jeremias Maerki [Mon, 16 Jan 2006 09:18:11 +0000 (09:18 +0000)]
Bugfix: Floating point numbers were not properly formatted in the PDF renderer which could lead to error messages while opening a PDF in Acrobat Reader.

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

18 years agoFAQ entry for the "indent inheritance problem".
Jeremias Maerki [Mon, 16 Jan 2006 08:37:51 +0000 (08:37 +0000)]
FAQ entry for the "indent inheritance problem".

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

18 years agoRTF: call startListBody and endListBody
Peter Herweg [Sun, 15 Jan 2006 17:51:19 +0000 (17:51 +0000)]
RTF: call startListBody and endListBody

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

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