]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
18 years agoRemoved obsolete TODO
Jeremias Maerki [Wed, 22 Mar 2006 07:31:33 +0000 (07:31 +0000)]
Removed obsolete TODO

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

18 years agoForgot a file when committing my changes for the user-supplied hyphenation patterns...
Jeremias Maerki [Wed, 22 Mar 2006 07:30:50 +0000 (07:30 +0000)]
Forgot a file when committing my changes for the user-supplied hyphenation patterns. Without the resolver, they are not picked up.

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

18 years agoAdd PDF/A-1b support to command-line.
Jeremias Maerki [Tue, 21 Mar 2006 16:01:34 +0000 (16:01 +0000)]
Add PDF/A-1b support to command-line.

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

18 years agoMade the loading of user-specified hyphenation patterns usable again and plugged...
Jeremias Maerki [Tue, 21 Mar 2006 10:24:45 +0000 (10:24 +0000)]
Made the loading of user-specified hyphenation patterns usable again and plugged it into URI resolution.
Backwards-compatibility should be maintained.
PatternParser now uses JAXP to get the SAX parser.
Moved the hyphenation pattern cache into a separate class so I can easily plug it into FopFactory later instead of having static variables.
Added serialVersionUID to HyphenationTree. Necessary because the class signature changed.
FOURIResolver does not complain about "file not found" on the log anymore since this should be done by the caller. Until now, this resulted in two log messages about the same problem on the log. "File not found" is still reported but only on level "debug" which might be helpful when tracking down a problem, but at least it's not a "WARNING" anymore.

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

18 years agoblock-container did not tell the breaker if it's in auto-height mode. That causes...
Jeremias Maerki [Tue, 21 Mar 2006 08:17:39 +0000 (08:17 +0000)]
block-container did not tell the breaker if it's in auto-height mode. That causes false alarms for block-containers which are not constrained in b-p-d.

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

18 years agoCertain filter combinations in PDF could lead to invalid PDFs. DecodeParams were...
Jeremias Maerki [Mon, 20 Mar 2006 13:49:05 +0000 (13:49 +0000)]
Certain filter combinations in PDF could lead to invalid PDFs. DecodeParams were not properly handled.
Default filter for XMP metadata set to NullFilter as XMP metadata should always be embedded as clear-text so non-PDF-aware XMP processors can extract the metadata.
Default filter for DCT/JPEG- and CCITT/TIFF-encoded images set to NullFilter because these two compression methods already do a good job. An additional flate filter (as was applied before due to the single default) helps a just little but also adds processing time. If anyone wants to squeeze every possible bit out of the PDF you can use the following in the user configuration:
      <filterList type="tiff">
        <value>flate</value>
      </filterList>
      <filterList type="jpeg">
        <value>flate</value>
      </filterList>

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

18 years agoBugzilla #39030:
Jeremias Maerki [Mon, 20 Mar 2006 07:32:22 +0000 (07:32 +0000)]
Bugzilla #39030:
Output filenames with a space resulted in "%20" in the generated file. Looks like a bug in Xalan-J.
We now open the OutputStream ourselves. The two practically identical write methods pulled up into the abstract base class.

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

18 years agoBugzilla #38731:
Jeremias Maerki [Sun, 19 Mar 2006 11:12:44 +0000 (11:12 +0000)]
Bugzilla #38731:
More accurate font size selection.
Outer transformation matrix is no longer ignored when painting text.
Improvement for transparent bitmaps (effect can be seen on filters-composite-01-b and render-groups-03-t in SVG 1.1 test suite)
Submitted by: Michal Sevcenko <sevcenko.at.vc.cvut.cz>

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

18 years agoAvoid exception when ImageIO is used as image adapter for TIFF images. The stream...
Jeremias Maerki [Sat, 18 Mar 2006 20:30:47 +0000 (20:30 +0000)]
Avoid exception when ImageIO is used as image adapter for TIFF images. The stream is already closed and the bitmap loaded when FopPDFImages wants to write the image to the PDF.

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

18 years agoBugfix: CCITT Group 4 encoded TIFF images were not properly embedded in PDF files...
Jeremias Maerki [Sat, 18 Mar 2006 20:28:33 +0000 (20:28 +0000)]
Bugfix: CCITT Group 4 encoded TIFF images were not properly embedded in PDF files. FopPDFImage always used the bits/pixel and color space of the original image although our image adapter mostly convert all images to 24bit RGB. One day, we will need to improve the image handling.

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

18 years agoChanged the way that text-align-last is calculated. Hopefully, this is it, now. Shoul...
Jeremias Maerki [Thu, 16 Mar 2006 16:53:21 +0000 (16:53 +0000)]
Changed the way that text-align-last is calculated. Hopefully, this is it, now. Should fix a bug reported last week on fop-users.

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

