]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
16 years agoBlocked revisions 681286,681291 via svnmerge
Jeremias Maerki [Thu, 31 Jul 2008 08:07:42 +0000 (08:07 +0000)]
Blocked revisions 681286,681291 via svnmerge

........
  r681286 | jeremias | 2008-07-31 09:15:23 +0200 (Do, 31 Jul 2008) | 1 line

  Move to XML Graphics Commons 1.3.1.
........
  r681291 | jeremias | 2008-07-31 09:45:13 +0200 (Do, 31 Jul 2008) | 1 line

  Increase version number.
........

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

16 years agoReverted revision 670341 and replaced it with a different solution as discussed:
Jeremias Maerki [Mon, 28 Jul 2008 15:05:14 +0000 (15:05 +0000)]
Reverted revision 670341 and replaced it with a different solution as discussed:
addCharacters() is now deprecated and called by the new characters() method which uses start/length instead of start/end.
Fixed bugs in the AFP and PS extensions (ArrayIndexOutOfBoundsExceptions). They were not properly changed when the interface changed.
Discussion: http://markmail.org/message/pdgzf6odxrnhflby

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

16 years agoBugzilla #45470:
Jeremias Maerki [Mon, 28 Jul 2008 14:24:51 +0000 (14:24 +0000)]
Bugzilla #45470:
Added LayoutManagerMapping.registerMaker() to make registration of custom layout managers easier.

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

16 years agoFed up with all those trailing whitespaces. Let's remove them all (once... and for...
Vincent Hennebert [Thu, 24 Jul 2008 09:35:34 +0000 (09:35 +0000)]
Fed up with all those trailing whitespaces. Let's remove them all (once... and for all?)

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

16 years agoOnly update the generated files if any source file is newer than the generated ones.
Jeremias Maerki [Wed, 23 Jul 2008 19:33:24 +0000 (19:33 +0000)]
Only update the generated files if any source file is newer than the generated ones.

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

16 years agoMy bad.. copy paste error I introduced which broke forrest.
Adrian Cumiskey [Wed, 23 Jul 2008 10:39:11 +0000 (10:39 +0000)]
My bad..  copy paste error I introduced which broke forrest.

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

16 years agoMinor optimization.
Adrian Cumiskey [Wed, 23 Jul 2008 09:26:40 +0000 (09:26 +0000)]
Minor optimization.

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

16 years agoLets free a little memory in every BlockParent :).. Commented out the unused private...
Adrian Cumiskey [Tue, 22 Jul 2008 12:14:37 +0000 (12:14 +0000)]
Lets free a little memory in every BlockParent :)..  Commented out the unused private member variable 'orientation'.

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

16 years agoHacked CommandLineOptions so that it accepts '-' as a specification of stdin/stdout.
Vincent Hennebert [Tue, 22 Jul 2008 10:09:06 +0000 (10:09 +0000)]
Hacked CommandLineOptions so that it accepts '-' as a specification of stdin/stdout.
Made it work also when infile is specified without any option ('fop - -pdf res.pdf')
TODO Investigate the adoption of Apache Commons CLI

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

16 years agoDesynchronized createFontKey() and removed single use of static TRIPLETS_TYPE in...
Adrian Cumiskey [Tue, 22 Jul 2008 09:30:22 +0000 (09:30 +0000)]
Desynchronized createFontKey() and removed single use of static TRIPLETS_TYPE in fontLookup() following a suggestion by Jeremias Ingo Maas' threading issue (http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200807.mbox/%3C000a01c8eb4b$42166e60$a701010a@ebp01422%3E).

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

16 years agoRenamed fname to more correct name fontKey.
Adrian Cumiskey [Mon, 21 Jul 2008 16:48:14 +0000 (16:48 +0000)]
Renamed fname to more correct name fontKey.
Made createFontKey() in FontInfo synchronized which should hopefully fix Ingo Maas's threading problem (http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200807.mbox/%3C000a01c8eb4b$42166e60$a701010a@ebp01422%3E).

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

16 years agoRemoved unnecessary storing of byte[] nameBytes
Adrian Cumiskey [Fri, 18 Jul 2008 17:15:59 +0000 (17:15 +0000)]
Removed unnecessary storing of byte[] nameBytes

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

16 years agoOk, I am much happier with this fix now, it doesn't feel like a temporary hack anymor...
Adrian Cumiskey [Fri, 18 Jul 2008 09:11:10 +0000 (09:11 +0000)]
Ok, I am much happier with this fix now, it doesn't feel like a temporary hack anymore :).

