aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* File missing from http://svn.apache.org/viewcvs?rev=374174&view=rev... ↵Andreas L. Delmelle2006-02-021-3/+5
| | | | | | Thanks, Manuel! :-) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374541 13f79535-47bb-0310-9956-ffa450edef68
* We forgot to update the header and footer of the download mirror page.Jeremias Maerki2006-02-021-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374512 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38453:Jeremias Maerki2006-02-021-51/+54
| | | | | | | Bugfix: Text-decoration was not promoted if no text-decoration attribute was specified on a nested element. Nice side-effect: more efficient evaluation of text-decoration. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374425 13f79535-47bb-0310-9956-ffa450edef68
* Don't swallow characters if the handler does not implement LexicalHandler.Jeremias Maerki2006-02-021-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374312 13f79535-47bb-0310-9956-ffa450edef68
* Better naming of the relases.Jeremias Maerki2006-02-021-2/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374300 13f79535-47bb-0310-9956-ffa450edef68
* fo:wrapper has restrictions.Jeremias Maerki2006-02-021-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374298 13f79535-47bb-0310-9956-ffa450edef68
* Further fine-tuning of white-space-handling during refinementAndreas L. Delmelle2006-02-012-68/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374174 13f79535-47bb-0310-9956-ffa450edef68
* Implementation for from-table-column(). See: bugzilla 38282Andreas L. Delmelle2006-01-3110-74/+186
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@373922 13f79535-47bb-0310-9956-ffa450edef68
* Here's why forcing to border-collapse="separate" on fo:table didn't work. D'oh!Jeremias Maerki2006-01-312-22/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@373761 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38434: Jeremias Maerki2006-01-301-1/+1
| | | | | | | Restore JDK 1.3.1 compatibility. Submitted by: Jelka Kosir <jelka.kosir.at.atol.si> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@373469 13f79535-47bb-0310-9956-ffa450edef68
* An addition to FOP that can be used to render a hyphenation tree inSimon Pepping2006-01-281-4/+4
| | | | | | | | various ways, among which a complete tree representation. And correction of a few typos in HyphenationTree. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@373170 13f79535-47bb-0310-9956-ffa450edef68
* Change TransformerHandler to ContentHandler. Use comment method whenSimon Pepping2006-01-271-1/+19
| | | | | | | available. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372971 13f79535-47bb-0310-9956-ffa450edef68
* RTF: testcase 'tableunits.fo' failed because there was no PercentBaseContext ↵Peter Herweg2006-01-271-1/+12
| | | | | | passed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372916 13f79535-47bb-0310-9956-ffa450edef68
* TransformerHandler changed to ContentHandler to allow easier integration of ↵Chris Bowditch2006-01-272-73/+65
| | | | | | XML Renderer to a SAX Events chain git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372914 13f79535-47bb-0310-9956-ffa450edef68
* Added safe-guard against reuse to avoid problems with the renderers. Jeremias Maerki2006-01-271-9/+9
| | | | | | Removed reset() method. Compared to the many hundred object instances that get created by the FO tree and layout engine, the Fop and FOTreeBuilder instance are negligible. Better keep the API as simple as possible and create an environmental class in the long run. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372880 13f79535-47bb-0310-9956-ffa450edef68
* Don't swallow the stack trace. Jeremias Maerki2006-01-261-10/+10
| | | | | | Handle the case when the image cannot be found and don't throw an NPE in that case. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372518 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38397: Jeremias Maerki2006-01-261-6/+23
| | | | | | Bugfix: Spanned cells could lead to an false error message about overlapping cells and ultimately a NullPointerException. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372504 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #37506: Jeremias Maerki2006-01-253-161/+121
| | | | | | | | Extracted a base class for both PFMReader and TTFReader to remove duplicate code. Submitted by: Kev Jackson <kevin.jackson.at.it.fts-vn.com> (Patch applied with changes: escape method removed, tabs removed, javadocs added) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372317 13f79535-47bb-0310-9956-ffa450edef68
* Corrected the about of the project and some XML and URI errors, andSimon Pepping2006-01-251-4/+11
| | | | | | | added the unstable version. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372307 13f79535-47bb-0310-9956-ffa450edef68
* added support for number-columns-spanned and number-rows-spanned in the same ↵Peter Herweg2006-01-254-26/+124
| | | | | | cell git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372292 13f79535-47bb-0310-9956-ffa450edef68
* To avoid NPEs due to my latest fix, use the default simple-page-master from ↵Jeremias Maerki2006-01-251-7/+21
| | | | | | the page-sequence-master if one is used. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372220 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Regions with non-standard names got ignored in RTF output leading to ↵Jeremias Maerki2006-01-251-14/+42
| | | | | | missing headers and footers. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372214 13f79535-47bb-0310-9956-ffa450edef68
* Avoid NPE when a malformed command-line is specified.Jeremias Maerki2006-01-251-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372180 13f79535-47bb-0310-9956-ffa450edef68
* My last change broke the test suite. Fix included. The start-indent should ↵Jeremias Maerki2006-01-252-7/+11
| | | | | | not be added to the area tree XML when it is zero. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372175 13f79535-47bb-0310-9956-ffa450edef68
* Removed old doap.xml file. Clay Leeds2006-01-241-95/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372018 13f79535-47bb-0310-9956-ffa450edef68
* Following the model of Graphics2DAdapter, added a new interface ImageAdapter ↵Jeremias Maerki2006-01-245-18/+203
| | | | | | which can optionally be implemented by Renderers to support painting of RenderedImage or BufferedImage instances from inside XMLHandler implementations. First implementation by the PSRenderer. Barcode4J is going to be extended to use this interface so barcode support can easily be added to the AFP Renderer without having a Graphics2D implementation at first. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372004 13f79535-47bb-0310-9956-ffa450edef68
* just a few changes in order to satisfy checkstylePeter Herweg2006-01-244-20/+104
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@371989 13f79535-47bb-0310-9956-ffa450edef68
* Command-line support for the intermediate format: Use "-atin" to specify an ↵Jeremias Maerki2006-01-2411-93/+254
| | | | | | | | area tree XML file. Refactoring of the InputHandler to accomodate the IF as input format and to make responsibilities clearer in general. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@371922 13f79535-47bb-0310-9956-ffa450edef68
* Fix for NPE when the AWT Viewer is used with an area tree file as input.Jeremias Maerki2006-01-241-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@371919 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: LineArea used a private field instead of the start-indent trait ↵Jeremias Maerki2006-01-242-26/+11
| | | | | | which caused problems for centered and right-aligned text when rendering is done from the intermediate format. The AreaTreeParser parses and sets the trait but not the startIndent field on LineArea, so I removed the startIndent field. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@371912 13f79535-47bb-0310-9956-ffa450edef68
* Documented the special configuration options for the PDF and PS renderers.Jeremias Maerki2006-01-241-0/+49
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@371865 13f79535-47bb-0310-9956-ffa450edef68
* Resurrect the getter/setter for the "auto-rotate-landscape" setting.Jeremias Maerki2006-01-241-0/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@371860 13f79535-47bb-0310-9956-ffa450edef68
* number-columns-spanned did not work in last row of a cell. Fixed.Peter Herweg2006-01-235-67/+143
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@371684 13f79535-47bb-0310-9956-ffa450edef68
* Added categories for FOPClay Leeds2006-01-211-0/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@370954 13f79535-47bb-0310-9956-ffa450edef68
* The resolution of the bounding box (pts as integers) is too low for ↵Jeremias Maerki2006-01-201-1/+1
| | | | | | barcodes. Once the EPSReader can load the HiResBoundingBox this is also useful. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@370821 13f79535-47bb-0310-9956-ffa450edef68
* (Re?)added integer page number to the PageViewport.Jeremias Maerki2006-01-2010-74/+118
| | | | | | | | Serializing both the integer and the formatted value to the area tree XML. In the XML "nr" is now "formatted-nr" and "nr" is now the integer value. This doesn't have any impact on our layout engine tests as we don't seem to use a non-default for page numbers. Make the current PageViewport available to XMLHandler through the RenderContext. I need this for Barcode4J so the current page number can be used as part of a barcode message. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@370801 13f79535-47bb-0310-9956-ffa450edef68
* RTF output did not generate the "\landscape" tag when necessary.Jeremias Maerki2006-01-202-10/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@370798 13f79535-47bb-0310-9956-ffa450edef68
* Following a clarification by the XSL FO SG, space traits are only set on the ↵Jeremias Maerki2006-01-196-44/+26
| | | | | | | | | | first and last area generated by an FO, and not on every area anymore. For details, see: http://wiki.apache.org/xmlgraphics-fop/XslFoSpecificationUncertainties/SpaceTraits Note: this change brings another issue in column balancing to light. That's the reason for disabling one of the tests. I wasn't able to find a quick fix there. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@370494 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a few omissions after the API change.Jeremias Maerki2006-01-196-8/+8
| | | | | | Thanks to Sébastien Devaux for the hint. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@370454 13f79535-47bb-0310-9956-ffa450edef68
* New interface XMLizable (copied from Apache Excalibur) to mark classes that ↵Jeremias Maerki2006-01-1910-8/+497
| | | | | | | | | | | can serialize themselves to XML (SAX stream). New interface ContentHandlerFactory (plus associated Factory with Service discovery) for sub-document parsing plug-ins. Used by the area tree but could be used independently. ExtensionAttachments are now part of the area tree and are written by XMLRenderer and parsed by AreaTreeParser. The PS Extensions are extended to support serialization to and deserialization from XML. Added a test case that tests the PS Extension WRT the handling in the area tree XML. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@370452 13f79535-47bb-0310-9956-ffa450edef68
* Initial documentation for the intermediate format.Jeremias Maerki2006-01-172-0/+139
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@369781 13f79535-47bb-0310-9956-ffa450edef68
* New feature: "Intermediate format" (IF). The IF is basically the XML dialect ↵Jeremias Maerki2006-01-1726-252/+1433
| | | | | | | | | | | | | | | | | | | | | | | | | | written by the area tree renderer (XMLRenderer). A new parser for this format allows reparsing a serialized and possibly modified area tree and rendering it to the final target format. More details on the Wiki at http://wiki.apache.org/xmlgraphics-fop/AreaTreeIntermediateXml. No advanced features have been implemented, yet, only the basic functionality. The whole change should be fully backwards-compatible WRT the outer FOP API except maybe for FOTreeBuilder.addElementMapping(), and the area tree XML which got small changes. The area tree has been cleaned up. The serializability has been restored. The CachedRenderPagesModel works again and can, in certain situations, decrease the maximum amount of memory held at one point in time. Some adjustments were necessary in the area tree to help the work of the AreaTreeParser. The AreaTreeParser is new and is responsible for parsing area tree XML files and adding pages to a RenderPagesModel instance. It is SAX-based and should be pretty efficient. XMLUnit (http://xmlunit.sourceforge.net, BSD license) is a new dependency for the test code. It is used to verify the correctness of the intermediate format code. It doesn't have to be installed for the build to run through, though. ElementMapping got a new method getDOMImplementation() which provides the DOMImplementation used to handle a subdocument of a particular namespace. For example, SVG uses Batik's SVG DOM. The AreaTreeParser needs that to properly recreate foreign objects because it can't use the mechanism of the FO tree. The default implementation returns null. The ElementMapping instances are no longer maintained by the FOTreeBuilder, but by the newly created ElementMappingRegistry class. It is expected that the instance of this class is moved from the FOTreeBuilder and the AreaTreeParser's Handler class to the "environment class" once it is created to cut down on the startup time for each processed document. The XMLRenderer has been slightly modified to improve the serialization/deserialization qualities of the area tree XML format. The XMLRenderer can now mimic another renderer (see mimicRenderer(Renderer)) in order to use its font setup. That way it is made certain that the reparsed area tree will render to the final target format exactly as expected. Fixed a bug in the XMLHandlerRegistry which did not always return the right XMLHandler for every situation. Added a DefaultErrorListener to the util package. I've had problems with Xalan-J swallowing exceptions with its default ErrorListener, so I added a simple one for convenience and use in AreaTreeParser. Example code for working with the AreaTreeParser can be found in examples/embedding. Documentation will follow. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@369753 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a small mistake on the servlet page.Jeremias Maerki2006-01-162-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@369534 13f79535-47bb-0310-9956-ffa450edef68
* Code conventions please! No tab characters, spacing etc.Jeremias Maerki2006-01-164-139/+135
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@369410 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Floating point numbers were not properly formatted in the PDF ↵Jeremias Maerki2006-01-161-218/+107
| | | | | | renderer which could lead to error messages while opening a PDF in Acrobat Reader. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@369407 13f79535-47bb-0310-9956-ffa450edef68
* FAQ entry for the "indent inheritance problem".Jeremias Maerki2006-01-161-1/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@369400 13f79535-47bb-0310-9956-ffa450edef68
* RTF: call startListBody and endListBodyPeter Herweg2006-01-151-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@369239 13f79535-47bb-0310-9956-ffa450edef68
* RTF: support for nested tablesPeter Herweg2006-01-153-115/+151
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@369237 13f79535-47bb-0310-9956-ffa450edef68
* support for background-color at fo:tablePeter Herweg2006-01-151-1/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@369235 13f79535-47bb-0310-9956-ffa450edef68
* Remove 2005 from the copyright years of appropriate files committed inSimon Pepping2006-01-145-5/+5
| | | | | | | | revision 368462. Update the changes document with the change of that commit. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@369078 13f79535-47bb-0310-9956-ffa450edef68