18 years agoLooks like we already had a test for the bug I fixed in revision 386025. D'oh. Adjust...
Jeremias Maerki [Thu, 16 Mar 2006 14:34:27 +0000 (14:34 +0000)]
Looks like we already had a test for the bug I fixed in revision 386025. D'oh. Adjusted the space-before to force the second page again.

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

18 years agoFix for ArrayIndexOutOfBoundException in block_white-space_4.
Jeremias Maerki [Thu, 16 Mar 2006 14:15:53 +0000 (14:15 +0000)]
Fix for ArrayIndexOutOfBoundException in block_white-space_4.

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

18 years agoAdded support for fixed-width spaces and kerning.
Jeremias Maerki [Thu, 16 Mar 2006 13:51:14 +0000 (13:51 +0000)]
Added support for fixed-width spaces and kerning.

Note: letter-spacing is still implemented as before. Fixing this cannot be done without looking at space resolution as a whole on inline level.

The Character area tree object is now deprecated. Normal Text objects should be used to keep renderers simpler.
Introduced FontResolver interface to remove the dependency of FOUserAgent into the font package.
Added kerning information to the base14 fonts, Helvetica and Times. By default it is not used to keep the status-quo. Enable base14 kerning through the FOUserAgent (FopFactory after the API finalization).
Restored the production of EPS images in PDF output as PostScript XObjects.
Restored functionality for a more compact format for the area tree renderer to save space.
LayoutEngineTester slightly changed to allow for configuration values from the XML file. For now, only enabling base14 kerning is supported.
Removed duplicate offset variable in SpaceArea.

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

18 years agoBugfix: Fixed a copy/paste error in the table layout code that caused wrong page...
Jeremias Maerki [Wed, 15 Mar 2006 09:54:04 +0000 (09:54 +0000)]
Bugfix: Fixed a copy/paste error in the table layout code that caused wrong page break decisions when table-headers and/or table-footers are used.

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

18 years agoBugfix: Fixed an NPE that was thrown when a table was used inside a footnote-body.
Jeremias Maerki [Wed, 15 Mar 2006 09:28:49 +0000 (09:28 +0000)]
Bugfix: Fixed an NPE that was thrown when a table was used inside a footnote-body.

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

18 years agoElementMapping lookup via META-INF/services
Andreas L. Delmelle [Tue, 7 Mar 2006 22:06:05 +0000 (22:06 +0000)]
ElementMapping lookup via META-INF/services

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

18 years agoTypo
Jeremias Maerki [Mon, 6 Mar 2006 08:53:51 +0000 (08:53 +0000)]
Typo

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

18 years agoRemoved stray debug message.
Jeremias Maerki [Mon, 6 Mar 2006 08:18:54 +0000 (08:18 +0000)]
Removed stray debug message.

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

18 years agoRemoved duplicate entry in Renderer list.
Jeremias Maerki [Mon, 6 Mar 2006 07:59:52 +0000 (07:59 +0000)]
Removed duplicate entry in Renderer list.
Register FOEventHandlers using Service discovery, too.
Removed superfluous discovery and registration methods.
Renamed META-INF file to match the pattern established in the sandbox.

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

18 years agoFix for NPE in case of empty instream-foreign-object
Andreas L. Delmelle [Mon, 6 Mar 2006 00:18:03 +0000 (00:18 +0000)]
Fix for NPE in case of empty instream-foreign-object

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