I have revised the fontLookup() algorithm in FontInfo so it now first tries to find matching font triplets by iterating over all the font family names *without substitutions*, if this fails it then iterates over all the font family names looking for matching font triplets *with substitutions* rather then just take the last one in the font family name list with substitutions.

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

16 years agoI'm not really happy with this workaround, it is a bit of a hack (as Symbol and ZapfD...
Adrian Cumiskey [Thu, 17 Jul 2008 18:47:58 +0000 (18:47 +0000)]
I'm not really happy with this workaround, it is a bit of a hack (as Symbol and ZapfDingbats are not available) but it does prevent the IllegalArgumentException from being thrown.

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

16 years agoUndoing this change for now until a better fix can be found as it breaks 4 unit tests.
Adrian Cumiskey [Thu, 17 Jul 2008 18:25:11 +0000 (18:25 +0000)]
Undoing this change for now until a better fix can be found as it breaks 4 unit tests.

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

16 years agoUnused imports.
Adrian Cumiskey [Thu, 17 Jul 2008 17:47:04 +0000 (17:47 +0000)]
Unused imports.

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

16 years agoMoved font setup stuff from setupFontInfo() in AFPRenderer and delegated this stuff...
Adrian Cumiskey [Thu, 17 Jul 2008 17:44:08 +0000 (17:44 +0000)]
Moved font setup stuff from setupFontInfo() in AFPRenderer and delegated this stuff to an AFPFontCollection class.

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

16 years agoAn optimization and improved readability of fontLookup() call.
Adrian Cumiskey [Thu, 17 Jul 2008 17:41:27 +0000 (17:41 +0000)]
An optimization and improved readability of fontLookup() call.

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

16 years agoA minor optimization.
Adrian Cumiskey [Thu, 17 Jul 2008 17:40:12 +0000 (17:40 +0000)]
A minor optimization.

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

16 years agoZapfDingbats and Symbol is not always available on the AFPRenderer so we can't have...
Adrian Cumiskey [Thu, 17 Jul 2008 17:39:14 +0000 (17:39 +0000)]
ZapfDingbats and Symbol is not always available on the AFPRenderer so we can't have these as default font family properties unfortunately.

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

16 years agofonts package must not depend on the render package. Refactored to restore that rule.
Jeremias Maerki [Thu, 17 Jul 2008 09:11:09 +0000 (09:11 +0000)]
fonts package must not depend on the render package. Refactored to restore that rule.

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

16 years agoRemoved stray System.out.
Jeremias Maerki [Wed, 16 Jul 2008 20:22:17 +0000 (20:22 +0000)]
Removed stray System.out.

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

16 years agoWorked around a bug in Xalan 2.4.0 (bundled with Sun Java 1.4.2_xx) where file URLs...
Jeremias Maerki [Wed, 16 Jul 2008 20:16:51 +0000 (20:16 +0000)]
Worked around a bug in Xalan 2.4.0 (bundled with Sun Java 1.4.2_xx) where file URLs like file:/C:/.... got converted to file:\C:\.... on Windows causing a FileNotFoundException.

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

16 years agoA nit: clarify message so its more meaningful to end user
Chris Bowditch [Mon, 14 Jul 2008 14:44:53 +0000 (14:44 +0000)]
A nit: clarify message so its more meaningful to end user

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

16 years agoAnother attempt at avoiding build issues (?)
Andreas L. Delmelle [Sun, 13 Jul 2008 18:31:30 +0000 (18:31 +0000)]
Another attempt at avoiding build issues (?)

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

16 years agonull is not correct here, an empty String needs to be used for the default namespace...
Jeremias Maerki [Sun, 13 Jul 2008 12:11:17 +0000 (12:11 +0000)]
null is not correct here, an empty String needs to be used for the default namespace. Saxon 9 fails with a NullPointerException otherwise. Xalan is more tolerant.

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

