]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
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

16 years agoAddition to r670217
Andreas L. Delmelle [Sun, 22 Jun 2008 09:07:47 +0000 (09:07 +0000)]
Addition to r670217

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

16 years agoMoved the contents of TableBody into a new abstract base class TablePart, which is...
Adrian Cumiskey [Sat, 21 Jun 2008 16:28:56 +0000 (16:28 +0000)]
Moved the contents of TableBody into a new abstract base class TablePart, which is now subclassed by TableBody, TableHeader and TableFooter.

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

16 years agoMoved the contents of TableBody into a new abstract base class TablePart, which is...
Adrian Cumiskey [Sat, 21 Jun 2008 16:10:03 +0000 (16:10 +0000)]
Moved the contents of TableBody into a new abstract base class TablePart, which is now subclassed by TableBody, TableHeader and TableFooter.

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

16 years agoStrict/loose validation of <fo:table-footer/> ordering somehow got lost in processing...
Adrian Cumiskey [Fri, 20 Jun 2008 09:18:56 +0000 (09:18 +0000)]
Strict/loose validation of <fo:table-footer/> ordering somehow got lost in processing feedback branch merge.

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

16 years agoSeparation of concerns:
Jeremias Maerki [Thu, 19 Jun 2008 09:46:12 +0000 (09:46 +0000)]
Separation of concerns:
Split FOEventHandler into FOEventHandler and FOTreeBuilderContext. The latter contains stuff only used at tree-building stage. FOEventHandler is oriented towards output.

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

16 years agoSimplifications and a Checkstyle fix.
Jeremias Maerki [Thu, 19 Jun 2008 08:25:46 +0000 (08:25 +0000)]
Simplifications and a Checkstyle fix.

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

16 years agoWrong line number reported in the case of a line overflow.
Jeremias Maerki [Tue, 17 Jun 2008 09:04:05 +0000 (09:04 +0000)]
Wrong line number reported in the case of a line overflow.

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

16 years agoFixing the PageBreakingAlgorithm, replacing calls to getLineWidth() with getLineWidth...
Luca Furini [Mon, 16 Jun 2008 14:52:14 +0000 (14:52 +0000)]
Fixing the PageBreakingAlgorithm, replacing calls to getLineWidth() with getLineWidth(int) so as to take into account each page's real height.
This fixes the positioning of footnotes when the page bpd is not the same for all pages.

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

16 years agoremoved double storage of 'fobj'
Maximilian Berger [Sat, 14 Jun 2008 22:20:42 +0000 (22:20 +0000)]
removed double storage of 'fobj'

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

16 years agominor spelling & checkstyle fixes
Maximilian Berger [Sat, 14 Jun 2008 18:23:28 +0000 (18:23 +0000)]
minor spelling & checkstyle fixes

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

16 years agominor spelling fixes
Maximilian Berger [Sat, 14 Jun 2008 18:18:14 +0000 (18:18 +0000)]
minor spelling fixes

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

16 years agominor spelling fixes
Maximilian Berger [Sat, 14 Jun 2008 16:21:15 +0000 (16:21 +0000)]
minor spelling fixes

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

16 years agoDisabled retroweaver task definition, because it breaks gump
Maximilian Berger [Fri, 13 Jun 2008 06:03:30 +0000 (06:03 +0000)]
Disabled retroweaver task definition, because it breaks gump

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

16 years agoAdded PMD and Findbugs report, 'reports' target'
Maximilian Berger [Thu, 12 Jun 2008 06:07:28 +0000 (06:07 +0000)]
Added PMD and Findbugs report, 'reports' target'

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

16 years agoFixed typo
Vincent Hennebert [Wed, 11 Jun 2008 09:52:04 +0000 (09:52 +0000)]
Fixed typo

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

16 years agoReplaced getLast() calls with calls to listUtil
Maximilian Berger [Tue, 10 Jun 2008 07:52:36 +0000 (07:52 +0000)]
Replaced getLast() calls with calls to listUtil

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

16 years agoSome updates (improvements?) in the UAX#14-related files:
Andreas L. Delmelle [Mon, 9 Jun 2008 17:27:51 +0000 (17:27 +0000)]
Some updates (improvements?) in the UAX#14-related files:
- LineBreakPairTable.txt: replace tabs with spaces to make the file a bit easier to read (constant column-width, instead of depending on an editor's settings for tabs)
- GenerateLineBreakUtils.java:
  - generate a public final utility class
  - add some spacing in the generated file, after commas and before/after '=' (same styling as manually created files)
  - use Java 1.4 String.split() to tokenize lines, instead of StringTokenizer
  - add javadoc comments for public constants and methods
- LineBreakUtils.java: regenerated after the above updates

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

16 years agoMinor update: make the codegen-unicode target create LineBreakUtils.java at the appro...
Andreas L. Delmelle [Mon, 9 Jun 2008 16:20:08 +0000 (16:20 +0000)]
Minor update: make the codegen-unicode target create LineBreakUtils.java at the appropriate place in the source tree

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

16 years agoReplaced LinkedList with generic List interface
Maximilian Berger [Mon, 9 Jun 2008 14:15:38 +0000 (14:15 +0000)]
Replaced LinkedList with generic List interface

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