]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
18 years agoChanged the way the URL stream is opened. Use URLConnection now.
Jeremias Maerki [Thu, 23 Feb 2006 10:32:58 +0000 (10:32 +0000)]
Changed the way the URL stream is opened. Use URLConnection now.
Added an empty protected method that can be overridden to set parameters like HTTP Basic Authentication on the URLConnection.
Convenience method added for handling HTTP Basic Authentication.

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

18 years agoTell about the offending font if it's not embedded and PDF/A is active.
Jeremias Maerki [Thu, 23 Feb 2006 10:29:08 +0000 (10:29 +0000)]
Tell about the offending font if it's not embedded and PDF/A is active.

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

18 years agoAdded a convenience URIResolver that uses the ServletContext in a servlet to access...
Jeremias Maerki [Wed, 22 Feb 2006 16:35:14 +0000 (16:35 +0000)]
Added a convenience URIResolver that uses the ServletContext in a servlet to access resources packed into a web application.
The URIResolver listens to the "servlet-context:" protocol.
Integrated the new URIResolver into out two servlets at all levels (TransformerFactory, Transformer and FOP).

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

18 years agoMore work on PDF/A-1:
Jeremias Maerki [Wed, 22 Feb 2006 15:40:44 +0000 (15:40 +0000)]
More work on PDF/A-1:
ID entry is now generated in the trailer.
More conformance checks especially for fonts.
PDF/A Identification Schema for XMP added.
Almost finished. Only color space checking is left to do, I think.

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

18 years agoSimplification. Missed one. Sorry.
Jeremias Maerki [Tue, 21 Feb 2006 08:59:19 +0000 (08:59 +0000)]
Simplification. Missed one. Sorry.

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

18 years agoSimplification
Jeremias Maerki [Tue, 21 Feb 2006 08:54:57 +0000 (08:54 +0000)]
Simplification

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

18 years agoAdded relevant standards as per draft on site-dev@.
Jeremias Maerki [Mon, 20 Feb 2006 20:35:20 +0000 (20:35 +0000)]
Added relevant standards as per draft on site-dev@.

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

18 years agoForgot an entry.
Jeremias Maerki [Mon, 20 Feb 2006 08:25:21 +0000 (08:25 +0000)]
Forgot an entry.

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

18 years agofixed a few checkstyle warnings
Peter Herweg [Sun, 19 Feb 2006 17:39:32 +0000 (17:39 +0000)]
fixed a few checkstyle warnings

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

18 years agofixed a few checkstyle warnings
Peter Herweg [Sun, 19 Feb 2006 17:29:07 +0000 (17:29 +0000)]
fixed a few checkstyle warnings

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

18 years agoadded support for borders at fo:table; fixed a few checkstyle warnings
Peter Herweg [Sun, 19 Feb 2006 16:56:45 +0000 (16:56 +0000)]
added support for borders at fo:table; fixed a few checkstyle warnings

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

18 years agoReduced the use of categories and programming languages as requested on site-dev...
Jeremias Maerki [Sun, 19 Feb 2006 10:22:38 +0000 (10:22 +0000)]
Reduced the use of categories and programming languages as requested on site-dev. This will likely be compensated with an additional extension schema to specify implemented specifications/standards.

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

18 years agoTweak: modified warning to occur only for non-inherited props where the parent fo...
Andreas L. Delmelle [Sat, 18 Feb 2006 10:24:22 +0000 (10:24 +0000)]
Tweak: modified warning to occur only for non-inherited props where the parent fo doesn't have an explicit value

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

18 years agoSome explanations and warnings.
Jeremias Maerki [Fri, 17 Feb 2006 16:41:33 +0000 (16:41 +0000)]
Some explanations and warnings.

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

18 years agoA nit: dc:creator needs to be an ordered Text array.
Jeremias Maerki [Fri, 17 Feb 2006 16:29:14 +0000 (16:29 +0000)]
A nit: dc:creator needs to be an ordered Text array.

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

