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