18 years agoAdd dynamic lookup of the RendererMakers to RendererFactory (as suggested by Nils...
Andreas L. Delmelle [Sun, 5 Mar 2006 19:50:28 +0000 (19:50 +0000)]
Add dynamic lookup of the RendererMakers to RendererFactory (as suggested by Nils Meier; proposed patch slightly altered to make use of org.apache.fop.util.Service instead of sun.misc.Service)

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

18 years agoTest case which demonstrates that a footnote in a fo:inline is swallowed if hyphenati...
Jeremias Maerki [Thu, 2 Mar 2006 20:02:54 +0000 (20:02 +0000)]
Test case which demonstrates that a footnote in a fo:inline is swallowed if hyphenation is active.

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

18 years agoCorrecting some info on embedding TrueType fonts.
Jeremias Maerki [Thu, 2 Mar 2006 09:48:17 +0000 (09:48 +0000)]
Correcting some info on embedding TrueType fonts.

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

18 years agoDisabled the resolution setting because it can lead to ugly side-effects. Resolution...
Jeremias Maerki [Thu, 2 Mar 2006 08:19:29 +0000 (08:19 +0000)]
Disabled the resolution setting because it can lead to ugly side-effects. Resolution is poort now (72dpi) but at least the SVG gets rendered correctly.

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

18 years agoBugzilla #38821:
Jeremias Maerki [Wed, 1 Mar 2006 20:47:47 +0000 (20:47 +0000)]
Bugzilla #38821:
Re-added the Class-Path entry in the manifest.

Additional changes:
Fixed the javac.fork property.
Prepared classpaths for when xmlgraphics-commons is ready.

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

18 years agoBugfix: Fixed a problem with certain TrueType fonts which are missing the "PCLT"...
Jeremias Maerki [Wed, 1 Mar 2006 17:26:21 +0000 (17:26 +0000)]
Bugfix: Fixed a problem with certain TrueType fonts which are missing the "PCLT" table, where a baseline-shift="sub" had no effect due to a missing x-height value.
(Note: This only affects TTFReader, so the font metric file has to be regenerated.)

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

18 years agoForgot the entry here.
Jeremias Maerki [Wed, 1 Mar 2006 10:38:19 +0000 (10:38 +0000)]
Forgot the entry here.

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

18 years agoFix bug in the construction of a base URL when it's specified as a file system path.
Jeremias Maerki [Wed, 1 Mar 2006 10:34:14 +0000 (10:34 +0000)]
Fix bug in the construction of a base URL when it's specified as a file system path.

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

18 years agoFixed bug in handling of text-align-last. Value "relative" was not the default and...
Jeremias Maerki [Tue, 28 Feb 2006 10:00:46 +0000 (10:00 +0000)]
Fixed bug in handling of text-align-last. Value "relative" was not the default and the resolved property was wrong when it was inherited.

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

18 years agoTweaks to user mailing list policy. Gosh, we should use the link to this section...
Jeremias Maerki [Tue, 28 Feb 2006 07:52:58 +0000 (07:52 +0000)]
Tweaks to user mailing list policy. Gosh, we should use the link to this section more often. :-)

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

18 years agoActivated refinement white-space-handling for fo:title and fo:bookmark-title
Andreas L. Delmelle [Mon, 27 Feb 2006 19:02:39 +0000 (19:02 +0000)]
Activated refinement white-space-handling for fo:title and fo:bookmark-title
(treating fo:title the same as fo:bookmark-title
  -- see XSL-FO 1.1 6.11.3 -> Trait derivation)

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

18 years agoA nit: slight performance optimization
Andreas L. Delmelle [Mon, 27 Feb 2006 17:51:45 +0000 (17:51 +0000)]
A nit: slight performance optimization

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

18 years agoIgnore attributes from foreign namespaces. This is a temporary fix to get rid of...
Jeremias Maerki [Mon, 27 Feb 2006 08:47:52 +0000 (08:47 +0000)]
Ignore attributes from foreign namespaces. This is a temporary fix to get rid of ugly warnings until a proper mechanism for handling foreign attributes is available.
Submitted by: Nils Meier <nmeier.at.users.sourceforge.net>

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

18 years agoAdded support for page sequence title in AreaTreeParser (IF). Fixes problems in inter...
Jeremias Maerki [Sun, 26 Feb 2006 11:35:52 +0000 (11:35 +0000)]
Added support for page sequence title in AreaTreeParser (IF). Fixes problems in intermediate format test suite.
Introduced a PageSequence area tree object to achieve the proper sequence of Renderer.startPageSequence() calls and Renderer.renderPage() calls. Otherwise, the pageSequence elements are not properly placed in the intermediate format. Doesn't really affect the other renderers because they don't really care.

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

18 years agoLinefeed treatment and white space collapse are not performed on
Simon Pepping [Sat, 25 Feb 2006 10:34:41 +0000 (10:34 +0000)]
Linefeed treatment and white space collapse are not performed on
fo:title. A test case to document this.

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

18 years agoInlineLM properly creates an AligmentContext for Title.
Simon Pepping [Sat, 25 Feb 2006 10:28:10 +0000 (10:28 +0000)]
InlineLM properly creates an AligmentContext for Title.
Add 2006 to the copyright lines of my previous commit.

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

18 years agoblock_break-after_2 seems to work. Don't know who/what fixed this. Does anybody?
Jeremias Maerki [Fri, 24 Feb 2006 12:49:01 +0000 (12:49 +0000)]
block_break-after_2 seems to work. Don't know who/what fixed this. Does anybody?

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

18 years agoAvoid a NullPointerException when fo:title is empty.
Simon Pepping [Fri, 24 Feb 2006 11:39:01 +0000 (11:39 +0000)]
Avoid a NullPointerException when fo:title is empty.
Let PSLM and ContentLM create LMs via LayoutManagerMaker.

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

18 years agoYou can specify an object file in a jar file as follows:
Simon Pepping [Fri, 24 Feb 2006 11:36:14 +0000 (11:36 +0000)]
You can specify an object file in a jar file as follows:
/path/to/fop-hyph.jar:hyph/xx.hyp.

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

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