16 years agoReplace occurrences of File.toURL() by File.toURI().toURL() (recommended as of Java...
Andreas L. Delmelle [Sun, 13 Jul 2008 10:26:48 +0000 (10:26 +0000)]
Replace occurrences of File.toURL() by File.toURI().toURL() (recommended as of Java 6, where File.toURL() is deprecated)

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

16 years agoAttempt to fix a potential build problem.
Jeremias Maerki [Sat, 12 Jul 2008 12:19:40 +0000 (12:19 +0000)]
Attempt to fix a potential build problem.

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

16 years agoIgnore FindBugs preference file from Eclipse.
Jeremias Maerki [Fri, 11 Jul 2008 08:00:31 +0000 (08:00 +0000)]
Ignore FindBugs preference file from Eclipse.

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

16 years agoCheck the result of mkdirs() to see if the target directory could be created.
Jeremias Maerki [Fri, 11 Jul 2008 07:22:29 +0000 (07:22 +0000)]
Check the result of mkdirs() to see if the target directory could be created.

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

16 years agoAdded support for piping:
Jeremias Maerki [Thu, 10 Jul 2008 19:47:12 +0000 (19:47 +0000)]
Added support for piping:
- input from stdin (-imagein not supported)
- output to stdout

Syntax: fop -xml # -xsl mystylesheet.xsl -pdf #
(reads the XML from stdin and sends the generated PDF to stdout)

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

16 years agoBeware! An evil tab character! But it's been eliminated. ;-)
Jeremias Maerki [Thu, 10 Jul 2008 15:02:15 +0000 (15:02 +0000)]
Beware! An evil tab character! But it's been eliminated. ;-)

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

16 years agoBugzilla #45369: footnotes were rendered at the top of the region-body when using...
Vincent Hennebert [Thu, 10 Jul 2008 14:31:52 +0000 (14:31 +0000)]
Bugzilla #45369: footnotes were rendered at the top of the region-body when using the intermediate format

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

16 years agoDuplicated operation scaleX and scaleY replaced simply with scale.
Adrian Cumiskey [Thu, 10 Jul 2008 10:23:54 +0000 (10:23 +0000)]
Duplicated operation scaleX and scaleY replaced simply with scale.

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

16 years agoWhoops.. default value should be true :).
Adrian Cumiskey [Wed, 9 Jul 2008 17:05:27 +0000 (17:05 +0000)]
Whoops..  default value should be true :).

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

16 years agoAdded throwexceptions attribute to FOP ant task. This works around the problem with...
Adrian Cumiskey [Wed, 9 Jul 2008 16:53:01 +0000 (16:53 +0000)]
Added throwexceptions attribute to FOP ant task. This works around the problem with executing examples/fo/build.xml.

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

16 years agoAdded newAFP target for producing a set of AFP files from the examples.
Adrian Cumiskey [Wed, 9 Jul 2008 16:10:33 +0000 (16:10 +0000)]
Added newAFP target for producing a set of AFP files from the examples.

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

16 years agoMinor javadoc cleanup.
Adrian Cumiskey [Wed, 9 Jul 2008 15:34:01 +0000 (15:34 +0000)]
Minor javadoc cleanup.

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

16 years agoOne more minor update.
Clay Leeds [Mon, 7 Jul 2008 19:19:00 +0000 (19:19 +0000)]
One more minor update.

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

16 years agoupdated info.
Clay Leeds [Mon, 7 Jul 2008 19:15:34 +0000 (19:15 +0000)]
updated info.

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

16 years agoFixed typo
Andreas L. Delmelle [Mon, 7 Jul 2008 17:46:09 +0000 (17:46 +0000)]
Fixed typo

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

16 years agoAdded the change to the FONode interface committed in r670341
Andreas L. Delmelle [Mon, 7 Jul 2008 17:31:12 +0000 (17:31 +0000)]
Added the change to the FONode interface committed in r670341

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

16 years agoCorrect indentation
Andreas L. Delmelle [Mon, 7 Jul 2008 16:24:54 +0000 (16:24 +0000)]
Correct indentation

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

16 years agoFixing absolute positioning of block-containers: bottom and right distances were...
Luca Furini [Mon, 7 Jul 2008 13:52:36 +0000 (13:52 +0000)]
Fixing absolute positioning of block-containers: bottom and right distances were not taken into account

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

16 years agoRefactored this class, moving much of its behaviour to the base AbstractXMLRenderer...
Adrian Cumiskey [Mon, 7 Jul 2008 13:44:14 +0000 (13:44 +0000)]
Refactored this class, moving much of its behaviour to  the base AbstractXMLRenderer class.

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

16 years agoCleaned up some javadocs.
Adrian Cumiskey [Mon, 7 Jul 2008 13:43:19 +0000 (13:43 +0000)]
Cleaned up some javadocs.

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

16 years agoAdded new AbstractXMLRenderer base class.
Adrian Cumiskey [Mon, 7 Jul 2008 13:28:26 +0000 (13:28 +0000)]
Added new AbstractXMLRenderer base class.

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

