aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup: removal of suspicious static in FOTextAndreas L. Delmelle2006-08-232-27/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@433810 13f79535-47bb-0310-9956-ffa450edef68
* corrected a couple of javadoc warnings issued by checkstyleChris Bowditch2006-08-224-4/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@433679 13f79535-47bb-0310-9956-ffa450edef68
* Minor enhancement of column-number property code / removal of unused methodAndreas L. Delmelle2006-08-222-7/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@433459 13f79535-47bb-0310-9956-ffa450edef68
* Reset visibility to publicAndreas L. Delmelle2006-08-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@433398 13f79535-47bb-0310-9956-ffa450edef68
* Minor fix: set negative values to zero for b-p-d/i-p-dAndreas L. Delmelle2006-08-211-6/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@433385 13f79535-47bb-0310-9956-ffa450edef68
* Rework of default column-creation and setting column-widths from the first ↵Andreas L. Delmelle2006-08-2111-139/+366
| | | | | | row (fixes Bugzilla 35656) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@433291 13f79535-47bb-0310-9956-ffa450edef68
* Correction: r432201 caused FOTree test failureAndreas L. Delmelle2006-08-171-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@432362 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup: removed obsolete classAndreas L. Delmelle2006-08-172-60/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@432325 13f79535-47bb-0310-9956-ffa450edef68
* Added relaxed validation for empty list-item-* (as produced by the buggy ↵Andreas L. Delmelle2006-08-171-3/+14
| | | | | | Microsoft Word2FO stylesheet) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@432201 13f79535-47bb-0310-9956-ffa450edef68
* A nit: use PropertyInfo methods instead of accessing the PropertyListAndreas L. Delmelle2006-08-171-6/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@432195 13f79535-47bb-0310-9956-ffa450edef68
* Should cause an error when used with auto-layoutAndreas L. Delmelle2006-08-171-3/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@432190 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Corrected painting of shading patterns and position of links for SVG ↵Jeremias Maerki2006-08-113-39/+64
| | | | | | images inside FO documents. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@430777 13f79535-47bb-0310-9956-ffa450edef68
* Small update in the table-layout codeAndreas L. Delmelle2006-08-081-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@429694 13f79535-47bb-0310-9956-ffa450edef68
* Small update in the table-layout codeAndreas L. Delmelle2006-08-082-17/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@429689 13f79535-47bb-0310-9956-ffa450edef68
* Rework of the marker/retrieve-marker implementation to cater for correct ↵Andreas L. Delmelle2006-08-0625-1959/+1247
| | | | | | evaluation of percentages and relative font-sizes, as well as more correct white-space handling. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@429168 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39840:Jeremias Maerki2006-08-045-19/+100
| | | | | | Changed the way overflowing pages are handled. The overflow property on region-body is now used to define the behaviour. It removes the "Some content could not fit..." exception that bugged so many. However, the change does not yet change any keep behaviour. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@428750 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a memory-leak: The FO tree part of a page-sequence was not released ↵Jeremias Maerki2006-08-032-0/+9
| | | | | | | | | when a page-sequence was finished. Added a "MemoryEater" debug helper which can replicate page-sequences of a regular FO file using the fo-replicator.xsl. Without the fix a JVM set to the normal 64MB heap size throws an OutOfMemoryError when replicating readme.fo 150 times. With the fix the memory consumption doesn't go above 10MB for the 1350 pages. Note that about one third of the time goes into garbage collection. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@428450 13f79535-47bb-0310-9956-ffa450edef68
* Reestablish custom font configuration for PDFTranscoder.Jeremias Maerki2006-08-022-1/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@428137 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Table headers and footers were swallowed when a table was nested in ↵Jeremias Maerki2006-08-022-1/+17
| | | | | | a list-block. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@428011 13f79535-47bb-0310-9956-ffa450edef68
* Merge from Temp_Floats branch:Jeremias Maerki2006-08-021-31/+30
| | | | | | Fixed a bug with indent handling when margins are used on a surrounding block and not start/end-indent. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@427939 13f79535-47bb-0310-9956-ffa450edef68
* Changed license headers and updated NOTICE file according to: ↵Jeremias Maerki2006-07-28847-4558/+5408
| | | | | | http://www.apache.org/legal/src-headers.html git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@426576 13f79535-47bb-0310-9956-ffa450edef68
* Oops. Wrong copyright.Jeremias Maerki2006-07-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@426545 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #40106:Jeremias Maerki2006-07-281-1/+1
| | | | | | | Compatibility fix for GCJ (GNU Classpath): Using "UTF-16BE" instead of "UnicodeBigUnmarked" encoding. Submitted by: Jeroen Meijer <jmeijer.at.notice.nu> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@426465 13f79535-47bb-0310-9956-ffa450edef68
* Just a few nitsJeremias Maerki2006-07-281-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@426456 13f79535-47bb-0310-9956-ffa450edef68
* Added support for a 8x8 bayer dither matrix if anyone wants to try that. ↵Jeremias Maerki2006-07-281-21/+76
| | | | | | Currently, 4x4 is hard-coded. The 8x8 might only be an option for larger areas (i.e. not text) but the results didn't look any better when printed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@426452 13f79535-47bb-0310-9956-ffa450edef68
* Attempt to make grayscale patterns look nicer when using PCL commands. The ↵Jeremias Maerki2006-07-262-7/+87
| | | | | | | | standard PCL shades are very coarse and I replaced them with a simple 4x4 bayer dither pattern defined as a user-defined pattern in PCL. Current side-effect: Darker gray values will result in almost black output on some printers (at least on mine). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@425716 13f79535-47bb-0310-9956-ffa450edef68
* Promoting the PCL renderer from sandbox to the main source tree.Jeremias Maerki2006-07-2413-0/+3551
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@425038 13f79535-47bb-0310-9956-ffa450edef68
* Promoting the AFP renderer from sandbox to the main source tree.Jeremias Maerki2006-07-2466-0/+13030
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@425037 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #40062: Jeremias Maerki2006-07-241-1/+52
| | | | | | | | | Fixed handling for CCITT Group 4 images with fill order 2. Submitted by: Gilles Beaugeais <gbeaugeais.at.voila.fr> JM: Patch slightly modified/streamlined. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@424979 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38714 and #40048: Jeremias Maerki2006-07-241-1/+1
| | | | | | Fixed setting of page margin like it was done in the print renderer. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@424966 13f79535-47bb-0310-9956-ffa450edef68
* Command-line integration of PDF/X support. Generalized the specifying of PDF ↵Jeremias Maerki2006-07-241-16/+52
| | | | | | | | | profiles (-pdfprofile parameter). Documentation update for PDF/A. Documentation for PDF/X. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@424949 13f79535-47bb-0310-9956-ffa450edef68
* Fixed two memory-leaks in image handling (ImageFactory and ExternalGraphic). ↵Jeremias Maerki2006-07-212-21/+63
| | | | | | | | The image cache is finally working properly. Currently implemented without the cleanup thread as done by Batik. Added ImageIO provider for handling PNG in addition to the internal codec. ImageIO proved to be faster and less memory-intensive for PNGs. ImageIO takes precedence of the internal codec. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@424349 13f79535-47bb-0310-9956-ffa450edef68
* Fixed removeNode() as discussed on fop-dev. No more checks for footnotes and ↵Jeremias Maerki2006-07-132-33/+14
| | | | | | removal of nodes even if they are not in the normally expected order. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@421600 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39608:Jeremias Maerki2006-07-113-4/+16
| | | | | | Let numeric property values without a unit be treated as pixels like in HTML. This fixes certain NullPointerExceptions when no units are specified. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@420824 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Potential multi-threading issue (ConcurrentModificationException) ↵Jeremias Maerki2006-07-111-2/+2
| | | | | | eliminated for ElementMapping classes. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@420805 13f79535-47bb-0310-9956-ffa450edef68
* Made FOUserAgent.configure() protected again (not to tempt any users to play ↵Jeremias Maerki2006-07-112-12/+19
| | | | | | with it). Instead improved CommandLineOptions to properly build and adjust the FOUserAgent. Manuel's fix was ok, but I wasn't too comfortable with the public configure() method. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@420761 13f79535-47bb-0310-9956-ffa450edef68
* Sometimes I do stuff much too quickly. Removed debug code.Jeremias Maerki2006-07-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@420629 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39983:Jeremias Maerki2006-07-103-16/+35
| | | | | | | Moved the setting of the system look&feel to CommandLineOptions. Shouldn't really be in PreviewDialog.java. Added a parameter to createPreviewDialog() so embedders don't get a System.exit() when the user closes the preview dialog. System.exit() may only be called if the preview dialog is the main window. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@420626 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39709:Jeremias Maerki2006-07-101-0/+33
| | | | | | Forgot the new trivial interface. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@420625 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39709:Jeremias Maerki2006-07-102-57/+71
| | | | | | | | | Some clean-up in the AWT Renderer/Preview. Submitted by: Stefan Ziel <stefan.ziel.at.claninfo.ch> Original patch slightly modified for (hopefully) better naming. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@420623 13f79535-47bb-0310-9956-ffa450edef68
* Some config file settings were not correctly set in FOUserAgent when invoked ↵Manuel Mall2006-07-102-8/+6
| | | | | | from command line git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@420543 13f79535-47bb-0310-9956-ffa450edef68
* Escape Unicode characters properly for list-item labels.Jeremias Maerki2006-07-102-10/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@420533 13f79535-47bb-0310-9956-ffa450edef68
* Fix NPE if there's no ElementMapping for a particular namespace.Jeremias Maerki2006-06-271-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@417543 13f79535-47bb-0310-9956-ffa450edef68
* Fix NPE in case there are no extension attachments and the area tree was ↵Jeremias Maerki2006-06-271-1/+6
| | | | | | built from the intermediate format. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@417542 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for NullPointerException when xmp:ModifyDate isn't set in the FO ↵Jeremias Maerki2006-06-211-2/+4
| | | | | | metadata. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@415981 13f79535-47bb-0310-9956-ffa450edef68
* XML Graphics Commons 1.0 replaced with a SVN snapshot (containing the XMP ↵Jeremias Maerki2006-06-2012-363/+307
| | | | | | | | | | | framework). Reworked the XMP support for PDF to use the XMP framework from XML Graphics Commons. XMP metadata embedded in fo:declarations is now properly handled. Its values are copied to the Info object according to the rules from PDF/A-1. Metadata values from the user agent (title, author etc.) are properly merged with metadata from the XSL-FO document. UserAgent metadata overrides FO metadata. Note: This is useful and active even if you don't activate PDF/A support. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@415688 13f79535-47bb-0310-9956-ffa450edef68
* Added initial support for PDF/X-3:2003 (ISO 15930-6:2003(E)).Jeremias Maerki2006-06-1428-349/+1089
| | | | | | | | | | | Fixed bugs in PDF/A support: Transparency is now switched off and the CIDSet object is generated for CID fonts. PDF/A and PDF/X are now "profiles" (see PDFProfile) which are used to control the allowed, required and forbidden features in PDF. PDF/A-1b and PDF/X-3:2003 can both be activated simultaneously as they are compatible. For PDF/X, color handling has been improved a little (PDFColorSpace is now an interface, the old PDFColorSpace is now PDFDeviceColorSpace) and most importantly, the "DefaultRGB" color space is now mapped to the sRGB color space (for all colors in DeviceRGB) which ensures that all sRGB colors from XSL-FO are also sRGB colors in PDF which wasn't necessarily the case before. For PDF/X, added support for a custom, non-sRGB output profile because PDF/X requires a "Output Device Profile" (which sRGB is not). ICC profiles are now shared/cached among images. Added support for fox:conversion-mode="bitmap" in the PDFRenderer to handle SVGs with transparency when transparency is forbidden (PDF/X and PDF/A). Only drawback: the image is not combined with the background. An opaque bitmap with a white background is generated. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@414272 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39809: Jeremias Maerki2006-06-141-1/+3
| | | | | | Fixed NullPointerException when there's no user configuration file for the FOP Ant task. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@414137 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39777: Jeremias Maerki2006-06-145-171/+354
| | | | | | | Javadocs updates and code touch-ups Submitted by: Vincent Hennebert <vincent.hennebert.at.enseeiht.fr> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@414135 13f79535-47bb-0310-9956-ffa450edef68
* Added region-body_display-align to demonstrate the default behaviour for ↵Jeremias Maerki2006-06-082-26/+70
| | | | | | | | adjustable spaces when display-align is set to "auto". Reactivated proprietary display-align="distribute" so a block-container can cause its content to be "justified" in the reference area if it's large enough and the adjustable elements (min/opt/max) allow for it. I may be misusing the original intended behaviour of "distribute" but for block-container this seemed suitable since it's destined to produce only one viewport/reference pair if possible. Test added that demonstrates the proprietary value on block-container. Note: on normal region-body elements, display-align="distribute" has currently no effect since the code did not evolve with the changes in the layout engine. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@412735 13f79535-47bb-0310-9956-ffa450edef68