18 years agoXMP metadata generation from the PDFInfo object now conforms to PDF/A-1 (6.7.3 in...
Jeremias Maerki [Fri, 17 Feb 2006 16:18:04 +0000 (16:18 +0000)]
XMP metadata generation from the PDFInfo object now conforms to PDF/A-1 (6.7.3 in ISO 19005-1:2005(E)).
On PDFDocument, it is now possible to set the PDF-A mode which triggers conformance checks where necessary.
The first PDF/A-1b conformance checks are now in the code. When conformance problems are detected, the new PDFConformanceException (subclass of RuntimeException since this would be a programmer error) is thrown.
PDF Renderer got a setting (through rendering options and XML configuration) to set the PDF/A-1 mode. Default is "disabled".

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

18 years agouserconfig attribute works now on FOP Ant task.
Jeremias Maerki [Fri, 17 Feb 2006 13:56:40 +0000 (13:56 +0000)]
userconfig attribute works now on FOP Ant task.
Fixed wrong destination.

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

18 years agoAdded support for userconfig attribute in FOP Ant task.
Jeremias Maerki [Fri, 17 Feb 2006 13:48:26 +0000 (13:48 +0000)]
Added support for userconfig attribute in FOP Ant task.
Submitted by: Jirí Mareš <Jiri.Mares.at.svt.cz>

In addition to that:
Now deleting the output file when an exception is encountered.

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

18 years agoDOM2SAX code replaced. Copied and adapted from Xalan-J: http://svn.apache.org/repos...
Jeremias Maerki [Fri, 17 Feb 2006 13:20:40 +0000 (13:20 +0000)]
DOM2SAX code replaced. Copied and adapted from Xalan-J: http://svn.apache.org/repos/asf/xalan/java/trunk/src/org/apache/xalan/xsltc/trax/DOM2SAX.java
There were issues with well-formedness and namespace prefixes when an XMP fragment was serialized to XML. Now this works fine.

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

18 years agoInitial support for XMP metadata (PDF 1.4) under fo:declarations. Both xmpmeta and...
Jeremias Maerki [Fri, 17 Feb 2006 10:57:15 +0000 (10:57 +0000)]
Initial support for XMP metadata (PDF 1.4) under fo:declarations. Both xmpmeta and RDF elements can be used as root elements for XMP metadata.
Extracted DOM2SAX functionality from XMLXMLHandler into utility class since it is now reused elsewhere.
New DOMBuilderContentHandlerFactory is used to create ContentHandlers that build generic DOMs.
New DelegatingContentHandler is a convenience base class modelled after XMLFilterImpl but as passive SAX receiver. It is used by DOMBuilderContentHandlerFactory.
Refactored FOTreeBuilder. FO tree building is now in a special ContentHandler which can be replaced temporarily when handling foreign XML like SVG or XMP. Extension Elements wanting the set their own ContentHandlers (instead of using the standard FO tree building mechanism) return a non-null value in getContentHandlerFactory(). The old mechanism is still supported (MathML, Plan and Barcode4J still use that). However, SVG support is changed to use a ContentHandlerFactory.
Extension elements for xmpmeta and RDF elements making use of the new DOM build-up using ContentHandlerFactory.
XMP metadata is passed to the renderer as ExtensionAttachment to the document. Only PDFRenderer uses the XMP extension attachment at this time.
The PDFRenderer automatically builds XMP metadata based on the basic metadata information in the PDFInfo object if no explicit XMP metadata has been added to the XSL-FO document.
XMP metadata merging is not implemented because this would involve a more sophisticated XMP infrastructure. That also means that XMP metadata is not validated. It's passed into the PDF as is.
The PDF library now provides the PDFMetadata class to embed XMP metadata in PDFs version >=1.4. stream contents use a special filter list which is initially empty, so non-PDF-aware XMP readers can extract (and optionally modify) the XMP metadata.

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

18 years agoFix MathML rendering. Missed renaming an override method after my cleanup work in...
Jeremias Maerki [Fri, 17 Feb 2006 09:52:36 +0000 (09:52 +0000)]
Fix MathML rendering. Missed renaming an override method after my cleanup work in the FO tree.

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

18 years agoforce-page-count is already implemented: see bugzilla 38087
Andreas L. Delmelle [Fri, 17 Feb 2006 08:13:53 +0000 (08:13 +0000)]
force-page-count is already implemented: see bugzilla 38087

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

18 years agoTrivial update:
Andreas L. Delmelle [Thu, 16 Feb 2006 09:11:43 +0000 (09:11 +0000)]
Trivial update:
Change the wording of a few attributeWarnings -- properties aren't ignored (possible inheritance,
property value function calls...)
see: http://marc.theaimsgroup.com/?l=fop-dev&m=114001378911300&w=2

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