16 years agoAdded PDF encryption parameter support in configuration.
Adrian Cumiskey [Mon, 7 Jul 2008 12:42:12 +0000 (12:42 +0000)]
Added PDF encryption parameter support in configuration.

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

16 years agoAdded new set accessor method for EncryptionParams.
Adrian Cumiskey [Mon, 7 Jul 2008 12:38:04 +0000 (12:38 +0000)]
Added new set accessor method for EncryptionParams.

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

16 years agoPossible NullPointerException avoided
Adrian Cumiskey [Mon, 7 Jul 2008 12:36:57 +0000 (12:36 +0000)]
Possible NullPointerException avoided

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

16 years agoFixed error; inadvertently switched the condition with r674272...
Andreas L. Delmelle [Sun, 6 Jul 2008 18:19:48 +0000 (18:19 +0000)]
Fixed error; inadvertently switched the condition with r674272...

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

16 years agoExtracted conversion methods for String to int[] or double[] to a utility class.
Andreas L. Delmelle [Sun, 6 Jul 2008 09:17:14 +0000 (09:17 +0000)]
Extracted conversion methods for String to int[] or double[] to a utility class.
Made AreaTreeParser.getAttributeAsXXX() methods static to stress their utility character, and removed the private parseRect() in favor of getAttributeAsRectangle2D().

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

16 years agoSimplified implementation of Area.getTraitAsBoolean()
Andreas L. Delmelle [Sun, 6 Jul 2008 08:46:50 +0000 (08:46 +0000)]
Simplified implementation of Area.getTraitAsBoolean()

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

16 years agoRedo changes made in r674056...
Andreas L. Delmelle [Sun, 6 Jul 2008 08:44:54 +0000 (08:44 +0000)]
Redo changes made in r674056...

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

16 years agoRemove deprecated Character area class
Andreas L. Delmelle [Sun, 6 Jul 2008 08:15:50 +0000 (08:15 +0000)]
Remove deprecated Character area class

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

16 years agoSwitch AreaTreeParser to use a java.nio.CharBuffer, and ignore characters events...
Andreas L. Delmelle [Sun, 6 Jul 2008 07:50:23 +0000 (07:50 +0000)]
Switch AreaTreeParser to use a java.nio.CharBuffer, and ignore characters events for all elements other than <word>, <space> or <character>

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

16 years agoFixed ClassCastException when specifying column-number on something other than a...
Andreas L. Delmelle [Sat, 5 Jul 2008 22:53:58 +0000 (22:53 +0000)]
Fixed ClassCastException when specifying column-number on something other than a fo:table-column or fo:table-cell...

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

16 years agoReplaced conditional with a switch and capitalized method javadoc description.
Adrian Cumiskey [Fri, 4 Jul 2008 14:12:37 +0000 (14:12 +0000)]
Replaced conditional with a switch and capitalized method javadoc description.

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

16 years ago* Some minor optimizations in AbstractRenderer.
Adrian Cumiskey [Fri, 4 Jul 2008 13:57:57 +0000 (13:57 +0000)]
* Some minor optimizations in AbstractRenderer.
* Renamed getBooleanTrait() to getTraitAsBoolean() in Area.

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

16 years agoThe pdf StringBuffer is only used on these two lines and doesn't seem to do anything...
Adrian Cumiskey [Fri, 4 Jul 2008 13:17:06 +0000 (13:17 +0000)]
The pdf StringBuffer is only used on these two lines and doesn't seem to do anything...
Very strange... :-S

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

16 years agoMinor readability improvement.
Adrian Cumiskey [Fri, 4 Jul 2008 13:13:29 +0000 (13:13 +0000)]
Minor readability improvement.

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

16 years agoAdded check for the case where column-number is specified on something other than...
Andreas L. Delmelle [Mon, 30 Jun 2008 17:34:41 +0000 (17:34 +0000)]
Added check for the case where column-number is specified on something other than a fo:table-cell or fo:table-column (strictly not an error)

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

16 years agoCleanup/re-ordering, and addition of XSL 1.1 FO_ and PR_ constants
Andreas L. Delmelle [Sun, 29 Jun 2008 19:53:17 +0000 (19:53 +0000)]
Cleanup/re-ordering, and addition of XSL 1.1 FO_ and PR_ constants

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

16 years agoCorrect svn props
Andreas L. Delmelle [Sun, 29 Jun 2008 10:58:31 +0000 (10:58 +0000)]
Correct svn props

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

