aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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-1177-407/+334
| | | | | | 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
* A note about PCL and MIF.Jeremias Maerki2005-11-111-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332542 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
* Separated JUnit layout tests such that the majority are still run even if no ↵Manuel Mall2005-11-10295-29535/+56
| | | | | | hyphenation support present git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332292 13f79535-47bb-0310-9956-ffa450edef68
* Separated JUnit layout tests such that the majority are still run even if no ↵Manuel Mall2005-11-10291-0/+29525
| | | | | | hyphenation support present git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332290 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-092-0/+22
| | | | | | which can happen for font-size git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332024 13f79535-47bb-0310-9956-ffa450edef68
* Test to check FO tree building when no namespace prefix is used.Jeremias Maerki2005-11-091-0/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332007 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
* Applied fix for bug #37414. Submitted by Matthew Daniel ↵Andreas L. Delmelle2005-11-081-4/+4
| | | | | | (bugzilla@mdaniel.scdi.com) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@331922 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
* Hint about GMANE for those who don't like mailing lists.Jeremias Maerki2005-11-081-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@331886 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-084-48/+118
| | | | | | | | 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-086-26/+70
| | | | | | | 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
* some additions to the FAQ and hyphenation usage.Joerg Pietschmann2005-11-072-17/+98
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@331278 13f79535-47bb-0310-9956-ffa450edef68
* Fixed white space handling during refinement, added test cases, corrected ↵Manuel Mall2005-11-0313-121/+665
| | | | | | 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-312-5/+21
| | | | | | 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
* Redirections for the moved pages.Jeremias Maerki2005-10-301-0/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@329560 13f79535-47bb-0310-9956-ffa450edef68
* Content for the 0.20.5 documentation front page.Jeremias Maerki2005-10-302-21/+40
| | | | | | Update to the project status. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@329553 13f79535-47bb-0310-9956-ffa450edef68
* Removed setting LOGCHOICE and LOGLEVEL to the empty stringSimon Pepping2005-10-291-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@329479 13f79535-47bb-0310-9956-ffa450edef68
* Changed ant to fop. Added -h to command line for --help script option.Simon Pepping2005-10-291-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@329473 13f79535-47bb-0310-9956-ffa450edef68
* Changed fop.sh to fop. Adjusted website accordingly. Updated fop script to ↵Manuel Mall2005-10-294-139/+255
| | | | | | match latest ant script. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@329379 13f79535-47bb-0310-9956-ffa450edef68
* The test case can be extended a little to also show another bug in addition ↵Jeremias Maerki2005-10-271-4/+6
| | | | | | to the IndexOutOfBoundsException. The code runs into problems when row 1 starts to paint content when row 0 has grid units that haven't even started contributing parts. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328938 13f79535-47bb-0310-9956-ffa450edef68
* Updated build.xml to include lib licences in binary build and other small modsManuel Mall2005-10-271-13/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328891 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
* Test case for bug #37270.Jeremias Maerki2005-10-272-0/+63
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328880 13f79535-47bb-0310-9956-ffa450edef68
* Fix for Bug #36403.Jeremias Maerki2005-10-272-4/+125
| | | | | | 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
* Package documentation.Jeremias Maerki2005-10-2736-3/+763
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328824 13f79535-47bb-0310-9956-ffa450edef68
* Printing out the revision of Version.java makes no sense. It's not always ↵Jeremias Maerki2005-10-271-6/+12
| | | | | | updated. Instead, determine the repository location that FOP was retrieved from. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328820 13f79535-47bb-0310-9956-ffa450edef68
* Javadoc fixes.Jeremias Maerki2005-10-275-42/+7
| | | | | | Removed unused code in PDF and PS renderers (fixes javadoc warning). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328814 13f79535-47bb-0310-9956-ffa450edef68