]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
15 years agoMerged changes from Trunk up to revision 829121
Vincent Hennebert [Fri, 23 Oct 2009 17:27:14 +0000 (17:27 +0000)]
Merged changes from Trunk up to revision 829121

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

15 years agoUpdated test case: there is now a specific handling of alt-text
Vincent Hennebert [Fri, 23 Oct 2009 17:23:28 +0000 (17:23 +0000)]
Updated test case: there is now a specific handling of alt-text

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

15 years agoUpdated XGC to make recent changes compile.
Jeremias Maerki [Fri, 23 Oct 2009 13:44:20 +0000 (13:44 +0000)]
Updated XGC to make recent changes compile.

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

15 years agoAdded support for encoding CMYK bitmap images (IOCA FS45) and TIFF images as embedded...
Jeremias Maerki [Fri, 23 Oct 2009 13:33:18 +0000 (13:33 +0000)]
Added support for encoding CMYK bitmap images (IOCA FS45) and TIFF images as embedded objects.

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

15 years agoAdded missing license headers.
Jeremias Maerki [Fri, 23 Oct 2009 12:22:58 +0000 (12:22 +0000)]
Added missing license headers.

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

15 years agoAdded tests target in build script that calls upon FOP's Ant task to renderer all...
Adrian Cumiskey [Fri, 23 Oct 2009 11:27:23 +0000 (11:27 +0000)]
Added tests target in build script that calls upon FOP's Ant task to renderer all our unit tests for a configured mimetype.

I really could have done with this simple (and handy) feature some time ago...  it should really help with manual/visual testing.  I Hope it proves useful for everyone :).

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

15 years agoAdded support for xmlfile and xsltfile parameters in FOP's Ant Task.
Adrian Cumiskey [Fri, 23 Oct 2009 11:22:53 +0000 (11:22 +0000)]
Added support for xmlfile and xsltfile parameters in FOP's Ant Task.

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

15 years agoFix build to make accessibility events go to the right XML file.
Jeremias Maerki [Thu, 22 Oct 2009 18:12:43 +0000 (18:12 +0000)]
Fix build to make accessibility events go to the right XML file.

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

15 years agoAvoid NPE if intermediate XML was generated in accessibility mode but not the PDF
Vincent Hennebert [Thu, 22 Oct 2009 15:40:38 +0000 (15:40 +0000)]
Avoid NPE if intermediate XML was generated in accessibility mode but not the PDF

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

15 years agoIssue an error when attempting to render an intermediate XML file in accessibility...
Vincent Hennebert [Thu, 22 Oct 2009 15:30:13 +0000 (15:30 +0000)]
Issue an error when attempting to render an intermediate XML file in accessibility mode, but that file wasn't generated with accessibility (i.e., does not contain the structure tree)

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

15 years agoUpdated status to reflect bug fix https://issues.apache.org/bugzilla/show_bug.cgi...
Adrian Cumiskey [Thu, 22 Oct 2009 13:26:46 +0000 (13:26 +0000)]
Updated status to reflect bug fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47941.

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

15 years agoFixes https://issues.apache.org/bugzilla/show_bug.cgi?id=47941
Adrian Cumiskey [Thu, 22 Oct 2009 13:20:53 +0000 (13:20 +0000)]
Fixes https://issues.apache.org/bugzilla/show_bug.cgi?id=47941
Created Triplet interface.
Created new AttributeValueTriplet and AttributeQualifierTriplet.
Promoted truncate() from GraphicsCharacterString to AbstractAFPObject so it can be reused for AttributeValueTriplet.

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

15 years agoAdded just a bit more information to find out what's wrong.
Jeremias Maerki [Thu, 22 Oct 2009 10:15:11 +0000 (10:15 +0000)]
Added just a bit more information to find out what's wrong.

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

15 years agoBugzilla #47711:
Jeremias Maerki [Thu, 22 Oct 2009 09:16:37 +0000 (09:16 +0000)]
Bugzilla #47711:
Fixed generation of CIDSet object in PDF output.
Submitted by: Nicolas Peninguy <nico.at.lostgeeks.org>

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

