aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org
Commit message (Collapse)AuthorAgeFilesLines
* Use a list of active cells for computing steps, continued:Vincent Hennebert2007-07-091-59/+56
| | | | | | | | | - 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
* Also display the width of the penalty in the toString methodVincent Hennebert2007-07-091-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@554689 13f79535-47bb-0310-9956-ffa450edef68
* Fix build errors after revision 554251.Jeremias Maerki2007-07-091-6/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@554551 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 42785: Support alignment-adjust for images (submitted by Max Berger)Andreas L. Delmelle2007-07-086-3/+62
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@554423 13f79535-47bb-0310-9956-ffa450edef68
* Partial application of the patch in Bugzilla 41044:Andreas L. Delmelle2007-07-0714-68/+235
| | | | | | | | | | | * 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
* Bugzilla 42832: Fix in AWT preview if used with non-english locale (offered ↵Andreas L. Delmelle2007-07-071-2/+4
| | | | | | by Max Berger) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@554240 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 41656:Andreas L. Delmelle2007-07-0721-217/+380
| | | | | | | | | | | | | 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
* Bugzilla 42089: Cleanup and restructuring (suggested by Adrian Cumiskey)Andreas L. Delmelle2007-07-0741-1283/+1298
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@554094 13f79535-47bb-0310-9956-ffa450edef68
* Removal of unused classes ?Andreas L. Delmelle2007-07-062-625/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@554092 13f79535-47bb-0310-9956-ffa450edef68
* Tweak: allow control over usage of LocatorsAndreas L. Delmelle2007-07-062-4/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@554091 13f79535-47bb-0310-9956-ffa450edef68
* Improvement in handling relative font-weightsAndreas L. Delmelle2007-07-062-17/+141
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@554088 13f79535-47bb-0310-9956-ffa450edef68
* Improvement in handling relative font-weightsAndreas L. Delmelle2007-07-061-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@554087 13f79535-47bb-0310-9956-ffa450edef68
* Cleaner way to handle border-separation in ActiveCellVincent Hennebert2007-07-061-11/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@553895 13f79535-47bb-0310-9956-ffa450edef68
* Add a signalMinStep method in ActiveCellVincent Hennebert2007-07-061-18/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@553878 13f79535-47bb-0310-9956-ffa450edef68
* Move the getNextStep method into ActiveCellVincent Hennebert2007-07-061-86/+65
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@553876 13f79535-47bb-0310-9956-ffa450edef68
* Remove decrease of activeRowIndex when backtrackingVincent Hennebert2007-07-061-10/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@553809 13f79535-47bb-0310-9956-ffa450edef68
* Organize imports and remove no longer used methodsVincent Hennebert2007-07-061-15/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@553792 13f79535-47bb-0310-9956-ffa450edef68
* First step towards using a list of active cells for computing stepsVincent Hennebert2007-07-062-260/+226
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@553790 13f79535-47bb-0310-9956-ffa450edef68
* Fix for a tiny but very nasty bug...Andreas L. Delmelle2007-07-051-18/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@553612 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #42278:Jeremias Maerki2007-06-297-253/+595
| | | | | | | | | | | | | 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
* Bugzilla 42703: white-space incorrectly handled in retrieved markersAndreas L. Delmelle2007-06-231-12/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@550098 13f79535-47bb-0310-9956-ffa450edef68
* Updated PDF/A-1b support according to ISO-19005-1:2005/Cor.1:2007.Jeremias Maerki2007-06-221-19/+11
| | | | | | | | 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
* Bugzilla #42576Chris Bowditch2007-06-223-14/+29
| | | | | | | 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
* Bug #42476:Vincent Hennebert2007-05-294-59/+66
| | | | | | | | | | | - 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
* Discover the .otf font extension (OpenType fonts), too.Jeremias Maerki2007-05-281-5/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@542242 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #41831:Jeremias Maerki2007-05-2874-1319/+3537
| | | | | | | | | | | | | | | | | | | | - 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
* Checkstyle only.Jeremias Maerki2007-05-251-7/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@541628 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #42406: Jeremias Maerki2007-05-215-41/+34
| | | | | | | 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
* Bugzilla #42109: Jeremias Maerki2007-05-213-12/+26
| | | | | | | 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
* PFMFile is now also used inside FOP's normal operations, so don't log too ↵Jeremias Maerki2007-05-211-2/+2
| | | | | | much in "info" level. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@540042 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #42067: Jeremias Maerki2007-05-211-1/+2
| | | | | | | 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
* Bugzilla #42067: Jeremias Maerki2007-05-181-7/+4
| | | | | | | 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
* Bugfix for ClassCastException with spaces inside a table-cell (using ↵Jeremias Maerki2007-05-171-4/+9
| | | | | | fox:widow/orphan-content-limit) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@538849 13f79535-47bb-0310-9956-ffa450edef68
* Small Javadoc issue fixed.Jeremias Maerki2007-05-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@538509 13f79535-47bb-0310-9956-ffa450edef68
* Extracted a little bit of the multi-output handling code from PNGRenderer in ↵Jeremias Maerki2007-05-162-85/+107
| | | | | | | | 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
* Fixing a problem with disappearing footnotes inside inlines when hyphenation ↵Luca Furini2007-05-151-54/+71
| | | | | | | | | 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
* Bugfix: Integers were not correctly formatted in PDF. This fixes a problem ↵Jeremias Maerki2007-05-113-10/+17
| | | | | | with embedded fonts. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@537129 13f79535-47bb-0310-9956-ffa450edef68
* Fixed default encoding problem. Jeremias Maerki2007-05-111-2/+3
| | | | | | | | 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
* ArrayList -> List.Jeremias Maerki2007-05-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@535885 13f79535-47bb-0310-9956-ffa450edef68
* Removed newly introduced dependency from the PDF library to the area tree.Jeremias Maerki2007-05-0719-374/+686
| | | | | | | 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
* Bugzilla #42067:Jeremias Maerki2007-05-0714-247/+1081
| | | | | | | 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
* Bugzilla #41434:Jeremias Maerki2007-05-013-5/+5
| | | | | | | 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
* Bugfixes:Vincent Hennebert2007-04-303-66/+48
| | | | | | | | | | - 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
* Fix a NPE when break-before is specified on the first row of a table, and ↵Vincent Hennebert2007-04-262-16/+2
| | | | | | 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
* Make keep-with-next and keep-with-previous work on fo:tableVincent Hennebert2007-04-261-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@532754 13f79535-47bb-0310-9956-ffa450edef68
* Fix the handling of padding for spanning cells in the collapsing-border modelVincent Hennebert2007-04-201-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530887 13f79535-47bb-0310-9956-ffa450edef68
* Time to enable border-collapse="collapse"Vincent Hennebert2007-04-201-7/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530727 13f79535-47bb-0310-9956-ffa450edef68
* Fix the computation of cells' IPD when they contain children with forced breaks.Vincent Hennebert2007-04-202-71/+50
| | | | | | | 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
* Move out all statistics/debug related code into an inner Statistics class.Vincent Hennebert2007-04-201-122/+153
| | | | | | | 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
* Bugfix: update dx also for grid units having no border, in the addAreas methodVincent Hennebert2007-04-191-31/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530469 13f79535-47bb-0310-9956-ffa450edef68