aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed ugly NPE (with no message) when a malconfigured font was processed by ↵Jeremias Maerki2006-01-102-30/+60
| | | | | | the PS Renderer (even when that font is not used). When the font is used we don't get an NPE anymore but a Runtime exception. Not ideal, but a little better, especially because of the error message. I hope that at some point someone finds time to clean up the whole exception handling in FOP. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@367593 13f79535-47bb-0310-9956-ffa450edef68
* Documented the missing feature for internal basic-links as described on ↵Jeremias Maerki2006-01-102-1/+8
| | | | | | fop-users. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@367511 13f79535-47bb-0310-9956-ffa450edef68
* fix error with lists: listIdGenerator must not be a local variable, in order ↵Peter Herweg2006-01-091-2/+1
| | | | | | to return different random numbers git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@367420 13f79535-47bb-0310-9956-ffa450edef68
* Slight enhancement to white-space-handling: removal of trailing white-space ↵Andreas L. Delmelle2006-01-091-13/+52
| | | | | | for trailing inlines git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@367395 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38054:Jeremias Maerki2006-01-094-25/+80
| | | | | | | | Bugfix: Spans that end up with a negative height don't get swallowed anymore. MainReference.getWidth() removed as it's not used anywhere. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@367262 13f79535-47bb-0310-9956-ffa450edef68
* MainRefrence.getWidth() is never set, preparing to remove this method.Jeremias Maerki2006-01-091-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@367255 13f79535-47bb-0310-9956-ffa450edef68
* Also let the last page sequence notify its listeners. Add a check forSimon Pepping2006-01-082-2/+7
| | | | | | | the page count to the test case. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@367020 13f79535-47bb-0310-9956-ffa450edef68
* Create a new check type for the formatting results. For now onlySimon Pepping2006-01-083-5/+98
| | | | | | | checking the pagecount property is implemented. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@367019 13f79535-47bb-0310-9956-ffa450edef68
* BugZilla #38161:Manuel Mall2006-01-071-1/+445
| | | | | | | | Added XSL-FO functions to compliance page Submitted by: Gerhard Oettl <gerhard.oettle.at.oesoft.at> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@366774 13f79535-47bb-0310-9956-ffa450edef68
* Added support for relative font config URLs (metrics-url and embed-url). ↵Manuel Mall2006-01-0722-103/+398
| | | | | | These URLs are now resolved through the FOP config URI resolver. A new configuration item font-base has been added which defines the base URL to be used for resolution of the font URLs. If it is not given the normal FOP base URL is used. Unrelated to this feature the patch also contains a new image class (java 1.4 specific) for JPEG images. This is for renderers (e.g. AFP) which require access to the decoded JPEG. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@366718 13f79535-47bb-0310-9956-ffa450edef68
* Implementation of force-page-count property, patch by Gerhard Oettl,Simon Pepping2006-01-064-7/+501
| | | | | | | somewhat rearranged by me. See bug 38087. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@366569 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38135:Jeremias Maerki2006-01-053-3/+80
| | | | | | | Added support for RFC 2397 "data" URLs. Submitted by: Richard Wheeldon <richardw.at.geoquip-rnd.demon.co.uk> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@366184 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38132:Jeremias Maerki2006-01-052-2/+13
| | | | | | | Bugfix: Certain border styles could lead to a NullPointerException. inset and groove are now mapped to RTF's "engrave", outset and ridge to "emboss". If no mapping can be found the "solid" style is used. Before null was returned which was the cause for the NPE. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@366148 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38102:Jeremias Maerki2006-01-042-8/+89
| | | | | | | | Bugfix: Space was not adjusted if the space was on a nested block inside an auto-height block-container. This could lead to content overflowing the bottom of a page. Note: Tables and lists currently don't offer space adjustments due to the current limits of the element list combination process. Once the stretch/shrink components are handled during element list combination, this will have to be rechecked. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@365971 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38102:Jeremias Maerki2006-01-043-2/+83
| | | | | | | | | | Bugfix: Space was not adjusted if the space was on a nested block. This could lead to content overflowing the bottom of a page. I guess I will need to check if other addArea() methods suffer from the same defect. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@365928 13f79535-47bb-0310-9956-ffa450edef68
* Got caught with the wrong year in the license header again!Manuel Mall2006-01-043-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@365907 13f79535-47bb-0310-9956-ffa450edef68
* Added testcases for recently identified problems with markersManuel Mall2006-01-043-0/+165
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@365906 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: TableCell did not properly report that it generates reference-areas ↵Jeremias Maerki2006-01-033-2/+120
| | | | | | which could lead to wrong inherited values for start-indent and end-indent. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@365689 13f79535-47bb-0310-9956-ffa450edef68
* Added an example for the Symbol font embedding tip.Jeremias Maerki2006-01-031-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@365677 13f79535-47bb-0310-9956-ffa450edef68
* Documented the change made in revision 365623.Jeremias Maerki2006-01-031-1/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@365664 13f79535-47bb-0310-9956-ffa450edef68
* The font loading code now reads the encoding value from the XML font metrics ↵Jeremias Maerki2006-01-033-10/+35
| | | | | | | | file so that Type 1 fonts like Symbol and ZapfDingbats can be embedded explicitely (Required by PDF/A). Note that it is necessary to set the encoding value in the font metrics file manually since it cannot be extracted from the PFM file reliably, i.e. for "Symbol" use "SymbolEncoding" and for "ZapfDingbats" use "ZapfDingbatsEncoding". git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@365623 13f79535-47bb-0310-9956-ffa450edef68
* A short summary of my changes over the past two weeksSimon Pepping2006-01-021-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@365426 13f79535-47bb-0310-9956-ffa450edef68
* Some more properties housekeeping: propset svn:keywords 'Id', propsetSimon Pepping2006-01-020-0/+0
| | | | | | | svn:eol 'native' git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@365419 13f79535-47bb-0310-9956-ffa450edef68
* The copyright fun starts again; it is 2006Simon Pepping2006-01-022-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@365410 13f79535-47bb-0310-9956-ffa450edef68
* Corrected simple mistake in BMP Reader which incorrectly reported the image ↵Manuel Mall2006-01-022-1/+4
| | | | | | width information as the image height git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@365282 13f79535-47bb-0310-9956-ffa450edef68
* Applied white-space handling to leaders as well...Andreas L. Delmelle2005-12-301-5/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@360142 13f79535-47bb-0310-9956-ffa450edef68
* Correction of expected resultAndreas L. Delmelle2005-12-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@360134 13f79535-47bb-0310-9956-ffa450edef68
* git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@360088 ↵Andreas L. Delmelle2005-12-301-7/+0
| | | | 13f79535-47bb-0310-9956-ffa450edef68
* git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@360084 ↵Andreas L. Delmelle2005-12-301-0/+3
| | | | 13f79535-47bb-0310-9956-ffa450edef68
* Revision of refinement white-space handling (cfr. Bugzilla 37639)Andreas L. Delmelle2005-12-3011-213/+338
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@360083 13f79535-47bb-0310-9956-ffa450edef68
* Some properties housekeeping: propdel svn:executable, propset svn:eol 'native'Simon Pepping2005-12-3046-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@360075 13f79535-47bb-0310-9956-ffa450edef68
* Block Knuth sequences in inline content are properly joined, takingSimon Pepping2005-12-308-133/+199
| | | | | | | keeps into account. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@360073 13f79535-47bb-0310-9956-ffa450edef68
* Added support for the white-space shorthandAndreas L. Delmelle2005-12-305-2/+133
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359945 13f79535-47bb-0310-9956-ffa450edef68
* Tweak page-break-* shorthands; keeps now working properlyAndreas L. Delmelle2005-12-303-24/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359939 13f79535-47bb-0310-9956-ffa450edef68
* Added a few missing constants...Andreas L. Delmelle2005-12-301-15/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359938 13f79535-47bb-0310-9956-ffa450edef68
* git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359893 ↵Andreas L. Delmelle2005-12-291-0/+3
| | | | 13f79535-47bb-0310-9956-ffa450edef68
* 1) Added support for the page-break-* shorthandsAndreas L. Delmelle2005-12-295-10/+242
| | | | | | | 2) Minor tweak: added validity check for reference-orientation git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359890 13f79535-47bb-0310-9956-ffa450edef68
* Test file for the NPE reported in bug 38053Simon Pepping2005-12-281-0/+98
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359488 13f79535-47bb-0310-9956-ffa450edef68
* Each block in inline content now appears in its own line area.Simon Pepping2005-12-284-240/+273
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359451 13f79535-47bb-0310-9956-ffa450edef68
* Minor updates and corrections to the compliance pageManuel Mall2005-12-281-5/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359398 13f79535-47bb-0310-9956-ffa450edef68
* Fix for NPE reported in bugzilla 38053. Unfortunately I have not been able ↵Manuel Mall2005-12-282-1/+6
| | | | | | to construct a small testcase for it. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359383 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bug 37743 and part of 38053Manuel Mall2005-12-283-8/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359368 13f79535-47bb-0310-9956-ffa450edef68
* LineArea had a finalize method which caused a NPE when called from the ↵Manuel Mall2005-12-282-3/+14
| | | | | | garbage collector. I assume it was never intended for this method to be an override of the Java Object finalize method. Renamed the method to finalise. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359364 13f79535-47bb-0310-9956-ffa450edef68
* RTF: If there is no background-color specified for a table-cell, then try to ↵Peter Herweg2005-12-271-0/+16
| | | | | | read it from table-row or table-header. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359308 13f79535-47bb-0310-9956-ffa450edef68
* RTF: Don't set \brsp at tables, because it makes them look quite broken.Peter Herweg2005-12-271-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359302 13f79535-47bb-0310-9956-ffa450edef68
* This time with checks.Simon Pepping2005-12-271-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359236 13f79535-47bb-0310-9956-ffa450edef68
* Testcase for the ClassCastExceptions in inline block content.Simon Pepping2005-12-271-0/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359222 13f79535-47bb-0310-9956-ffa450edef68
* I generalized several casts from KnuthElement to ListElement. ThisSimon Pepping2005-12-277-22/+27
| | | | | | | | removes a number of ClassCastExceptions in some files with inline block content. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359189 13f79535-47bb-0310-9956-ffa450edef68
* Merge from Branch fop-0_91:Jeremias Maerki2005-12-2327-132/+412
| | | | | | Documentation updates in preparation of the 0.91 beta release. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358885 13f79535-47bb-0310-9956-ffa450edef68
* Merge from Branch fop-0_91:Jeremias Maerki2005-12-231-2/+2
| | | | | | Relaxed validation for empty static-content for compatibility with 0.20.5. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358884 13f79535-47bb-0310-9956-ffa450edef68