18 years agoAdded default empty String to the border-* shorthands. Added warning for the case...
Andreas L. Delmelle [Wed, 15 Feb 2006 15:06:06 +0000 (15:06 +0000)]
Added default empty String to the border-* shorthands. Added warning for the case where inherit is used, but no value is available from the parent.

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

18 years agoAdded default empty String to the border shorthand. Avoids NPE mentioned in Bugzilla...
Andreas L. Delmelle [Wed, 15 Feb 2006 13:07:57 +0000 (13:07 +0000)]
Added default empty String to the border shorthand. Avoids NPE mentioned in Bugzilla 38648. Still need to add a warning, since property now silently falls back to the default(s).

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

18 years agoTestcase for the background-position shorthand.
Andreas L. Delmelle [Tue, 14 Feb 2006 16:41:13 +0000 (16:41 +0000)]
Testcase for the background-position shorthand.

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

18 years agoAdded support for the background-position shorthand.
Andreas L. Delmelle [Tue, 14 Feb 2006 16:39:50 +0000 (16:39 +0000)]
Added support for the background-position shorthand.

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

18 years agoRTF: length of leveltext has to be specified as two-digit hex-value
Peter Herweg [Sun, 12 Feb 2006 22:31:02 +0000 (22:31 +0000)]
RTF: length of leveltext has to be specified as two-digit hex-value

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

18 years agotrivial update
Andreas L. Delmelle [Sun, 12 Feb 2006 21:40:19 +0000 (21:40 +0000)]
trivial update

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

18 years agoSlight correction: single quoted font-family names not properly handled
Andreas L. Delmelle [Sun, 12 Feb 2006 21:07:19 +0000 (21:07 +0000)]
Slight correction: single quoted font-family names not properly handled

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

18 years agoExtra constants needed for the font shorthand
Andreas L. Delmelle [Sun, 12 Feb 2006 19:39:29 +0000 (19:39 +0000)]
Extra constants needed for the font shorthand

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

18 years agoAdded implementation for the font shorthand property (+ some checkstyle cleanup)
Andreas L. Delmelle [Sun, 12 Feb 2006 19:37:22 +0000 (19:37 +0000)]
Added implementation for the font shorthand property (+ some checkstyle cleanup)

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

18 years agoBugfix for Bug 38041: correct handling of different list-item-label's
Peter Herweg [Sun, 12 Feb 2006 19:24:08 +0000 (19:24 +0000)]
Bugfix for Bug 38041: correct handling of different list-item-label's

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

18 years agoRTF: fix a few checkstyle warnings
Peter Herweg [Sun, 12 Feb 2006 19:19:03 +0000 (19:19 +0000)]
RTF: fix a few checkstyle warnings

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

18 years agoBugzilla #38618:
Jeremias Maerki [Sat, 11 Feb 2006 20:23:47 +0000 (20:23 +0000)]
Bugzilla #38618:
cleanup of rgb() and implementation of system-color()
Submitted by: Max Berger <max.at.berger.name>

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

