aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
* Allow some xsl-function calls with omitted args, patch contributed bySimon Pepping2006-01-127-14/+60
| | | | | | | Gerhard Oettl, bug 38098. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@368462 13f79535-47bb-0310-9956-ffa450edef68
* The last page sequence should also follow its force-page-count trait.Simon Pepping2006-01-102-13/+18
| | | | | | | | Replace one test case with two leaner test cases, submitted by Gerhard Oettl, see bug 38087. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@367775 13f79535-47bb-0310-9956-ffa450edef68
* LIST_INDENT never found; write 360 as defaultPeter Herweg2006-01-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@367729 13f79535-47bb-0310-9956-ffa450edef68
* 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
* 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-092-25/+27
| | | | | | | | 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-081-2/+5
| | | | | | | 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
* Added support for relative font config URLs (metrics-url and embed-url). ↵Manuel Mall2006-01-0715-95/+209
| | | | | | 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-063-7/+104
| | | | | | | 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-051-3/+29
| | | | | | | 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-051-2/+10
| | | | | | | 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-041-1/+2
| | | | | | | | 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-041-2/+3
| | | | | | | | | | 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
* Bugfix: TableCell did not properly report that it generates reference-areas ↵Jeremias Maerki2006-01-031-2/+6
| | | | | | 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
* The font loading code now reads the encoding value from the XML font metrics ↵Jeremias Maerki2006-01-032-10/+31
| | | | | | | | 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
* The copyright fun starts again; it is 2006Simon Pepping2006-01-021-1/+1
| | | | 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-021-1/+1
| | | | | | 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
* Revision of refinement white-space handling (cfr. Bugzilla 37639)Andreas L. Delmelle2005-12-307-190/+316
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@360083 13f79535-47bb-0310-9956-ffa450edef68
* Block Knuth sequences in inline content are properly joined, takingSimon Pepping2005-12-307-133/+133
| | | | | | | 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-302-0/+78
| | | | 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-301-6/+6
| | | | 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
* 1) Added support for the page-break-* shorthandsAndreas L. Delmelle2005-12-293-4/+153
| | | | | | | 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
* Each block in inline content now appears in its own line area.Simon Pepping2005-12-281-202/+191
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359451 13f79535-47bb-0310-9956-ffa450edef68
* Fix for NPE reported in bugzilla 38053. Unfortunately I have not been able ↵Manuel Mall2005-12-281-1/+3
| | | | | | 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-281-1/+1
| | | | 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
* 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-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
* Merge from Branch fop-0_91:Jeremias Maerki2005-12-231-1/+1
| | | | | | Fixed a small oversight. Code is not even in use. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358883 13f79535-47bb-0310-9956-ffa450edef68
* Merge from Branch fop-0_91:Jeremias Maerki2005-12-232-95/+3
| | | | | | Deprecated Fop constructors that use the integer constants for output format selection removed as discussed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358882 13f79535-47bb-0310-9956-ffa450edef68
* Changed use of the lineLayouts member to a local variable as much asSimon Pepping2005-12-231-69/+90
| | | | | | | possible. A few style corrections. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358858 13f79535-47bb-0310-9956-ffa450edef68
* Fixed problem with linefeed-treatment=preserve not being correctly handled ↵Manuel Mall2005-12-232-5/+17
| | | | | | for text-align=center git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358792 13f79535-47bb-0310-9956-ffa450edef68
* As announced, I brought FontTriplet to more life by making it Serializable ↵Jeremias Maerki2005-12-2216-157/+310
| | | | | | and using it to transport the information about the font in use through the area tree. This has small effects on the test cases as the values in the generated XML are slightly different. While refactoring I saw that there's some room for optimization. Too many objects are still created. It should be quite easy now with the FontTriplet to create a small cache. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358613 13f79535-47bb-0310-9956-ffa450edef68
* More work on preparing for the intermediate format.Jeremias Maerki2005-12-2210-27/+69
| | | | | | | Font traits are added in a single place in TraitSetter so it will be easier to change those. Remove direct references on FObjs in the area tree for regions. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358555 13f79535-47bb-0310-9956-ffa450edef68
* Add a letterspace in InlineKnuthSequenceSimon Pepping2005-12-222-34/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358552 13f79535-47bb-0310-9956-ffa450edef68
* Issue a warning when an unresolved bookmark item is received. This will be ↵Jeremias Maerki2005-12-221-0/+2
| | | | | | currently triggered by bug #37993. This is just to raise awareness of the problem. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358535 13f79535-47bb-0310-9956-ffa450edef68
* Modified the KnuthSequence system. Transferred logic from the layoutSimon Pepping2005-12-2214-295/+531
| | | | | | | managers to the KnuthSequences. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358534 13f79535-47bb-0310-9956-ffa450edef68
* Introduced a flag to tell the page breaking to operate in auto-height mode, ↵Jeremias Maerki2005-12-224-9/+29
| | | | | | i.e. no overflows can happen. This disables the overflow warnings when footnote-separators are defined. They don't have an explicit height. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358522 13f79535-47bb-0310-9956-ffa450edef68