15 years agoRenamed TransformerNode into TransformerDefaultHandler and moved it into the a.o...
Vincent Hennebert [Wed, 21 Oct 2009 16:31:59 +0000 (16:31 +0000)]
Renamed TransformerNode into TransformerDefaultHandler and moved it into the a.o.f.util package.
Renamed TransformerNodeEndProcessing into AccessibilityPreprocessor.
Renamed AccessibilityUtil into Accessibility and simplified the code.

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

15 years agoSimplified the handling of the accessibility option and made it consistent with other...
Vincent Hennebert [Wed, 21 Oct 2009 15:02:24 +0000 (15:02 +0000)]
Simplified the handling of the accessibility option and made it consistent with other options

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

15 years agoRenamed some variables and methods for consistency.
Vincent Hennebert [Wed, 21 Oct 2009 14:57:54 +0000 (14:57 +0000)]
Renamed some variables and methods for consistency.
Improved javadocs.
Code clean-up and simplification.

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

15 years agoFixed language inconsistencies
Vincent Hennebert [Wed, 21 Oct 2009 10:48:36 +0000 (10:48 +0000)]
Fixed language inconsistencies

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

15 years agoAdded test framework for accessibility. See README file.
Vincent Hennebert [Tue, 20 Oct 2009 16:24:44 +0000 (16:24 +0000)]
Added test framework for accessibility. See README file.

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

15 years agoIssue a warning, when non-restartable content is flowing to a narrower page, that...
Vincent Hennebert [Tue, 20 Oct 2009 14:53:23 +0000 (14:53 +0000)]
Issue a warning, when non-restartable content is flowing to a narrower page, that part of it may be clipped

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

15 years agoBugfix: crash occurring when no restartable element could be found after a changing...
Vincent Hennebert [Tue, 20 Oct 2009 12:19:54 +0000 (12:19 +0000)]
Bugfix: crash occurring when no restartable element could be found after a changing IPD break

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

15 years agoFixed checkstyle issues.
Vincent Hennebert [Tue, 20 Oct 2009 10:04:09 +0000 (10:04 +0000)]
Fixed checkstyle issues.
Factorized duplicated code into getXMLReader method.

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