18 years agoCreation of Font instances centralized in FontInfo and added a cache for them. This...
Jeremias Maerki [Fri, 10 Feb 2006 14:39:34 +0000 (14:39 +0000)]
Creation of Font instances centralized in FontInfo and added a cache for them. This removes duplicate code in a number of places, improves speed a little and saves memory.

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

18 years agoReworked area building in AreaTreeParser to match the scheme that the FOTreeBuilder...
Jeremias Maerki [Thu, 9 Feb 2006 13:48:48 +0000 (13:48 +0000)]
Reworked area building in AreaTreeParser to match the scheme that the FOTreeBuilder uses. Cuts away another 10-15% processing time. Too many String.equals() calls and a minor optimization in setTraits().

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

18 years agoDecorate warning with location info.
Jeremias Maerki [Thu, 9 Feb 2006 10:34:17 +0000 (10:34 +0000)]
Decorate warning with location info.

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

18 years agoBugfix: Fixed two causes for ClassCastExceptions in BlockContainerLayoutManager.
Jeremias Maerki [Thu, 9 Feb 2006 09:20:02 +0000 (09:20 +0000)]
Bugfix: Fixed two causes for ClassCastExceptions in BlockContainerLayoutManager.

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

18 years agoBugfix: padding-top and padding-bottom on list-items could lead to wrong page break...
Jeremias Maerki [Thu, 9 Feb 2006 08:54:06 +0000 (08:54 +0000)]
Bugfix: padding-top and padding-bottom on list-items could lead to wrong page break decisions and thus to overlapping text.
Bugfix: break-before and break-after were ignored on list-items.

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

