]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
17 years agoFixes in the steps computation:
Vincent Hennebert [Thu, 12 Jul 2007 14:59:06 +0000 (14:59 +0000)]
Fixes in the steps computation:
- directly include the penalties of the cell contents in the step computation; no longer use a nestedPenaltyLength
- compute the real remaining length, i.e., discarding all the glues and penalties after the candidate break
- if step + maxRemainingLength < totalLength, a glue must be added to hold the additional length when the row group is not broken

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

17 years agoTemporary hack to handle cells with content of zero length
Vincent Hennebert [Thu, 12 Jul 2007 13:45:35 +0000 (13:45 +0000)]
Temporary hack to handle cells with content of zero length

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

17 years agoMove the content of the now small setupElementList method into initializeElementLists
Vincent Hennebert [Mon, 9 Jul 2007 17:05:18 +0000 (17:05 +0000)]
Move the content of the now small setupElementList method into initializeElementLists

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

17 years agoUse a prevIsBox boolean instead of duplicating the list of Knuth elements for active...
Vincent Hennebert [Mon, 9 Jul 2007 16:59:42 +0000 (16:59 +0000)]
Use a prevIsBox boolean instead of duplicating the list of Knuth elements for active cells into an ArrayList

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

17 years agoIn case where SAX Exception is thrown by Area Tree Parser when parsing Area Tree...
Chris Bowditch [Mon, 9 Jul 2007 16:08:55 +0000 (16:08 +0000)]
In case where SAX Exception is thrown by Area Tree Parser when parsing Area Tree XML, error is logged but Exception should be passed back up to allow a calling Application to abort processing.

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

17 years agoUse a list of active cells for computing steps, continued:
Vincent Hennebert [Mon, 9 Jul 2007 16:00:51 +0000 (16:00 +0000)]
Use a list of active cells for computing steps, continued:
- remove the need for backupWidth
- handle the iteration over the cell's Knuth element inside the active cell itself
- improve the computation of the remaining height (a testcase needed to be updated; no visual change, only the values for the boxes/penalties which lead to the same result)

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

17 years agoAlso display the width of the penalty in the toString method
Vincent Hennebert [Mon, 9 Jul 2007 15:50:21 +0000 (15:50 +0000)]
Also display the width of the penalty in the toString method

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

17 years agoFix build errors after revision 554251.
Jeremias Maerki [Mon, 9 Jul 2007 07:54:35 +0000 (07:54 +0000)]
Fix build errors after revision 554251.

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

17 years agoBugzilla 42785: Support alignment-adjust for images (submitted by Max Berger)
Andreas L. Delmelle [Sun, 8 Jul 2007 19:47:53 +0000 (19:47 +0000)]
Bugzilla 42785: Support alignment-adjust for images (submitted by Max Berger)

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

17 years agoPartial application of the patch in Bugzilla 41044:
Andreas L. Delmelle [Sat, 7 Jul 2007 20:13:41 +0000 (20:13 +0000)]
Partial application of the patch in Bugzilla 41044:
 * addition of a generic PropertyCache to be used by all Property
   types that can be safely canonicalized
 * modified EnumProperty, StringProperty, NumberProperty, EnumNumber
   and FixedLength to make use of the cache infrastructure

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