16 years agoAdded disabled testcase for instream-foreign-object in a marker
Andreas L. Delmelle [Sun, 29 Jun 2008 10:52:30 +0000 (10:52 +0000)]
Added disabled testcase for instream-foreign-object in a marker

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

16 years agoRemoved instream-foreign-object in marker; still threw a NPE
Andreas L. Delmelle [Sat, 28 Jun 2008 18:45:16 +0000 (18:45 +0000)]
Removed instream-foreign-object in marker; still threw a NPE

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

16 years agoCorrected basic checks: check for empty document, as well as empty areaTree...
Andreas L. Delmelle [Sat, 28 Jun 2008 18:39:39 +0000 (18:39 +0000)]
Corrected basic checks: check for empty document, as well as empty areaTree...

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

16 years agoCorrected minor spelling mistake in javadoc
Adrian Cumiskey [Sat, 28 Jun 2008 16:08:13 +0000 (16:08 +0000)]
Corrected minor spelling mistake in javadoc

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

16 years agoCorrected minor spelling mistake in javadoc
Adrian Cumiskey [Sat, 28 Jun 2008 16:05:08 +0000 (16:05 +0000)]
Corrected minor spelling mistake in javadoc

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

16 years agoAdded basic-checks.xml: file currently only contains one default check.
Andreas L. Delmelle [Sat, 28 Jun 2008 12:11:40 +0000 (12:11 +0000)]
Added basic-checks.xml: file currently only contains one default check.
Modified testcase2checks.xsl: the added basic-checks.xml will be inserted before the checks particular to the testcase.

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

16 years agoAdded testcase for r672010
Andreas L. Delmelle [Sat, 28 Jun 2008 11:24:20 +0000 (11:24 +0000)]
Added testcase for r672010

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

16 years agoRemoved unnecessary override
Andreas L. Delmelle [Sat, 28 Jun 2008 11:22:58 +0000 (11:22 +0000)]
Removed unnecessary override

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

16 years agoSome basic cleanup.
Adrian Cumiskey [Thu, 26 Jun 2008 20:49:11 +0000 (20:49 +0000)]
Some basic cleanup.

* Duplicated/redundant PSDictionary, PSPageDeviceDictionary and PSDictionaryFormatException removed and now referenced from xmlgraphics commons.
* Updated xmlgraphics commons jar containing migrated PSPageDeviceDictionary class.

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

16 years agoFixed a possible NullPointerException: if the citation appears in a fo:marker, the...
Andreas L. Delmelle [Thu, 26 Jun 2008 19:44:20 +0000 (19:44 +0000)]
Fixed a possible NullPointerException: if the citation appears in a fo:marker, the property will only be parsed if the marker is retrieved...

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

16 years agoAnother character handling problem, replaced end-start by length
Maximilian Berger [Tue, 24 Jun 2008 11:59:33 +0000 (11:59 +0000)]
Another character handling problem, replaced end-start by length

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

16 years agoFix imports...
Andreas L. Delmelle [Mon, 23 Jun 2008 21:39:19 +0000 (21:39 +0000)]
Fix imports...

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

16 years agoA nit...
Andreas L. Delmelle [Mon, 23 Jun 2008 21:32:31 +0000 (21:32 +0000)]
A nit...

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

16 years agoMinor cleanup: simplified conditional
Andreas L. Delmelle [Mon, 23 Jun 2008 21:29:53 +0000 (21:29 +0000)]
Minor cleanup: simplified conditional

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

16 years agoJavadoc fixup
Andreas L. Delmelle [Mon, 23 Jun 2008 21:26:56 +0000 (21:26 +0000)]
Javadoc fixup

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

16 years agoMinor cleanup: remove redundant cast
Andreas L. Delmelle [Mon, 23 Jun 2008 21:25:30 +0000 (21:25 +0000)]
Minor cleanup: remove redundant cast

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

16 years agoMinor cleanup: remove redundant cast
Andreas L. Delmelle [Mon, 23 Jun 2008 21:24:46 +0000 (21:24 +0000)]
Minor cleanup: remove redundant cast

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

16 years agoMinor cleanup: remove double storage of the FObj
Andreas L. Delmelle [Mon, 23 Jun 2008 21:22:48 +0000 (21:22 +0000)]
Minor cleanup: remove double storage of the FObj

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

16 years agoMinor cleanup: remove unused parameter from method signature
Andreas L. Delmelle [Mon, 23 Jun 2008 21:21:09 +0000 (21:21 +0000)]
Minor cleanup: remove unused parameter from method signature

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