18 years agoAdded missing values in area tree XML for PageViewport (simple-page-master-name and...
Jeremias Maerki [Wed, 8 Feb 2006 15:42:03 +0000 (15:42 +0000)]
Added missing values in area tree XML for PageViewport (simple-page-master-name and blank).
Performance improvement of about 10% for a simple document inside the AreaTreeParser (Hotspot: setTraits())
Changed the way that trait info lookup is done in Trait.java. Should be just a little faster now.
Unused traits disabled.
Commented unused methods.

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

18 years agoStyle fixes
Jeremias Maerki [Tue, 7 Feb 2006 14:27:04 +0000 (14:27 +0000)]
Style fixes

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

18 years agoNon-SVG XML got loaded into a non-namespace-aware node which caused problems later...
Jeremias Maerki [Tue, 7 Feb 2006 14:18:38 +0000 (14:18 +0000)]
Non-SVG XML got loaded into a non-namespace-aware node which caused problems later when serializing the foreign XML to the intermediate format. Fixes a problem with serializing barcodes (Barcode4J) to the intermediate format.

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

18 years agoFix for bug 38507: the elements representing a non-breaking space were not always...
Luca Furini [Tue, 7 Feb 2006 12:29:19 +0000 (12:29 +0000)]
Fix for bug 38507: the elements representing a non-breaking space were not always correct, sometimes allowing a break.

This also solves another bug concerning the incorrect suppression of a nbsp at the beginning of a line.

A bit of clean-up in TextLayoutManager

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

18 years agocorrect line endings for fop commands
Christian Geisert [Tue, 7 Feb 2006 10:51:38 +0000 (10:51 +0000)]
correct line endings for fop commands

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

18 years agoweb form as requested by David Reid.
Jeremias Maerki [Mon, 6 Feb 2006 13:59:02 +0000 (13:59 +0000)]
web form as requested by David Reid.

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

18 years agoRTF: fix a few checkstyle warnings
Peter Herweg [Sun, 5 Feb 2006 18:05:45 +0000 (18:05 +0000)]
RTF: fix a few checkstyle warnings

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

18 years agoRTF: remove usage of TableLayoutManager; use SimplePercentBaseContext instead
Peter Herweg [Sun, 5 Feb 2006 17:39:47 +0000 (17:39 +0000)]
RTF: remove usage of TableLayoutManager; use SimplePercentBaseContext instead

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

18 years agoTest case for Bugzilla #38507.
Jeremias Maerki [Sat, 4 Feb 2006 17:35:43 +0000 (17:35 +0000)]
Test case for Bugzilla #38507.

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

18 years agoCorrection of the issue raised on the WhiteSpace Wiki (see accompanying change)
Andreas L. Delmelle [Fri, 3 Feb 2006 17:30:34 +0000 (17:30 +0000)]
Correction of the issue raised on the WhiteSpace Wiki (see accompanying change)

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

18 years agoFile missing from http://svn.apache.org/viewcvs?rev=374174&view=rev... Thanks, Manuel...
Andreas L. Delmelle [Thu, 2 Feb 2006 23:25:53 +0000 (23:25 +0000)]
File missing from http://svn.apache.org/viewcvs?rev=374174&view=rev... Thanks, Manuel! :-)

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

18 years agoWe forgot to update the header and footer of the download mirror page.
Jeremias Maerki [Thu, 2 Feb 2006 21:34:49 +0000 (21:34 +0000)]
We forgot to update the header and footer of the download mirror page.

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

18 years agoBugzilla #38453:
Jeremias Maerki [Thu, 2 Feb 2006 16:20:22 +0000 (16:20 +0000)]
Bugzilla #38453:
Bugfix: Text-decoration was not promoted if no text-decoration attribute was specified on a nested element.
Nice side-effect: more efficient evaluation of text-decoration.

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

18 years agoDon't swallow characters if the handler does not implement LexicalHandler.
Jeremias Maerki [Thu, 2 Feb 2006 09:01:29 +0000 (09:01 +0000)]
Don't swallow characters if the handler does not implement LexicalHandler.

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

18 years agoBetter naming of the relases.
Jeremias Maerki [Thu, 2 Feb 2006 08:20:40 +0000 (08:20 +0000)]
Better naming of the relases.

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

18 years agofo:wrapper has restrictions.
Jeremias Maerki [Thu, 2 Feb 2006 08:16:43 +0000 (08:16 +0000)]
fo:wrapper has restrictions.

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

18 years agoDemonstrating the problem reported by Jan Kohnert.
Jeremias Maerki [Thu, 2 Feb 2006 08:12:14 +0000 (08:12 +0000)]
Demonstrating the problem reported by Jan Kohnert.

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

18 years agoRenaming test case as it doesn't properly describe what it does.
Jeremias Maerki [Thu, 2 Feb 2006 08:06:29 +0000 (08:06 +0000)]
Renaming test case as it doesn't properly describe what it does.

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

18 years agoFurther fine-tuning of white-space-handling during refinement
Andreas L. Delmelle [Wed, 1 Feb 2006 21:13:42 +0000 (21:13 +0000)]
Further fine-tuning of white-space-handling during refinement

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

18 years agoForgot to commit the failing testcase...
Andreas L. Delmelle [Tue, 31 Jan 2006 22:10:56 +0000 (22:10 +0000)]
Forgot to commit the failing testcase...

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

18 years agoImplementation for from-table-column(). See: bugzilla 38282
Andreas L. Delmelle [Tue, 31 Jan 2006 22:09:36 +0000 (22:09 +0000)]
Implementation for from-table-column(). See: bugzilla 38282

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

18 years agoHere's why forcing to border-collapse="separate" on fo:table didn't work. D'oh!
Jeremias Maerki [Tue, 31 Jan 2006 08:43:01 +0000 (08:43 +0000)]
Here's why forcing to border-collapse="separate" on fo:table didn't work. D'oh!

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

18 years agoBugzilla #38434:
Jeremias Maerki [Mon, 30 Jan 2006 08:28:05 +0000 (08:28 +0000)]
Bugzilla #38434:
Restore JDK 1.3.1 compatibility.
Submitted by: Jelka Kosir <jelka.kosir.at.atol.si>

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

18 years agoAn addition to FOP that can be used to render a hyphenation tree in
Simon Pepping [Sat, 28 Jan 2006 15:57:59 +0000 (15:57 +0000)]
An addition to FOP that can be used to render a hyphenation tree in
various ways, among which a complete tree representation. And
correction of a few typos in HyphenationTree.

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

18 years agoChange TransformerHandler to ContentHandler. Use comment method when
Simon Pepping [Fri, 27 Jan 2006 20:24:15 +0000 (20:24 +0000)]
Change TransformerHandler to ContentHandler. Use comment method when
available.

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

18 years agoImplement new interface method
Simon Pepping [Fri, 27 Jan 2006 20:22:17 +0000 (20:22 +0000)]
Implement new interface method

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

18 years agoRTF: testcase 'tableunits.fo' failed because there was no PercentBaseContext passed.
Peter Herweg [Fri, 27 Jan 2006 17:10:31 +0000 (17:10 +0000)]
RTF: testcase 'tableunits.fo' failed because there was no PercentBaseContext passed.

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

18 years agoTransformerHandler changed to ContentHandler to allow easier integration of XML Rende...
Chris Bowditch [Fri, 27 Jan 2006 17:08:32 +0000 (17:08 +0000)]
TransformerHandler changed to ContentHandler to allow easier integration of XML Renderer to a SAX Events chain

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

18 years agoTransformerHandler changed to ContentHandler to allow easier integration of XML Rende...
Chris Bowditch [Fri, 27 Jan 2006 17:06:16 +0000 (17:06 +0000)]
TransformerHandler changed to ContentHandler to allow easier integration of XML Renderer to a SAX Events chain

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

18 years agoAdded safe-guard against reuse to avoid problems with the renderers.
Jeremias Maerki [Fri, 27 Jan 2006 15:34:10 +0000 (15:34 +0000)]
Added safe-guard against reuse to avoid problems with the renderers.
Removed reset() method. Compared to the many hundred object instances that get created by the FO tree and layout engine, the Fop and FOTreeBuilder instance are negligible. Better keep the API as simple as possible and create an environmental class in the long run.

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

18 years agoDon't swallow the stack trace.
Jeremias Maerki [Thu, 26 Jan 2006 12:37:32 +0000 (12:37 +0000)]
Don't swallow the stack trace.
Handle the case when the image cannot be found and don't throw an NPE in that case.

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

18 years agoBugzilla #38397:
Jeremias Maerki [Thu, 26 Jan 2006 11:05:43 +0000 (11:05 +0000)]
Bugzilla #38397:
Bugfix: Spanned cells could lead to an false error message about overlapping cells and ultimately a NullPointerException.

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

18 years agoBugzilla #37506:
Jeremias Maerki [Wed, 25 Jan 2006 21:16:26 +0000 (21:16 +0000)]
Bugzilla #37506:
Extracted a base class for both PFMReader and TTFReader to remove duplicate code.
Submitted by: Kev Jackson <kevin.jackson.at.it.fts-vn.com>
(Patch applied with changes: escape method removed, tabs removed, javadocs added)

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

18 years agoCorrected the about of the project and some XML and URI errors, and
Simon Pepping [Wed, 25 Jan 2006 20:26:37 +0000 (20:26 +0000)]
Corrected the about of the project and some XML and URI errors, and
added the unstable version.

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

18 years agoadded support for number-columns-spanned and number-rows-spanned in the same cell
Peter Herweg [Wed, 25 Jan 2006 19:11:15 +0000 (19:11 +0000)]
added support for number-columns-spanned and number-rows-spanned in the same cell

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

18 years agoTo avoid NPEs due to my latest fix, use the default simple-page-master from the page...
Jeremias Maerki [Wed, 25 Jan 2006 14:08:37 +0000 (14:08 +0000)]
To avoid NPEs due to my latest fix, use the default simple-page-master from the page-sequence-master if one is used.

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

18 years agoBugfix: Regions with non-standard names got ignored in RTF output leading to missing...
Jeremias Maerki [Wed, 25 Jan 2006 13:48:32 +0000 (13:48 +0000)]
Bugfix: Regions with non-standard names got ignored in RTF output leading to missing headers and footers.

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

18 years agoAvoid NPE when a malformed command-line is specified.
Jeremias Maerki [Wed, 25 Jan 2006 10:09:01 +0000 (10:09 +0000)]
Avoid NPE when a malformed command-line is specified.

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

18 years agoMy last change broke the test suite. Fix included. The start-indent should not be...
Jeremias Maerki [Wed, 25 Jan 2006 09:57:01 +0000 (09:57 +0000)]
My last change broke the test suite. Fix included. The start-indent should not be added to the area tree XML when it is zero.

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

18 years agoRemoved old doap.xml file.
Clay Leeds [Tue, 24 Jan 2006 21:06:28 +0000 (21:06 +0000)]
Removed old doap.xml file.

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

18 years agoFollowing the model of Graphics2DAdapter, added a new interface ImageAdapter which...
Jeremias Maerki [Tue, 24 Jan 2006 20:02:30 +0000 (20:02 +0000)]
Following the model of Graphics2DAdapter, added a new interface ImageAdapter which can optionally be implemented by Renderers to support painting of RenderedImage or BufferedImage instances from inside XMLHandler implementations. First implementation by the PSRenderer. Barcode4J is going to be extended to use this interface so barcode support can easily be added to the AFP Renderer without having a Graphics2D implementation at first.

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

18 years agoadd support for rtf test files
Peter Herweg [Tue, 24 Jan 2006 19:36:09 +0000 (19:36 +0000)]
add support for rtf test files

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

18 years agojust a few changes in order to satisfy checkstyle
Peter Herweg [Tue, 24 Jan 2006 19:25:44 +0000 (19:25 +0000)]
just a few changes in order to satisfy checkstyle

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

18 years agoCommand-line support for the intermediate format: Use "-atin" to specify an area...
Jeremias Maerki [Tue, 24 Jan 2006 14:21:46 +0000 (14:21 +0000)]
Command-line support for the intermediate format: Use "-atin" to specify an area tree XML file.
Refactoring of the InputHandler to accomodate the IF as input format and to make responsibilities clearer in general.

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

18 years agoFix for NPE when the AWT Viewer is used with an area tree file as input.
Jeremias Maerki [Tue, 24 Jan 2006 14:15:36 +0000 (14:15 +0000)]
Fix for NPE when the AWT Viewer is used with an area tree file as input.

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

18 years agoBugfix: LineArea used a private field instead of the start-indent trait which caused...
Jeremias Maerki [Tue, 24 Jan 2006 13:45:56 +0000 (13:45 +0000)]
Bugfix: LineArea used a private field instead of the start-indent trait which caused problems for centered and right-aligned text when rendering is done from the intermediate format. The AreaTreeParser parses and sets the trait but not the startIndent field on LineArea, so I removed the startIndent field.

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

18 years agoDocumented the special configuration options for the PDF and PS renderers.
Jeremias Maerki [Tue, 24 Jan 2006 08:42:02 +0000 (08:42 +0000)]
Documented the special configuration options for the PDF and PS renderers.

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

18 years agoHint at the auto-rotate-landscape option.
Jeremias Maerki [Tue, 24 Jan 2006 08:01:35 +0000 (08:01 +0000)]
Hint at the auto-rotate-landscape option.

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

18 years agoResurrect the getter/setter for the "auto-rotate-landscape" setting.
Jeremias Maerki [Tue, 24 Jan 2006 07:56:28 +0000 (07:56 +0000)]
Resurrect the getter/setter for the "auto-rotate-landscape" setting.

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

18 years agonumber-columns-spanned did not work in last row of a cell. Fixed.
Peter Herweg [Mon, 23 Jan 2006 22:07:24 +0000 (22:07 +0000)]
number-columns-spanned did not work in last row of a cell. Fixed.

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

18 years agoAdded categories for FOP
Clay Leeds [Sat, 21 Jan 2006 01:59:48 +0000 (01:59 +0000)]
Added categories for FOP

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

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