aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org
Commit message (Collapse)AuthorAgeFilesLines
...
* Initial work on enhancing the extension facilities to register special ↵Jeremias Maerki2005-09-0221-164/+883
| | | | | | | | | | | | | | extensions which create so-called ExtensionAttachment objects which are attached to the formatting object they are attached to. These objects can be evaluated by standard or custom layout managers or simply passed through to the area tree (the latter is NYI). The AreaTreeHandler currently takes ExtensionAttachment objects from fo:root and fo:declarations and wraps them in OffDocumentItems that Renderers can react on to provide additional functionality on document-level (like PDF metadata or PostScript media dictionaries). Since the simple-page-master is available directly from the PageViewport the renderer can take ExtensionAttachment objects directly from there (see PSRenderer.renderPage()). Extension Elements that provide ExtensionAttachments are not added as such to the child element list of a formatting object since they work a little differently and should free memory as soon as possible. The PostScript extension described in http://wiki.apache.org/xmlgraphics-fop/ExtensionsForPostScript are now fully implemented but under the namespace URI "http://xmlgraphics.apache.org/fop/postscript", not "http://xml.apache.org/fop/extensions". I'll need to look at namespaces again separately, later. The new PSExtensionElementMapping is currently hard-coded into FOTreeBuilder as are the other ElementMapping classes. OffDocumentItem is now an interface, AbstractOffDocumentItem now providing the base functionality of the former OffDocumentItem class. Lots of clean-up and javadocs while working through this, for example: FObj.childNodes is not public anymore. Instead a special method on fo.flow.InstreamForeignObject provides the child in the one case childNodes was directly accessed. PropertyMaker access in FObj is also done through a method now, propertyListTable is now private. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@267209 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup of unused imports.Finn Bock2005-09-0124-41/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265738 13f79535-47bb-0310-9956-ffa450edef68
* Been careless again, sorry.Jeremias Maerki2005-09-011-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265689 13f79535-47bb-0310-9956-ffa450edef68
* PDFNumber.doubleOut() rewritten using java.text.DecimalFormat. Jeremias Maerki2005-09-011-52/+28
| | | | | | | This fixes a bug of doubleOut() not recognizing the scientific format sometimes returned by Double.toString(double). This change may result in slightly different value being written to the PDF stream. The former doubleOut contained specific code to do special rounding where the new method using DecimalFormat implicitly uses the BigDecimal.ROUND_HALF_EVEN strategy when rounding. These different values hopefully won't make a big visual difference. They don't in my tests. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265688 13f79535-47bb-0310-9956-ffa450edef68
* An additional comment so this line will not be activated accidentally. The ↵Jeremias Maerki2005-09-011-0/+1
| | | | | | | | problem was a backwards-incompatible chnage in Batik for which a patch has been submitted: http://issues.apache.org/bugzilla/show_bug.cgi?id=36455 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265675 13f79535-47bb-0310-9956-ffa450edef68
* Reverting my earlier change to make FOP compile with Batik 1.6 again. I'm ↵Jeremias Maerki2005-09-011-1/+1
| | | | | | investigating this problem further. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265663 13f79535-47bb-0310-9956-ffa450edef68
* Fixed copyright year.Finn Bock2005-09-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265657 13f79535-47bb-0310-9956-ffa450edef68
* Fixed license blurb.Finn Bock2005-08-311-7/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265581 13f79535-47bb-0310-9956-ffa450edef68
* Fix a compile conflict with BlockStackingLayoutManager.Finn Bock2005-08-311-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265580 13f79535-47bb-0310-9956-ffa450edef68
* Set not only the base URL for the SVG Document but also the URI. Otherwise, ↵Jeremias Maerki2005-08-311-1/+3
| | | | | | relatively referenced documents or images inside an SVG defined in a fo:instream-foreign-object don't get resolved. This fixes certain problems with examples/fo/svg/external.fo. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265578 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36379:Finn Bock2005-08-3179-837/+2517
| | | | | | | | | | | | Revised percentage resolution system. Submitted by: Manuel Mall <mm.at.arcus.com.au> Slightly modified to avoid early evaluation of getValue(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265577 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36432: Jeremias Maerki2005-08-312-1/+14
| | | | | | | | | | | | | JAI image does not release all resources - reported by Stephen Denne - thanks! When loading an image provider whose support libraries are missing an exception is thrown which should really only be a warning and the next provider be tried. Submitted by: Manuel Mall <mm.at.arcus.com.au> Changes to the patch by JM: Log level for the warning changed to debug() because the binary distribution is compiled with JAI and JIMI support and this will cause a lot of inappropriate warnings for people just happy with ImageIO images. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264978 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36418: Jeremias Maerki2005-08-311-4/+7
| | | | | | | Documentation update for the "reload" change in the AWT Viewer. Submitted by: Richard Wheeldon <richardw.at.geoquip-rnd.demon.co.uk> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264974 13f79535-47bb-0310-9956-ffa450edef68
* Fixed the use of Length property for baseline-shift.Finn Bock2005-08-302-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264890 13f79535-47bb-0310-9956-ffa450edef68
* added support for superscript and subscriptPeter Herweg2005-08-301-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264863 13f79535-47bb-0310-9956-ffa450edef68
* added support for superscript and subscriptPeter Herweg2005-08-302-2/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264856 13f79535-47bb-0310-9956-ffa450edef68
* Harmonization between the two Graphics2D implementations. Clipping is done ↵Jeremias Maerki2005-08-302-23/+32
| | | | | | | | after the transform. All path iterators use an identity transform which makes the PDF/PS code more readable and usually smaller. Added missing support for non-zero winding rule in PSGraphics2D. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264837 13f79535-47bb-0310-9956-ffa450edef68
* Removed unnecessary comments.Jeremias Maerki2005-08-301-8/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264834 13f79535-47bb-0310-9956-ffa450edef68
* Some clean-up.Jeremias Maerki2005-08-301-9/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264833 13f79535-47bb-0310-9956-ffa450edef68
* Write to log output (debug level) which image source is used to load an image.Jeremias Maerki2005-08-301-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264824 13f79535-47bb-0310-9956-ffa450edef68
* Fix for text-align2.xml (for real now). The alignment used to set up the ↵Jeremias Maerki2005-08-301-5/+11
| | | | | | element list was not properly determined. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264797 13f79535-47bb-0310-9956-ffa450edef68
* Fix for ClassCastException as shown in text-align2 (Reported by Lawrence ↵Jeremias Maerki2005-08-301-3/+2
| | | | | | | | Michel). Wrong alignment was taken to remove trailing spaces. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264773 13f79535-47bb-0310-9956-ffa450edef68
* added support for text-decorationPeter Herweg2005-08-293-46/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264639 13f79535-47bb-0310-9956-ffa450edef68
* Moved renderInlineBlockParent() up to the superclass. Fixes border and ↵Jeremias Maerki2005-08-292-12/+12
| | | | | | background painting for inline block parents in PostScript. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264147 13f79535-47bb-0310-9956-ffa450edef68
* Fixed the page coordinate system for the PDF Renderer (Defect: Rounding and ↵Jeremias Maerki2005-08-292-24/+46
| | | | | | rounding errors). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264145 13f79535-47bb-0310-9956-ffa450edef68
* Character positioning array can easily become too long so break them after ↵Jeremias Maerki2005-08-291-1/+5
| | | | | | every eigth value. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264130 13f79535-47bb-0310-9956-ffa450edef68
* Background trait's toString() streamlined. Test cases adjusted accordingly. Jeremias Maerki2005-08-291-7/+23
| | | | | | | Test cases without checks will fail from now on!!! Checks for certain test cases and the others are added to the disabled list. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264120 13f79535-47bb-0310-9956-ffa450edef68
* Made the warnings more verbose.Jeremias Maerki2005-08-291-3/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264117 13f79535-47bb-0310-9956-ffa450edef68
* Set the background traits after the BPD and IPD are set.Jeremias Maerki2005-08-291-7/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264116 13f79535-47bb-0310-9956-ffa450edef68
* Set the background traits after the BPD and IPD are set.Jeremias Maerki2005-08-291-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264115 13f79535-47bb-0310-9956-ffa450edef68
* Set the background a little later, after the IPD is set. A block area grows ↵Jeremias Maerki2005-08-291-2/+2
| | | | | | as necessary so this doesn't currently fix the problem that the background traits are set before the BPD is known. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264114 13f79535-47bb-0310-9956-ffa450edef68
* A little more debug output.Jeremias Maerki2005-08-291-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264113 13f79535-47bb-0310-9956-ffa450edef68
* Write the start-indent trait to the area tree XML.Jeremias Maerki2005-08-291-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264111 13f79535-47bb-0310-9956-ffa450edef68
* Added warning for non-standard fallbackAndreas L. Delmelle2005-08-281-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@263924 13f79535-47bb-0310-9956-ffa450edef68
* Added warning for unimplemented featureAndreas L. Delmelle2005-08-281-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@263923 13f79535-47bb-0310-9956-ffa450edef68
* RTF: borders had been too thick: divide by 50 to convert from millipoint to ↵Peter Herweg2005-08-281-1/+2
| | | | | | twips git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@263896 13f79535-47bb-0310-9956-ffa450edef68
* fixed support for basic-link; process table-footer only, if there is onePeter Herweg2005-08-281-7/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@263886 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36391: Jeremias Maerki2005-08-271-4/+7
| | | | | | | Fix for negative values for reference orientation. CTM was wrong. Submitted by: Yannick Valot <yvalot.at.gmail.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240459 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36394: Jeremias Maerki2005-08-271-0/+1
| | | | | | Bugfix for painting a single character. Text painting code was not enclosed in "BT" and "ET" commands. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240423 13f79535-47bb-0310-9956-ffa450edef68
* Bugfixes and code cleanup: Jeremias Maerki2005-08-261-136/+109
| | | | | | | | - processPathIterator method like in PSGraphics2D to reduce duplicate code. - draw() and fill() coding styles synchronized (which fixes a bug reported by Lawrence Michel) - Higher resolution for many (not all!) formatted doubles to address the problem reported by Martin Weindel in Bugzilla #35918. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240344 13f79535-47bb-0310-9956-ffa450edef68
* Fix problem with SVG painting. ET was not sent.Jeremias Maerki2005-08-261-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240266 13f79535-47bb-0310-9956-ffa450edef68
* Add support for character area.Jeremias Maerki2005-08-261-2/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240261 13f79535-47bb-0310-9956-ffa450edef68
* Common base class for TextArea and Character. These two might even be merged ↵Jeremias Maerki2005-08-264-77/+71
| | | | | | altogether. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240260 13f79535-47bb-0310-9956-ffa450edef68
* The necessary SVN properties.Jeremias Maerki2005-08-261-64/+64
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240183 13f79535-47bb-0310-9956-ffa450edef68
* Added support for table border-*-precedence properties in the tableFinn Bock2005-08-266-51/+55
| | | | | | | | fo objects. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240173 13f79535-47bb-0310-9956-ffa450edef68
* Removed debug output.Finn Bock2005-08-261-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240172 13f79535-47bb-0310-9956-ffa450edef68
* Initial version of a property maker that calculate default values for Finn Bock2005-08-261-0/+65
| | | | | | | | border-*-precedence. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240171 13f79535-47bb-0310-9956-ffa450edef68
* fixed support for tables and listsPeter Herweg2005-08-251-39/+81
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240144 13f79535-47bb-0310-9956-ffa450edef68
* Fix a bug where the specified value was inherite for percentages onFinn Bock2005-08-252-12/+4
| | | | | | | | line-height. It is only for numbers that the specified is inherited. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240118 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bug 35940Luca Furini2005-08-251-5/+41
| | | | | | Some more checks in order to remove all the elements representing trailing spaces at the end of a paragraph git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240050 13f79535-47bb-0310-9956-ffa450edef68