17 years agoBugzilla 42832: Fix in AWT preview if used with non-english locale (offered by Max...
Andreas L. Delmelle [Sat, 7 Jul 2007 18:42:56 +0000 (18:42 +0000)]
Bugzilla 42832: Fix in AWT preview if used with non-english locale (offered by Max Berger)

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

17 years agoOK, now it was ready...
Andreas L. Delmelle [Sat, 7 Jul 2007 01:08:14 +0000 (01:08 +0000)]
OK, now it was ready...

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

17 years agoBugzilla 41656:
Andreas L. Delmelle [Sat, 7 Jul 2007 01:07:10 +0000 (01:07 +0000)]
Bugzilla 41656:
Refactoring in the fo package:
-> removal of the childNodes instance member in fop.fo.FObj
-> addition of a firstChild instance member in fop.fo.FObj
-> addition of a siblings instance member in fop.fo.FONode
-> addition of a FONodeIterator interface in FONode + corresponding implementation in FObj
-> changed implementations of FObj.addChildNode(), .removeChild() and .getChildNodes()

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

17 years agoOops, not ready yet...
Andreas L. Delmelle [Sat, 7 Jul 2007 00:59:40 +0000 (00:59 +0000)]
Oops, not ready yet...

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

17 years agoBugzilla 41656
Andreas L. Delmelle [Sat, 7 Jul 2007 00:56:29 +0000 (00:56 +0000)]
Bugzilla 41656
        Refactoring in the fo package:
        -> removal of the childNodes instance member in fop.fo.FObj
        -> addition of a firstChild instance member in fop.fo.FObj
        -> addition of a siblings instance member in fop.fo.FONode
        -> addition of a FONodeIterator interface in FONode + corresponding implementation in FObj
        -> changed implementations of FObj.addChildNode(), .removeChild() and .getChildNodes()

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

17 years agoBugzilla 42089: Cleanup and restructuring (suggested by Adrian Cumiskey)
Andreas L. Delmelle [Sat, 7 Jul 2007 00:04:25 +0000 (00:04 +0000)]
Bugzilla 42089: Cleanup and restructuring (suggested by Adrian Cumiskey)

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

17 years agoRemoval of unused classes ?
Andreas L. Delmelle [Fri, 6 Jul 2007 23:49:30 +0000 (23:49 +0000)]
Removal of unused classes ?

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

17 years agoTweak: allow control over usage of Locators
Andreas L. Delmelle [Fri, 6 Jul 2007 23:44:57 +0000 (23:44 +0000)]
Tweak: allow control over usage of Locators

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

17 years agoImprovement in handling relative font-weights
Andreas L. Delmelle [Fri, 6 Jul 2007 23:30:14 +0000 (23:30 +0000)]
Improvement in handling relative font-weights

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

17 years agoImprovement in handling relative font-weights
Andreas L. Delmelle [Fri, 6 Jul 2007 23:29:26 +0000 (23:29 +0000)]
Improvement in handling relative font-weights

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

17 years agoCleaner way to handle border-separation in ActiveCell
Vincent Hennebert [Fri, 6 Jul 2007 14:29:10 +0000 (14:29 +0000)]
Cleaner way to handle border-separation in ActiveCell

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

17 years agoAdd a signalMinStep method in ActiveCell
Vincent Hennebert [Fri, 6 Jul 2007 13:49:12 +0000 (13:49 +0000)]
Add a signalMinStep method in ActiveCell

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

17 years agoMove the getNextStep method into ActiveCell
Vincent Hennebert [Fri, 6 Jul 2007 13:34:41 +0000 (13:34 +0000)]
Move the getNextStep method into ActiveCell

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

17 years agoClarification about the status of fo:bookmark support.
Jeremias Maerki [Fri, 6 Jul 2007 12:22:20 +0000 (12:22 +0000)]
Clarification about the status of fo:bookmark support.

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

17 years agoAdd a testcase for a bug in TableStepper spotted during the refactoring. The border...
Vincent Hennebert [Fri, 6 Jul 2007 10:01:58 +0000 (10:01 +0000)]
Add a testcase for a bug in TableStepper spotted during the refactoring. The border-before of the primary grid unit was taken into account instead of the whole cell border. If the cell is spanning over two columns and the border-before for the second grid unit is bigger, this was leading to a wrong step computation.

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

17 years agoRemove decrease of activeRowIndex when backtracking
Vincent Hennebert [Fri, 6 Jul 2007 09:24:06 +0000 (09:24 +0000)]
Remove decrease of activeRowIndex when backtracking

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

17 years agoOrganize imports and remove no longer used methods
Vincent Hennebert [Fri, 6 Jul 2007 08:43:51 +0000 (08:43 +0000)]
Organize imports and remove no longer used methods

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

17 years agoFirst step towards using a list of active cells for computing steps
Vincent Hennebert [Fri, 6 Jul 2007 08:41:46 +0000 (08:41 +0000)]
First step towards using a list of active cells for computing steps

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

17 years agoFix a broken link
Andreas L. Delmelle [Thu, 5 Jul 2007 20:40:24 +0000 (20:40 +0000)]
Fix a broken link

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

17 years agoFix for a tiny but very nasty bug...
Andreas L. Delmelle [Thu, 5 Jul 2007 19:01:14 +0000 (19:01 +0000)]
Fix for a tiny but very nasty bug...

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

17 years agoApplied fix suggested by Arno Peters to the fop shell script. This fix
Simon Pepping [Fri, 29 Jun 2007 17:39:01 +0000 (17:39 +0000)]
Applied fix suggested by Arno Peters to the fop shell script. This fix
makes the script work with a FOP_HOME path containing spaces. This
solves bug 42616.

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

17 years agoBugzilla #42278:
Jeremias Maerki [Fri, 29 Jun 2007 12:46:14 +0000 (12:46 +0000)]
Bugzilla #42278:
Refactoring of color map cache and uri/fo resolution from FopFactory
Submitted by: Adrian Cumiskey <fop-dev@cumiskey.com>

Changes in addition to the patch by jeremias:
- Moved the color map cache to the util package so it doesn't clutter the API (apps) package.
- Factored out the data URL resolution into its own URIResolver class which can now be used separately.
- Added a utility class for generating RFC2397 data URLs.
- Added a unit test for data URL handling.

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

17 years agoAdditional testcases for tables with spanning cells and collapsing-border model.
Vincent Hennebert [Thu, 28 Jun 2007 15:52:45 +0000 (15:52 +0000)]
Additional testcases for tables with spanning cells and collapsing-border model.
TODO the checks in table_border-collapse_collapse_spans_2.xml need to updated once bugs #42768 and #42769 are fixed

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

17 years agoBugzilla 42703: white-space incorrectly handled in retrieved markers
Andreas L. Delmelle [Sat, 23 Jun 2007 20:31:59 +0000 (20:31 +0000)]
Bugzilla 42703: white-space incorrectly handled in retrieved markers

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

17 years agoA note on the PDF/A namespace confusion.
Jeremias Maerki [Fri, 22 Jun 2007 14:23:30 +0000 (14:23 +0000)]
A note on the PDF/A namespace confusion.

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

17 years agoUpdated PDF/A-1b support according to ISO-19005-1:2005/Cor.1:2007.
Jeremias Maerki [Fri, 22 Jun 2007 13:34:37 +0000 (13:34 +0000)]
Updated PDF/A-1b support according to ISO-19005-1:2005/Cor.1:2007.
Changed test.xconf to match the triplet generated by auto-font-detection (Gladiator is bold) and adjusted PDF/A test files accordingly.
Updated XML Graphics Commons to latest snapshot to include the PDF/A fixes.
Added a unit test for the synchronization of PDF Info and XMP metadata as described in PDF/A-1.

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

17 years agoBugzilla #42576
Chris Bowditch [Fri, 22 Jun 2007 10:26:39 +0000 (10:26 +0000)]
Bugzilla #42576
Fix bug in force-page-count
Submitted by Adrian Cumiskey <dev.at.cumiskey.com>

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

17 years agoMove Glen Mazza to the list of inactive committers, as per his own request. While...
Vincent Hennebert [Tue, 19 Jun 2007 07:08:33 +0000 (07:08 +0000)]
Move Glen Mazza to the list of inactive committers, as per his own request. While I'm at it, replace his column with mine in "Areas of Expertise".

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

17 years agocorrected some misspellings and other potential annoyances in example
Joerg Pietschmann [Sun, 17 Jun 2007 20:39:55 +0000 (20:39 +0000)]
corrected some misspellings and other potential annoyances in example

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

17 years agoremoved hyphenation advice from basic example
Joerg Pietschmann [Sat, 16 Jun 2007 20:48:24 +0000 (20:48 +0000)]
removed hyphenation advice from basic example

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

17 years agoremove deprecated style task
Joerg Pietschmann [Sat, 16 Jun 2007 19:59:30 +0000 (19:59 +0000)]
remove deprecated style task

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

17 years agoAdd Assentis:DocDesign (an FO editor)
Jeremias Maerki [Fri, 15 Jun 2007 06:55:02 +0000 (06:55 +0000)]
Add Assentis:DocDesign (an FO editor)

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

17 years agoAdd JEuclid as it now provides its own FOP extension.
Jeremias Maerki [Fri, 15 Jun 2007 06:49:40 +0000 (06:49 +0000)]
Add JEuclid as it now provides its own FOP extension.
Correct Barcode4J's URL.

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

17 years agoApply a similar change to the page of the trunk as to that of the 0.93 release
Simon Pepping [Fri, 8 Jun 2007 18:47:44 +0000 (18:47 +0000)]
Apply a similar change to the page of the trunk as to that of the 0.93 release

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

17 years agoUpdates to promote FOP 0.93 over 0.20.5
Clay Leeds [Thu, 7 Jun 2007 15:57:47 +0000 (15:57 +0000)]
Updates to promote FOP 0.93 over 0.20.5

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

17 years agoAdd Adrian Cumiskey to the list of FOP's active contributors. Many thanks to Adrian...
Vincent Hennebert [Wed, 6 Jun 2007 07:37:52 +0000 (07:37 +0000)]
Add Adrian Cumiskey to the list of FOP's active contributors. Many thanks to Adrian for his contributions so far!
Patch provided by Adrian himself ;-)

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