15 years agoBugfix: a table immediately following a break where changing IPD occurs was causing...
Vincent Hennebert [Mon, 19 Oct 2009 18:02:36 +0000 (18:02 +0000)]
Bugfix: a table immediately following a break where changing IPD occurs was causing a NPE (or some content to be swallowed if it's not a table)

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

15 years agoRoute message for missing alt-text property through event notification system
Vincent Hennebert [Fri, 16 Oct 2009 15:53:13 +0000 (15:53 +0000)]
Route message for missing alt-text property through event notification system

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

15 years agoMade PDFImageHandlerGraphics2D accessible
Vincent Hennebert [Fri, 16 Oct 2009 14:12:06 +0000 (14:12 +0000)]
Made PDFImageHandlerGraphics2D accessible

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

15 years agoAdded a command-line option '-catalog' to use a catalog resolver for
Simon Pepping [Fri, 16 Oct 2009 13:12:22 +0000 (13:12 +0000)]
Added a command-line option '-catalog' to use a catalog resolver for
the XML and XSLT files. Implemented it in InputHandler.

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

15 years agoFixed a few checkstyle issues introduced in rev. 825646
Vincent Hennebert [Fri, 16 Oct 2009 10:07:00 +0000 (10:07 +0000)]
Fixed a few checkstyle issues introduced in rev. 825646

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

15 years agoApplication of the patch submitted by Alexander Kiel to improve variable names around...
Adrian Cumiskey [Thu, 15 Oct 2009 20:43:13 +0000 (20:43 +0000)]
Application of the patch submitted by Alexander Kiel to improve variable names around Kerning and KnuthElement (see https://issues.apache.org/bugzilla/show_bug.cgi?id=48003).

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

15 years agoDocumented with generics comments.
Adrian Cumiskey [Thu, 15 Oct 2009 17:07:08 +0000 (17:07 +0000)]
Documented with generics comments.

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

15 years agoAdded mappings for yet unimplemented FOs.
Vincent Hennebert [Thu, 15 Oct 2009 16:25:08 +0000 (16:25 +0000)]
Added mappings for yet unimplemented FOs.
Return /NonStruct instead of null if no mapping is found for a given object, in order to at least generate a valid PDF

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

15 years agoMerged SimpleStructureTree and ParsedStructureTree classes into a single one, used...
Vincent Hennebert [Thu, 15 Oct 2009 14:25:28 +0000 (14:25 +0000)]
Merged SimpleStructureTree and ParsedStructureTree classes into a single one, used by both TransformerNodeEndProcessing and intermediate XML parsers

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

15 years agoMade the structure tree processing chain more robust by removing any assumption about...
Vincent Hennebert [Thu, 15 Oct 2009 10:47:34 +0000 (10:47 +0000)]
Made the structure tree processing chain more robust by removing any assumption about prefix names for namespaces.
Avoid warnings issued by reduceFOTree.xsl when FO file contains foreign elements (like MathML).
SimpleStructureTree: replaced XPath query with simple DOM method calls.
Cleaned up, simplified and re-organized reduceFOTree and addPtr stylesheets.

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

15 years agoRe-format addPtr.xsl to make it readable.
Vincent Hennebert [Tue, 13 Oct 2009 17:13:39 +0000 (17:13 +0000)]
Re-format addPtr.xsl to make it readable.
Also add a ptr attribute to fo:table-and-caption and fo:table-caption, even if they are not supported, in order to avoid a crash.

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

15 years agoMerged changes from Trunk up to revision 824832
Vincent Hennebert [Tue, 13 Oct 2009 16:41:13 +0000 (16:41 +0000)]
Merged changes from Trunk up to revision 824832

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

15 years agoImplemented rendering of structure tree to Area Tree XML and parsing back from it
Vincent Hennebert [Tue, 13 Oct 2009 16:14:12 +0000 (16:14 +0000)]
Implemented rendering of structure tree to Area Tree XML and parsing back from it

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

15 years agoBugfix: render all background images as artifacts
Vincent Hennebert [Tue, 13 Oct 2009 15:34:29 +0000 (15:34 +0000)]
Bugfix: render all background images as artifacts

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

15 years agoUpdated ant to run checkstyle 5. This is now supported in lib/build rather than the...
Maximilian Berger [Tue, 13 Oct 2009 13:04:51 +0000 (13:04 +0000)]
Updated ant to run checkstyle 5. This is now supported in lib/build rather than the previously used checkstyle.home

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

15 years agoRemoved svn:executable property
Vincent Hennebert [Tue, 13 Oct 2009 10:52:29 +0000 (10:52 +0000)]
Removed svn:executable property

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

15 years agoFixed handling of percentage values for provisional-label-separation
Vincent Hennebert [Tue, 13 Oct 2009 10:39:49 +0000 (10:39 +0000)]
Fixed handling of percentage values for provisional-label-separation

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

15 years agoBugzilla 47835: fixed handling of percentage values for provisional-distance-between...
Vincent Hennebert [Tue, 13 Oct 2009 10:25:42 +0000 (10:25 +0000)]
Bugzilla 47835: fixed handling of percentage values for provisional-distance-between-starts. Patch submitted by Jonathan Levinson

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

15 years agoReset imageReference once it's no longer needed
Vincent Hennebert [Mon, 12 Oct 2009 18:04:07 +0000 (18:04 +0000)]
Reset imageReference once it's no longer needed

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

15 years agoImplemented accessibility in PDFRenderer
Vincent Hennebert [Mon, 12 Oct 2009 17:44:44 +0000 (17:44 +0000)]
Implemented accessibility in PDFRenderer

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

15 years agoSwitched parameters of separateTextElements and beginTextObjectAccess, for consistenc...
Vincent Hennebert [Mon, 12 Oct 2009 17:39:53 +0000 (17:39 +0000)]
Switched parameters of separateTextElements and beginTextObjectAccess, for consistency with saveGraphicsState and beginMarkedContentSequence

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

15 years agoExtracted code related to logical structure out of PDFDocumentHandler and put it...
Vincent Hennebert [Mon, 12 Oct 2009 16:26:00 +0000 (16:26 +0000)]
Extracted code related to logical structure out of PDFDocumentHandler and put it in its own PDFLogicalStructureHandler class. Vastly simplified the building of the structure tree in the same time.
Fixed bug occurring when a block contains only one line of text: the generated PDF was illegal
Fixed bug in the generation of the structural parent tree: values in a number tree must be indirect references (note: other number trees in the document may still be wrongly generated)

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

15 years agoRemoved svn:executable property
Vincent Hennebert [Mon, 12 Oct 2009 10:58:06 +0000 (10:58 +0000)]
Removed svn:executable property

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

15 years agoadd support for positioning Page Overlay in AFP Renderer/Painter
Chris Bowditch [Mon, 12 Oct 2009 07:26:03 +0000 (07:26 +0000)]
add support for positioning Page Overlay in AFP Renderer/Painter

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

15 years agoIf a JAI library is not available when creating a FOP distribution build we attempt...
Adrian Cumiskey [Fri, 9 Oct 2009 20:59:11 +0000 (20:59 +0000)]
If a JAI library is not available when creating a FOP distribution build we attempt to download one and make it available to the Ant build process.

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

15 years agoRemoved unnecessary languageStack field
Vincent Hennebert [Wed, 7 Oct 2009 17:34:29 +0000 (17:34 +0000)]
Removed unnecessary languageStack field

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

15 years agoFixed support for links and images in the Intermediate Format
Vincent Hennebert [Wed, 7 Oct 2009 17:31:13 +0000 (17:31 +0000)]
Fixed support for links and images in the Intermediate Format

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

15 years agoAllow "-if [mime] out" as for "-at".
Jeremias Maerki [Wed, 7 Oct 2009 14:22:35 +0000 (14:22 +0000)]
Allow "-if [mime] out" as for "-at".

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

15 years agoBugzilla #47953:
Jeremias Maerki [Wed, 7 Oct 2009 13:53:33 +0000 (13:53 +0000)]
Bugzilla #47953:
Bugfix for NPE: referencedFontsMatcher can also be null, not just localMatcher.

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

15 years agoRemoved svn:executable property
Vincent Hennebert [Mon, 5 Oct 2009 16:17:13 +0000 (16:17 +0000)]
Removed svn:executable property

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

15 years agoRemoved empty directory
Vincent Hennebert [Mon, 5 Oct 2009 11:12:42 +0000 (11:12 +0000)]
Removed empty directory

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

15 years agoFixed possible NPE.
Jeremias Maerki [Fri, 2 Oct 2009 15:41:31 +0000 (15:41 +0000)]
Fixed possible NPE.

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

15 years agoAdded support for specifying referenced fonts per renderer in addition to the general...
Jeremias Maerki [Fri, 2 Oct 2009 15:31:14 +0000 (15:31 +0000)]
Added support for specifying referenced fonts per renderer in addition to the general match list. If any of the two match lists (if specified) match a font, it is not embedded.

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

15 years agoAdded support for creating thumbnails or preview bitmaps of fixed size for PNG and...
Jeremias Maerki [Fri, 2 Oct 2009 09:19:12 +0000 (09:19 +0000)]
Added support for creating thumbnails or preview bitmaps of fixed size for PNG and TIFF output.
Documentation update for bitmap output.

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

15 years agoJavadocs: Removed all <tt> occurrences with <code> or {@link}.
Jeremias Maerki [Thu, 1 Oct 2009 15:36:10 +0000 (15:36 +0000)]
Javadocs: Removed all <tt> occurrences with <code> or {@link}.

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

15 years agoSome javadoc fixes: @code -> @link
Jeremias Maerki [Thu, 1 Oct 2009 14:48:27 +0000 (14:48 +0000)]
Some javadoc fixes: @code -> @link

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

15 years agoAdded a DocumentHandler implementation for PNG output including multi-file output...
Jeremias Maerki [Thu, 1 Oct 2009 12:56:26 +0000 (12:56 +0000)]
Added a DocumentHandler implementation for PNG output including multi-file output support.

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

15 years agoAs per discussions on fop-dev:
Jeremias Maerki [Thu, 1 Oct 2009 07:55:27 +0000 (07:55 +0000)]
As per discussions on fop-dev:
- Removed Checkstyle 3.5 profile.
- Removed HiddenFieldCheck and RedundantThrowsCheck.

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

15 years agoExtracted code into new processStructureTree method
Vincent Hennebert [Mon, 28 Sep 2009 15:35:03 +0000 (15:35 +0000)]
Extracted code into new processStructureTree method

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

15 years agoImplemented parsing of structure trees from IF XML files.
Vincent Hennebert [Mon, 28 Sep 2009 15:27:30 +0000 (15:27 +0000)]
Implemented parsing of structure trees from IF XML files.

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

15 years agoBugzilla #46883:
Jeremias Maerki [Mon, 28 Sep 2009 14:10:27 +0000 (14:10 +0000)]
Bugzilla #46883:
Reverting revision 807010 because it creates faulty GOCA data. Have debugged but haven't immediately found the cause. Due to time restrictions I'm currently just reverting the change to fix the regression.

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

15 years agoAttach cause to RuntimeException when available. Otherwise, the original exception...
Jeremias Maerki [Sat, 26 Sep 2009 20:38:23 +0000 (20:38 +0000)]
Attach cause to RuntimeException when available. Otherwise, the original exception can be swallowed which makes error forensics more difficult.

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

15 years agoFont name was wrong
Maximilian Berger [Thu, 24 Sep 2009 10:55:51 +0000 (10:55 +0000)]
Font name was wrong

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

15 years agoAdded Testcase from Bug #47872 (thanks to alex kiel) and fixed it in FontLoader
Maximilian Berger [Thu, 24 Sep 2009 10:09:55 +0000 (10:09 +0000)]
Added Testcase from Bug #47872 (thanks to alex kiel) and fixed it in FontLoader

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

15 years agoFactorized into a new class the parsing of the reduced FO tree, that was duplicated...
Vincent Hennebert [Tue, 22 Sep 2009 11:49:06 +0000 (11:49 +0000)]
Factorized into a new class the parsing of the reduced FO tree, that was duplicated in IFSerializer and PDFDocumentHandler.

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

15 years agoTrying to clear up afp:include-page-segment as there are questions every now and...
Jeremias Maerki [Tue, 22 Sep 2009 10:39:43 +0000 (10:39 +0000)]
Trying to clear up afp:include-page-segment as there are questions every now and then.

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

15 years agoMerged changes from Trunk up to revision 816269
Vincent Hennebert [Fri, 18 Sep 2009 17:10:42 +0000 (17:10 +0000)]
Merged changes from Trunk up to revision 816269

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

15 years agoChanged SVG output to produce coordinates in points rather than millipoints. Millipoi...
Jeremias Maerki [Thu, 17 Sep 2009 09:58:48 +0000 (09:58 +0000)]
Changed SVG output to produce coordinates in points rather than millipoints. Millipoint coordinates can become quite large and can cause trouble later. This is related to (but not fixing) Bugzilla #47641.

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

15 years agoAdded support for the #CMYK pseudo-profile supported by some commercial XSL implement...
Jeremias Maerki [Wed, 16 Sep 2009 19:38:13 +0000 (19:38 +0000)]
Added support for the #CMYK pseudo-profile supported by some commercial XSL implementations on the rgb-icc() function.

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

15 years agoAdded Checkstyle 5 config file (just ported from checkstyle-4.0.xml)
Maximilian Berger [Tue, 15 Sep 2009 16:17:59 +0000 (16:17 +0000)]
Added Checkstyle 5 config file (just ported from checkstyle-4.0.xml)

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

15 years agoFixed SVN Props
Maximilian Berger [Tue, 15 Sep 2009 16:15:11 +0000 (16:15 +0000)]
Fixed SVN Props

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

15 years agoequals implementation violated spec -> replaced with new contentEquals function
Maximilian Berger [Tue, 15 Sep 2009 15:07:51 +0000 (15:07 +0000)]
equals implementation violated spec -> replaced with new contentEquals function

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

15 years agono page index requires no location to satisfy identity junit test
Maximilian Berger [Tue, 15 Sep 2009 14:35:28 +0000 (14:35 +0000)]
no page index requires no location to satisfy identity junit test

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

15 years agoremoved possible null reference
Maximilian Berger [Tue, 15 Sep 2009 14:02:48 +0000 (14:02 +0000)]
removed possible null reference

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

15 years agonon-functional stylistic fixes
Maximilian Berger [Tue, 15 Sep 2009 13:53:09 +0000 (13:53 +0000)]
non-functional stylistic fixes

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

15 years agoAdd safeguards for getter not to return null
Maximilian Berger [Tue, 15 Sep 2009 12:50:47 +0000 (12:50 +0000)]
Add safeguards for getter not to return null
fixes an NPE with disfunctional links.

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

15 years agoMoved the class UnicodeClasses to src/codegen/unicode, so that it is
Simon Pepping [Thu, 3 Sep 2009 11:36:02 +0000 (11:36 +0000)]
Moved the class UnicodeClasses to src/codegen/unicode, so that it is
only built when the classes.xml file is regenerated. Modified the
build file accordingly. Restored Java 5 features in
UnicodeClasses. Created a License utility class. Added a license
statement and a generated file statement to classes.xml. Made
GenerateLineBreakUtils.java use the License class, and made it avoid
trailing spaces in the generated file.

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

15 years agoThere an easier way to throw exceptions from certain event otherwise not causing...
Jeremias Maerki [Thu, 3 Sep 2009 07:24:43 +0000 (07:24 +0000)]
There an easier way to throw exceptions from certain event otherwise not causing an exception.

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

15 years agoForgot to update status file in rev. 808157
Vincent Hennebert [Tue, 1 Sep 2009 11:55:48 +0000 (11:55 +0000)]
Forgot to update status file in rev. 808157

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

15 years agoFixed Checkstyle warnings and replaced a java 1.5 class
Simon Pepping [Wed, 26 Aug 2009 20:00:24 +0000 (20:00 +0000)]
Fixed Checkstyle warnings and replaced a java 1.5 class

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

15 years agoMerged back ChangingIPDHack branch into Trunk
Vincent Hennebert [Wed, 26 Aug 2009 18:50:10 +0000 (18:50 +0000)]
Merged back ChangingIPDHack branch into Trunk

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

15 years agoReverted changes made in revision 796809 (manual merge of clean-up changes made in...
Vincent Hennebert [Wed, 26 Aug 2009 17:42:11 +0000 (17:42 +0000)]
Reverted changes made in revision 796809 (manual merge of clean-up changes made in the ChangingIPDHack branch). Those changes will be re-applied when merging the branch back to Trunk with svn merge --reintegrate (if everything goes well...)

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

15 years agoFixed some oversights: fo:title was already implemented long ago, fo:wrapper works...
Andreas L. Delmelle [Wed, 26 Aug 2009 16:08:01 +0000 (16:08 +0000)]
Fixed some oversights: fo:title was already implemented long ago, fo:wrapper works correctly as of trunk.

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

15 years agodeclaration and icc-profile have been supported for a while now
Maximilian Berger [Tue, 25 Aug 2009 10:42:37 +0000 (10:42 +0000)]
declaration and icc-profile have been supported for a while now

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

15 years agoRemoved a commented leftover from local tests
Andreas L. Delmelle [Mon, 24 Aug 2009 16:34:38 +0000 (16:34 +0000)]
Removed a commented leftover from local tests

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

15 years agoReduce messages to DEBUG level, since they are meant more as a reminder for devs...
Andreas L. Delmelle [Mon, 24 Aug 2009 16:32:49 +0000 (16:32 +0000)]
Reduce messages to DEBUG level, since they are meant more as a reminder for devs, not a source of confusion for end-users

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

15 years agoBugzilla 46905: Added basic implementation for column-level keeps.
Andreas L. Delmelle [Sun, 23 Aug 2009 20:27:48 +0000 (20:27 +0000)]
Bugzilla 46905: Added basic implementation for column-level keeps.
Also added one disabled-testcase for a remaining issue with page-level
keeps in multi-column layout.

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

15 years agoBugzilla 46883: fixed a hotspot in the AFP renderer. Reduced time spent in the method...
Andreas L. Delmelle [Sun, 23 Aug 2009 19:57:48 +0000 (19:57 +0000)]
Bugzilla 46883: fixed a hotspot in the AFP renderer. Reduced time spent in the method by introducing a member variable to hold the data-length.

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

15 years agoRevert some changes that were meant to be kept local for the moment...
Andreas L. Delmelle [Thu, 20 Aug 2009 21:21:43 +0000 (21:21 +0000)]
Revert some changes that were meant to be kept local for the moment...

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

15 years agoBugzilla 47710: White-space handling in retrieved markers throws a NullPointerExcepti...
Andreas L. Delmelle [Thu, 20 Aug 2009 21:15:52 +0000 (21:15 +0000)]
Bugzilla 47710: White-space handling in retrieved markers throws a NullPointerException in some cases.

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

15 years agoFixed checkstyle warnings
Simon Pepping [Thu, 20 Aug 2009 20:32:32 +0000 (20:32 +0000)]
Fixed checkstyle warnings

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

15 years agoI tried to remove all methods which are not Java 1.4 compliant.
Simon Pepping [Thu, 20 Aug 2009 18:27:47 +0000 (18:27 +0000)]
I tried to remove all methods which are not Java 1.4 compliant.

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

15 years agoPrepare for new hyphenation pattern files, which do not have their own classes and...
Simon Pepping [Tue, 18 Aug 2009 20:05:01 +0000 (20:05 +0000)]
Prepare for new hyphenation pattern files, which do not have their own classes and instead use the default classes in FOP. Modified the build process to a forked java task, in order to be able to set a larger stack size for the compilation of the large number of classes. Added an ant task to generate a new default classes file, to be used with an update of the Unicode Character Database.

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

15 years agobug fix: 47694 Avoid create IOCA for background on empty areas
Chris Bowditch [Fri, 14 Aug 2009 15:46:05 +0000 (15:46 +0000)]
bug fix: 47694 Avoid create IOCA for background on empty areas

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

15 years agoAdded tests for 2, 3, 4 values specified in the page boundaries properties.
Vincent Hennebert [Fri, 14 Aug 2009 10:44:29 +0000 (10:44 +0000)]
Added tests for 2, 3, 4 values specified in the page boundaries properties.

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

15 years agoRenamed PageScaleAttributes class into PageScale.
Vincent Hennebert [Wed, 12 Aug 2009 10:46:39 +0000 (10:46 +0000)]
Renamed PageScaleAttributes class into PageScale.
Simplified and improved its behaviour:
- return null for an empty string
- allow for an arbitrary sequence of white spaces between the scales
- check that number of arguments is no more than 2
- other small improvements

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

15 years agoFixed issues in PageBoundaries class:
Vincent Hennebert [Mon, 10 Aug 2009 11:16:45 +0000 (11:16 +0000)]
Fixed issues in PageBoundaries class:
- typos in method name and documentation
- unnecessary conversions from double to int
- a single space between values of bleed and crop-offset is too restrictive; changed into a sequence of white space characters
Cleanup and improvements of prepress tests:
- split PrepressTest class into two separate PageScaleTest and PageBoundariesTest test cases
- moved newly created test cases into prepress sub-package
- re-organized tests and made them more complete

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

15 years agoFixed and improved documentation about prepress extensions:
Vincent Hennebert [Wed, 5 Aug 2009 11:07:18 +0000 (11:07 +0000)]
Fixed and improved documentation about prepress extensions:
- AFAIU all of them have been implemented in both the PDF and Java2D renderers
- the default value of crop-offset is bleed

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