aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
Commit message (Collapse)AuthorAgeFilesLines
* Avoid painting empty rectangles because that can lead to unwanted artifacts.Jeremias Maerki2005-11-152-6/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@344330 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36480:Jeremias Maerki2005-11-144-12/+396
| | | | | | | Improved space-before/space-after support for RTF output. Fixes problems with space support in the existing code. Submitted by: Sergey Simonchik <Sergey.Simonchik.at.borland.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@344172 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #37330:Jeremias Maerki2005-11-141-2/+6
| | | | | | Fix for clipped text when painted through the PDF text bridge. The translation was in the wrong place and therefore had an effect on the clipping region. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@344148 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #37330: Jeremias Maerki2005-11-142-8/+36
| | | | | | | | | | | | 1) The jpeg registration now includes the hashCode in addition to the jpegCount as this prevents images being rused when multiple SVG fragments are included in a single FO. 2) Added a createBridgeContext to PDFBridgeContext so that 'sub contexts' (image element) inherit the new bridges. Submitted by: Thomas Deweese <deweese.at.apache.org> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@344130 13f79535-47bb-0310-9956-ffa450edef68
* Automated parameter rename failed because there was an instance variable ↵Jeremias Maerki2005-11-141-4/+4
| | | | | | called "e" which caused an NPE in examples/fo/build.xml on target "newPDF". git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@344125 13f79535-47bb-0310-9956-ffa450edef68
* Updated from Jakarta Commons IO 1.0 to 1.1. CopyUtils.copy() becomes ↵Jeremias Maerki2005-11-1445-290/+261
| | | | | | | | | IOUtils.copy() again. CopyUtils in 1.0 was not ideal design decision. Fixed most of the unappropriate System.err/System.out/Exception.printStackTrace(). Those that aren't fixed and are not legitimate calls (in main() methods etc.) are marked with a TODO item. Some Javadocs and style updates. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@344111 13f79535-47bb-0310-9956-ffa450edef68
* Correct a few more problems related to leaders: text-align was not handled ↵Manuel Mall2005-11-143-34/+83
| | | | | | correctly, use-content was drawing incorrect borders git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@344037 13f79535-47bb-0310-9956-ffa450edef68
* Disabled warning which are based on the containing reference area instead of ↵Jeremias Maerki2005-11-131-0/+14
| | | | | | the containing box. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@333059 13f79535-47bb-0310-9956-ffa450edef68
* Initial fix for examples/basic/leader.fo problemManuel Mall2005-11-132-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@333041 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for handling of percentage width and height inside block-containers. ↵Jeremias Maerki2005-11-131-23/+40
| | | | | | Fixes problem in examples/fo/basic/border.fo. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@333011 13f79535-47bb-0310-9956-ffa450edef68
* Use memory-optimized ByteArrayOutputStream from Commons IO instead of the ↵Jeremias Maerki2005-11-121-1/+1
| | | | | | dumb implementation from the JDK. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332793 13f79535-47bb-0310-9956-ffa450edef68
* Deprecated constructors Fop(int) and Fop(int, FOUserAgent).Jeremias Maerki2005-11-1211-111/+116
| | | | | | | | Deprecated Fop.getVersion() in favor for Version.getVersion(). Changed every place the newly deprecated methods were called. Ant task and TestConverter changed to fully use MIME types. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332791 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #37468:Jeremias Maerki2005-11-111-4/+1
| | | | | | Placement of flows in multi-column documents was wrong. The area tree is correct, however. Bug in AbstractRenderer. Simpler is sometimes better. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332614 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #37468:Jeremias Maerki2005-11-111-3/+5
| | | | | | Bugfix: A normal break inside a table resulted in the next part to be sent to the next page instead of the next flow. TableContentLayoutManager produces KnuthPenalties with breakClass=0. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332594 13f79535-47bb-0310-9956-ffa450edef68
* Minor corrections for jdk 1.3.1 compatibilityManuel Mall2005-11-112-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332584 13f79535-47bb-0310-9956-ffa450edef68
* Step 2/2:Jeremias Maerki2005-11-1115-1756/+0
| | | | | | Removing MIF, PCL and SVG after moving/copying them to the sandbox. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332576 13f79535-47bb-0310-9956-ffa450edef68
* Step 1 (SVN just doesn't want me to delete the old directories):Jeremias Maerki2005-11-111-3/+0
| | | | | | | | | Created sandbox area (src/sandbox). Moved MIF, PCL and SVG support to the sandbox due to their current state. Build adjusted to build a fop-sandbox.jar (the three moved renderers automatically get registered if they are in the classpath). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332575 13f79535-47bb-0310-9956-ffa450edef68
* Package description for the TXTRenderer's border package.Jeremias Maerki2005-11-111-0/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332570 13f79535-47bb-0310-9956-ffa450edef68
* Javadoc fixes.Jeremias Maerki2005-11-112-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332565 13f79535-47bb-0310-9956-ffa450edef68
* Fop.java gets two new constructors: Fop(String) and Fop(String, FOUserAgent) ↵Jeremias Maerki2005-11-1145-230/+1708
| | | | | | | | | | | | | | | | | | | | | | where the String is the MIME type for the desired output format. MimeConstants provides a comprehensive list of MIME types used in Fop.java. Non-standard, FOP-specific MIME types changed to a uniform pattern: application/X-fop-awt-preview, application/X-fop-print and application/X-fop-areatree. RendererFactory now supports manual registration and dynamic discovery of Renderers and FOEventHandlers by their MIME types. Instantitation is done using MIME types everywhere. The RENDER_* constants are mapped to MIME types in Fop.java. RendererFactory is now an instantiable class whose reference is held by FOUserAgent just like it is done for the XLMHandlers. Renderers and FOEventHandlers now each have a *Maker class which is a kind of factory class which is used to register a Renderer/FOEventHandler and additionally serves to provide additional information about the thing, such as the MIME types it supports and if the implementation requires an OutputStream. The command-line gets a new option: -out application/pdf myfile.pdf is the generic way to create an output file. If someone created a WordML output handler and provided the right service resource file he could specify "-out text/xml+msword out.xml". ".out list" lists all MIME types that are available for output. Renderers can now potionally expose a Graphics2DAdapter which in concert with Graphics2DImagePainter can be used by FOP extensions to paint their content directly using a Graphics2D instance. That makes it possible to avoid a detour via SVG/Batik in certain cases. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332549 13f79535-47bb-0310-9956-ffa450edef68
* Made the FO tree a little more consistent by renaming getName() to ↵Jeremias Maerki2005-11-1171-379/+305
| | | | | | getLocalName() and adding additional methods like: getNamespaceURI() and getNormalNamespacePrefix(). getName() now returns the fully qualified name combined from getLocalName() and getNormalNamespacePrefix(). For special cases you can call getName(String) to return a different namespace prefix. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332545 13f79535-47bb-0310-9956-ffa450edef68
* Moved PDFBridgeContext to a separate class so it can be used by both the ↵Jeremias Maerki2005-11-103-56/+114
| | | | | | | | PDFTranscoder and the PDFSVGHandler. Added support for higher-resolution on-the-fly bitmaps from Batik for SVG inside FO documents. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332324 13f79535-47bb-0310-9956-ffa450edef68
* Scale factor was wrong. Base must be 72dpi, not the default resolution of ↵Jeremias Maerki2005-11-101-2/+4
| | | | | | the PDFDocumentGraphics2D. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332319 13f79535-47bb-0310-9956-ffa450edef68
* Get rid of annoying source of calculation inaccuracies.Jeremias Maerki2005-11-101-8/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332315 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #37305: Jeremias Maerki2005-11-102-4/+50
| | | | | | | | | | | Better approach to higher resolution on-the-fly images generated by Batik. Submitted by: Thomas Deweese <deweese.at.apache.org> Changes to the patch: Added a transcoding hint to be able to set this value. Default device resolution set to 300dpi. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332304 13f79535-47bb-0310-9956-ffa450edef68
* Fix for file: URL handling. The condition for adding a leading slash was wrong.Jeremias Maerki2005-11-101-2/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332298 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #37432: Jeremias Maerki2005-11-102-9/+31
| | | | | | | Fix for TTFReader and PFMReader when they are used from an embedded application. The logger wasn't set in this case. Submitted by: Timothy Gates <tgates.at.xplantechnology.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332263 13f79535-47bb-0310-9956-ffa450edef68
* Reintroduce encoding feature for Text Renderer that was in the maintenance ↵Jeremias Maerki2005-11-092-2/+39
| | | | | | | | | | | branch. Configuration layout for the text renderer is: <renderer mime="text/plain"> <encoding>US-ASCII</encoding> </renderer> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332144 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #37253: Jeremias Maerki2005-11-0912-88/+2105
| | | | | | | TXT Renderer resurrected with additional features. Submitted by: Sergey Simonchik <Sergey.Simonchik.at.borland.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332141 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #37330: Jeremias Maerki2005-11-091-27/+47
| | | | | | | Fix for bridge registration. Submitted by: Thomas Deweese <deweese.at.apache.org> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332070 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #37236: Jeremias Maerki2005-11-091-30/+210
| | | | | | | Improvements for gradients in PDF Transcoder. Submitted by: Thomas Deweese <deweese.at.apache.org> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332046 13f79535-47bb-0310-9956-ffa450edef68
* Fix for Bug 36928 - refresh cached property value if explicitly set twice ↵Manuel Mall2005-11-091-0/+3
| | | | | | which can happen for font-size git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332024 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bug #37417: Jeremias Maerki2005-11-091-1/+5
| | | | | | | Work around situations with incomplete class loaders that don't report package information. Submitted by: Timothy Gates <tgates.at.xplantechnology.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@331991 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bug #37415Andreas L. Delmelle2005-11-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@331912 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bug #37412: Jeremias Maerki2005-11-081-0/+3
| | | | | | Space resolution creates elements with no Positions. These must be ignored. This fixes the NPE. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@331880 13f79535-47bb-0310-9956-ffa450edef68
* Fixed typo.Jeremias Maerki2005-11-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@331874 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bug #37270:Jeremias Maerki2005-11-082-42/+88
| | | | | | | | No more exceptions. Code touch-up and logging optimization. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@331844 13f79535-47bb-0310-9956-ffa450edef68
* EMF support review: Copyright years, rounding problems, code simplificationsJeremias Maerki2005-11-084-26/+22
| | | | | | | PDF Renderer should not fail with an exception if it receives an EMF image. It should ignore it. Test case for EMF image and an EMF image added. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@331805 13f79535-47bb-0310-9956-ffa450edef68
* Another character encoding updateManuel Mall2005-11-081-93/+93
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@331757 13f79535-47bb-0310-9956-ffa450edef68
* Another attempt to fix the compilation problem. I can't tell what happened.Jeremias Maerki2005-11-081-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@331755 13f79535-47bb-0310-9956-ffa450edef68
* Removed an illegal character that sneaked in when I copied the last patch ↵Jeremias Maerki2005-11-081-4/+4
| | | | | | from a fop-users post. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@331753 13f79535-47bb-0310-9956-ffa450edef68
* Fix for footnote support in RTF handler. Jeremias Maerki2005-11-081-10/+18
| | | | | | Submitted by: Matthias Reinert <matthias.reinert.at.web.de> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@331726 13f79535-47bb-0310-9956-ffa450edef68
* Rendering of text-decoration was brokenManuel Mall2005-11-081-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@331655 13f79535-47bb-0310-9956-ffa450edef68
* Fixed white space handling during refinement, added test cases, corrected ↵Manuel Mall2005-11-036-121/+149
| | | | | | error in graphics handling git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@330576 13f79535-47bb-0310-9956-ffa450edef68
* Added warning message (Bugzilla 37329)Andreas L. Delmelle2005-11-021-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@330307 13f79535-47bb-0310-9956-ffa450edef68
* Added relaxed validation for fo:table-cells w/o blocks or markers (Bugzilla ↵Andreas L. Delmelle2005-11-021-1/+1
| | | | | | 37329) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@330303 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bug 37306 - for text-align="start" ipd was incorrectly adjusted with ↵Manuel Mall2005-10-311-3/+0
| | | | | | text-indent value git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@329797 13f79535-47bb-0310-9956-ffa450edef68
* Use FOP's wrapper classes to load images. Support 'auto' in ↵Peter Herweg2005-10-306-22/+332
| | | | | | fo:external-grapic@height, -@width, -@content-height and -@content-width git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@329590 13f79535-47bb-0310-9956-ffa450edef68
* Moved the text-splitting logic from TextArea to TextLM, as suggested by ↵Luca Furini2005-10-2713-78/+127
| | | | | | | | Manuel and Jeremias. Some simplification in TextLM#addAreas(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328882 13f79535-47bb-0310-9956-ffa450edef68
* Fix for Bug #36403.Jeremias Maerki2005-10-271-4/+26
| | | | | | The problem is similar to the row backtracking that has to be done in case of spanned rows but it has to be handled a little differently. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328868 13f79535-47bb-0310-9956-ffa450edef68