17 years agoAdd Max Berger to the list of FOP's active contributors. Many thanks to Max for his...
Vincent Hennebert [Wed, 6 Jun 2007 07:22:04 +0000 (07:22 +0000)]
Add Max Berger to the list of FOP's active contributors. Many thanks to Max for his contributions so far!

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

17 years agoBug #42476:
Vincent Hennebert [Tue, 29 May 2007 07:51:52 +0000 (07:51 +0000)]
Bug #42476:
- fix NPE in XMLReader when no handler is found for the image
- prevent SVGReader from closing the input stream if the image actually isn't SVG
- reduce log level in SVGReader and XMLReader to avoid "false positive" (read error reported whereas the image format actually isn't recognized). This may hide regular I/O errors to the end-user, but I assume this will be rare enough compared to the annoyance of such messages when third-party plugins are used.

Patch submitted by Max Berger (max.at.berger.name)

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

17 years agoDiscover the .otf font extension (OpenType fonts), too.
Jeremias Maerki [Mon, 28 May 2007 14:48:09 +0000 (14:48 +0000)]
Discover the .otf font extension (OpenType fonts), too.

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

17 years agoBugzilla #41831:
Jeremias Maerki [Mon, 28 May 2007 14:31:24 +0000 (14:31 +0000)]
Bugzilla #41831:
- Add support font auto-detection (easier font configuration) including a font cache to speed up the auto-detection process.
- Refactoring of the configuration code: All Avalon configuration stuff is extracted into separate "Configurator" classes.
- Refactoring of the FOURIResolver.
Submitted by: Adrian Cumiskey <fop-dev.at.cumiskey.com>

Changes to the patch by jeremias during the review:
- Font cache simplified (Java object serialization instead of XML), functionality fixed and moved to the fonts.package.
- Relocated default cache file location to user directory.
- Fixed the font configuration for PDFDocumentGraphics2D/PDFTranscoder that got lost with the patch.
- Fixed a problem with having a non-file URL as font base URL.
- Simplified RendererContextInfo stuff to make it easier to understand.
- Fixed handling of Type 1 fonts in auto-detection.
- Reduced verbosity of font-related log output.
- Updated Jakarta Commons IO to version 1.3.1 (the patch depends on it)
- Various javadocs improvements

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

17 years agoOne Factory per VM is enough here.
Jeremias Maerki [Sun, 27 May 2007 21:03:22 +0000 (21:03 +0000)]
One Factory per VM is enough here.

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

17 years agoCheckstyle only.
Jeremias Maerki [Fri, 25 May 2007 12:52:22 +0000 (12:52 +0000)]
Checkstyle only.

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

17 years agoBugzilla #42406:
Jeremias Maerki [Mon, 21 May 2007 07:59:05 +0000 (07:59 +0000)]
Bugzilla #42406:
Use source resolution setting for bitmap images which don't provide their own resolution.
Submitted by: Hussein Shafie <hussein.at.xmlmind.com>

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

17 years agoBugzilla #42109:
Jeremias Maerki [Mon, 21 May 2007 07:32:46 +0000 (07:32 +0000)]
Bugzilla #42109:
Fixed the rendering of zero-width spaces for certain fonts by not generating them into the area tree.
Submitted by: Paul Vinkenoog <paul.at.vinkenoog.nl>

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

17 years agoPFMFile is now also used inside FOP's normal operations, so don't log too much in...
Jeremias Maerki [Mon, 21 May 2007 06:57:03 +0000 (06:57 +0000)]
PFMFile is now also used inside FOP's normal operations, so don't log too much in "info" level.

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

17 years agoBugzilla #42067:
Jeremias Maerki [Mon, 21 May 2007 06:17:48 +0000 (06:17 +0000)]
Bugzilla #42067:
Fixed a possible StringIndexOutOfBoundsException.
Submitted by: Paul Vinkenoog <paul.at.vinkenoog.nl>

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

17 years agoBugzilla #42067:
Jeremias Maerki [Fri, 18 May 2007 11:59:26 +0000 (11:59 +0000)]
Bugzilla #42067:
Restore JDK 1.3 compatibility.
Submitted by: Adrian Cumiskey <fop-dev.at.cumiskey.com>

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

17 years agoBugfix for ClassCastException with spaces inside a table-cell (using fox:widow/orphan...
Jeremias Maerki [Thu, 17 May 2007 09:36:24 +0000 (09:36 +0000)]
Bugfix for ClassCastException with spaces inside a table-cell (using fox:widow/orphan-content-limit)

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

17 years agoMissed the URL.
Jeremias Maerki [Thu, 17 May 2007 08:26:28 +0000 (08:26 +0000)]
Missed the URL.

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

17 years agoApacheCon US coming up next
Jeremias Maerki [Thu, 17 May 2007 08:20:53 +0000 (08:20 +0000)]
ApacheCon US coming up next

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

17 years agoID on wrapper should work now.
Jeremias Maerki [Wed, 16 May 2007 11:24:23 +0000 (11:24 +0000)]
ID on wrapper should work now.

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

17 years agoSmall Javadoc issue fixed.
Jeremias Maerki [Wed, 16 May 2007 09:57:47 +0000 (09:57 +0000)]
Small Javadoc issue fixed.

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

17 years agoExtracted a little bit of the multi-output handling code from PNGRenderer in to a...
Jeremias Maerki [Wed, 16 May 2007 09:54:34 +0000 (09:54 +0000)]
Extracted a little bit of the multi-output handling code from PNGRenderer in to a new class (MultiFileRenderingUtil) for reuse in the SVGRenderer.
Minimal SVG rendering support using Batik's SVGGraphics2D

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

17 years agosetHyphenBaseURL() was missing.
Jeremias Maerki [Wed, 16 May 2007 08:49:48 +0000 (08:49 +0000)]
setHyphenBaseURL() was missing.

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

17 years agoFixing a problem with disappearing footnotes inside inlines when hyphenation is enabl...
Luca Furini [Tue, 15 May 2007 15:11:34 +0000 (15:11 +0000)]
Fixing a problem with disappearing footnotes inside inlines when hyphenation is enabled, and with disappearing footnotes whose inline child can be hyphenated (quite unlikely, but you never know ...).
As the FootnoteLM was completely "bypassed", it could not add the anchor in the getChangedKnuthElement() phase.
Testcase updated with an example of the "hyphenated inline child" case.

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

17 years agoBugfix: Integers were not correctly formatted in PDF. This fixes a problem with embed...
Jeremias Maerki [Fri, 11 May 2007 08:47:11 +0000 (08:47 +0000)]
Bugfix: Integers were not correctly formatted in PDF. This fixes a problem with embedded fonts.

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

17 years agoFixed default encoding problem.
Jeremias Maerki [Fri, 11 May 2007 07:00:46 +0000 (07:00 +0000)]
Fixed default encoding problem.
Submitted by: Jelka Kosir <jelka.kosir.at.atol.si>

Note by jeremias: I haven't found any information which encoding/charset should be used with basic authentication. RFC 2617 doesn't seem to address that. The behaviour for characters outside the US-ASCII (7bit) charset may not be as expected.

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

17 years agoArrayList -> List.
Jeremias Maerki [Mon, 7 May 2007 14:34:13 +0000 (14:34 +0000)]
ArrayList -> List.

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

17 years agoRemoved newly introduced dependency from the PDF library to the area tree.
Jeremias Maerki [Mon, 7 May 2007 14:30:23 +0000 (14:30 +0000)]
Removed newly introduced dependency from the PDF library to the area tree.
Removed PDFDocument.setHasDestinations() (PDFDocument knows that already).
Started to add some generic PDF data structures (array, dictionary).

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

17 years agoTestcase for bookmarks in the area tree.
Jeremias Maerki [Mon, 7 May 2007 12:22:58 +0000 (12:22 +0000)]
Testcase for bookmarks in the area tree.

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

17 years agoBugzilla #42067:
Jeremias Maerki [Mon, 7 May 2007 12:22:22 +0000 (12:22 +0000)]
Bugzilla #42067:
Add support for exact positioning of internal PDF links.
Submitted by: Paul Vinkenoog <paul.at.vinkenoog.nl>

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

17 years agoI've finally setup a local test project using Maven, so I can properly test the Maven...
Jeremias Maerki [Sat, 5 May 2007 22:07:56 +0000 (22:07 +0000)]
I've finally setup a local test project using Maven, so I can properly test the Maven artifacts. Turns out, another two small changes are necessary.

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

17 years agoAvoid dependency on FOP 0.20.5 from the Batik 1.6 transcoder.
Jeremias Maerki [Fri, 4 May 2007 07:45:03 +0000 (07:45 +0000)]
Avoid dependency on FOP 0.20.5 from the Batik 1.6 transcoder.
Adjust avalon-framework-impl to an actually available version.
Submitted by: Lars Trieloff <lars.trieloff.at.mindquarry.com>

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

17 years agoAdded Maven artifact building following the same pattern as in XML Graphics Commons.
Jeremias Maerki [Thu, 3 May 2007 08:14:12 +0000 (08:14 +0000)]
Added Maven artifact building following the same pattern as in XML Graphics Commons.

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

17 years agoReworded requirements slightly to make it more clear to people switching from 0.20...
Jeremias Maerki [Tue, 1 May 2007 10:14:06 +0000 (10:14 +0000)]
Reworded requirements slightly to make it more clear to people switching from 0.20.5 to 0.93 (thanks for the hint, Henning).

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

17 years agoBugzilla #41434:
Jeremias Maerki [Tue, 1 May 2007 09:41:05 +0000 (09:41 +0000)]
Bugzilla #41434:
Fix PDF Genaration for non-ASCII compatible locales.
Submitted by: Martin Kögler <martin.koegler.at.brz.gv.at>

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

17 years agoBugfixes:
Vincent Hennebert [Mon, 30 Apr 2007 16:30:49 +0000 (16:30 +0000)]
Bugfixes:
- NPE when break-before is set on the first row of a table with headers
- NPE when break-after is set on the last row of a table with headers or footers
- Invalid break class exception when break-after is set on the last block of a cell in the last row of a table
- double page break when break-before is set both on a table and its first row

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

17 years agoFix a NPE when break-before is specified on the first row of a table, and when that...
Vincent Hennebert [Thu, 26 Apr 2007 15:32:37 +0000 (15:32 +0000)]
Fix a NPE when break-before is specified on the first row of a table, and when that row contains a row-spanning cell.

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

17 years agoAdd check for the number of pages
Vincent Hennebert [Thu, 26 Apr 2007 15:21:38 +0000 (15:21 +0000)]
Add check for the number of pages

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

17 years agoFix spelling error in svn:keywords property
Vincent Hennebert [Thu, 26 Apr 2007 15:11:08 +0000 (15:11 +0000)]
Fix spelling error in svn:keywords property

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

17 years agoMake keep-with-next and keep-with-previous work on fo:table
Vincent Hennebert [Thu, 26 Apr 2007 14:20:04 +0000 (14:20 +0000)]
Make keep-with-next and keep-with-previous work on fo:table

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

17 years agoForgot checks for the second table's IPDs
Vincent Hennebert [Tue, 24 Apr 2007 07:37:00 +0000 (07:37 +0000)]
Forgot checks for the second table's IPDs

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

17 years ago"Exhaustive" testcase for border resolution in the collapsing-border model
Vincent Hennebert [Tue, 24 Apr 2007 07:23:46 +0000 (07:23 +0000)]
"Exhaustive" testcase for border resolution in the collapsing-border model

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

17 years agoFirst testcases for the collapsing-border model in tables
Vincent Hennebert [Fri, 20 Apr 2007 19:18:02 +0000 (19:18 +0000)]
First testcases for the collapsing-border model in tables

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

17 years agoFix the handling of padding for spanning cells in the collapsing-border model
Vincent Hennebert [Fri, 20 Apr 2007 19:09:51 +0000 (19:09 +0000)]
Fix the handling of padding for spanning cells in the collapsing-border model

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

17 years agoOf course the painting of table borders in the collapsing model is due to Jeremias...
Vincent Hennebert [Fri, 20 Apr 2007 19:09:04 +0000 (19:09 +0000)]
Of course the painting of table borders in the collapsing model is due to Jeremias. Damn me for not thinking of that in the previous commit.

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

17 years agoTime to enable border-collapse="collapse"
Vincent Hennebert [Fri, 20 Apr 2007 10:21:19 +0000 (10:21 +0000)]
Time to enable border-collapse="collapse"

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

17 years agoFix the computation of cells' IPD when they contain children with forced breaks.
Vincent Hennebert [Fri, 20 Apr 2007 10:00:05 +0000 (10:00 +0000)]
Fix the computation of cells' IPD when they contain children with forced breaks.
In such cases TableCellLM.getNextKnuthElements was called several times, and thus the borders/paddings of the cell were substracted several times from the IPD.

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

17 years agoMove out all statistics/debug related code into an inner Statistics class.
Vincent Hennebert [Fri, 20 Apr 2007 08:04:55 +0000 (08:04 +0000)]
Move out all statistics/debug related code into an inner Statistics class.
Patch submitted by Adrian Cumiskey (fop-dev AT cumiskey DOT com)

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

17 years agoI messed up the RDF. Fixed now.
Jeremias Maerki [Fri, 20 Apr 2007 07:50:40 +0000 (07:50 +0000)]
I messed up the RDF. Fixed now.

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

17 years agoBugfix: update dx also for grid units having no border, in the addAreas method
Vincent Hennebert [Thu, 19 Apr 2007 16:10:14 +0000 (16:10 +0000)]
Bugfix: update dx also for grid units having no border, in the addAreas method

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

17 years ago- remove call to addPadding in TraitSetter.addCollapsingBorders
Vincent Hennebert [Thu, 19 Apr 2007 15:12:50 +0000 (15:12 +0000)]
- remove call to addPadding in TraitSetter.addCollapsingBorders
- make the call explicit in TableCellLM, only when necessary. That is, areas holding borders for spanning cells in collapsing mode don't need to have padding set

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

17 years agoFix the handling of forced breaks which were sometimes counted twice.
Vincent Hennebert [Wed, 18 Apr 2007 14:39:59 +0000 (14:39 +0000)]
Fix the handling of forced breaks which were sometimes counted twice.

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

17 years agoExtract the logic for advancing to the next grid row, from the getNextStep method...
Vincent Hennebert [Wed, 18 Apr 2007 09:00:53 +0000 (09:00 +0000)]
Extract the logic for advancing to the next grid row, from the getNextStep method to a new one.

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

17 years ago... and correct the test for early returning if stepFound is false
Vincent Hennebert [Wed, 18 Apr 2007 08:52:56 +0000 (08:52 +0000)]
... and correct the test for early returning if stepFound is false

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

17 years agoReplace the seqCount integer with a stepFound boolean in the getNextStep method
Vincent Hennebert [Wed, 18 Apr 2007 08:48:58 +0000 (08:48 +0000)]
Replace the seqCount integer with a stepFound boolean in the getNextStep method

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

17 years agoReplace the array of forced breaks with a single boolean, which should be enough.
Vincent Hennebert [Wed, 18 Apr 2007 08:46:58 +0000 (08:46 +0000)]
Replace the array of forced breaks with a single boolean, which should be enough.

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

17 years ago- add a columnCount field for clarity
Vincent Hennebert [Tue, 17 Apr 2007 16:44:57 +0000 (16:44 +0000)]
- add a columnCount field for clarity
- remove unneeded parameter from the getNextStep method

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

17 years agoMake the fop.layoutengine.disabled property work with fop.layoutengine.starts-with
Vincent Hennebert [Tue, 17 Apr 2007 16:21:45 +0000 (16:21 +0000)]
Make the fop.layoutengine.disabled property work with fop.layoutengine.starts-with

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

17 years agoStyle only: fix indentation
Vincent Hennebert [Tue, 17 Apr 2007 09:44:47 +0000 (09:44 +0000)]
Style only: fix indentation

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