16 years agoJavadoc fixup
Andreas L. Delmelle [Mon, 23 Jun 2008 21:18:45 +0000 (21:18 +0000)]
Javadoc fixup

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

16 years agoJavadoc modification + addition of clarifying comments
Andreas L. Delmelle [Mon, 23 Jun 2008 19:56:51 +0000 (19:56 +0000)]
Javadoc modification + addition of clarifying comments

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

16 years agoFix XMLObj.addCharacters(): incorrect after r670341
Andreas L. Delmelle [Mon, 23 Jun 2008 18:01:25 +0000 (18:01 +0000)]
Fix XMLObj.addCharacters(): incorrect after r670341

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

16 years agoAdded support for non-zero borders and padding on page regions.
Luca Furini [Mon, 23 Jun 2008 09:24:14 +0000 (09:24 +0000)]
Added support for non-zero borders and padding on page regions.
Testcase included, now disabled because it is supposed to run with relaxed validation switched on.

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

16 years agoAnother missing file...
Andreas L. Delmelle [Sun, 22 Jun 2008 22:18:53 +0000 (22:18 +0000)]
Another missing file...

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

16 years agoAdded missing file from r670422
Andreas L. Delmelle [Sun, 22 Jun 2008 22:17:00 +0000 (22:17 +0000)]
Added missing file from r670422

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

16 years agoSwitch FOText to use a java.nio.CharBuffer, and implement the CharSequence interface.
Andreas L. Delmelle [Sun, 22 Jun 2008 22:10:55 +0000 (22:10 +0000)]
Switch FOText to use a java.nio.CharBuffer, and implement the CharSequence interface.
TextLayoutManager no longer duplicates the char array, operates on the FOText (charAt(i))
Additionally: endOfNode() for FOText and Character deferred until after white-space handling.

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

16 years agoPartial fix of FOEventHandler call sequence (see also Bugzilla #45237):
Andreas L. Delmelle [Sun, 22 Jun 2008 20:57:43 +0000 (20:57 +0000)]
Partial fix of FOEventHandler call sequence (see also Bugzilla #45237):
call startOfNode() after addChildNode()
moved initialization for tableFOs to processNode()
moved finishing code to a finalizeNode() method (which is now also used by AbstractRetrieveMarker)
restored protected status of startOfNode()/endOfNode() in fo.flow.table package

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

16 years agoDeleted deprecated interface; unused after r670336
Andreas L. Delmelle [Sun, 22 Jun 2008 20:38:28 +0000 (20:38 +0000)]
Deleted deprecated interface; unused after r670336

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

16 years agoVery minor tweak: simplify conditional
Andreas L. Delmelle [Sun, 22 Jun 2008 20:18:27 +0000 (20:18 +0000)]
Very minor tweak: simplify conditional

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

16 years agoCorrection: characters() expects a 'length' not an 'endIndex'
Andreas L. Delmelle [Sun, 22 Jun 2008 19:19:17 +0000 (19:19 +0000)]
Correction: characters() expects a 'length' not an 'endIndex'

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

16 years agoChanged signature for static handleWhiteSpaceFor(), and used internally to make the...
Andreas L. Delmelle [Sun, 22 Jun 2008 11:28:06 +0000 (11:28 +0000)]
Changed signature for static handleWhiteSpaceFor(), and used internally to make the code a bit more compact

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

16 years agoChanged FONode.addCharacters() signature to match the characters() event (use 'length...
Andreas L. Delmelle [Sun, 22 Jun 2008 11:18:03 +0000 (11:18 +0000)]
Changed FONode.addCharacters() signature to match the characters() event (use 'length' as a parameter instead of 'end')

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

16 years agoMinor tweak: use XG Commons version of the interface
Andreas L. Delmelle [Sun, 22 Jun 2008 11:01:27 +0000 (11:01 +0000)]
Minor tweak: use XG Commons version of the interface

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

16 years agoAvoid StackOverflow on TableColumn.toString() during debugging.
Andreas L. Delmelle [Sun, 22 Jun 2008 10:53:51 +0000 (10:53 +0000)]
Avoid StackOverflow on TableColumn.toString() during debugging.

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

16 years agoMinor tweak: avoid warning when running through Saxon
Andreas L. Delmelle [Sun, 22 Jun 2008 10:21:03 +0000 (10:21 +0000)]
Minor tweak: avoid warning when running through Saxon

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

16 years agoMinor javadoc correction
Andreas L. Delmelle [Sun, 22 Jun 2008 09:28:56 +0000 (09:28 +0000)]
Minor javadoc correction

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