aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org
Commit message (Collapse)AuthorAgeFilesLines
* New method: FONode.decorateWithContextInfo() adds context information to an ↵Jeremias Maerki2005-12-139-19/+149
| | | | | | | | | | | error or log message by either providing the locator information or by gathering context information from the context FOs. Improved log and error messages in a number of places by adding additional context information that should make it easier to find the location in the source files. Added a check to detect inline overflows (LineLayoutManager). Added a check to detect in-page overflows (PageBreakingAlgorithm). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@356592 13f79535-47bb-0310-9956-ffa450edef68
* Removed a method call that is not yet available in the repository. Sorry guys.Jeremias Maerki2005-12-121-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@356397 13f79535-47bb-0310-9956-ffa450edef68
* Quick fix to get the size of images right in RTF output. It looks like ↵Jeremias Maerki2005-12-123-21/+95
| | | | | | | | \picwgoalN|\pichgoalN should not be used together with \picscalexN|\pixscaleyN. Some problems remain with uniform scaling and such. Added support for SVG in external-graphic. SVG images are converted to JPEG through Batik at 300 dpi. Note that instream-foreign-object is not supported, yet. It might be good to reuse code from external-graphic for that. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@356345 13f79535-47bb-0310-9956-ffa450edef68
* The result of some practice with CheckstyleSimon Pepping2005-12-094-14/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@355471 13f79535-47bb-0310-9956-ffa450edef68
* Made the locator variable on FONode protected.Jeremias Maerki2005-12-096-13/+38
| | | | | | | Locator information is duplicated using SAX's LocatorImpl. Otherwise, the info returned by the Locator information is only valid during FO tree building and validation. If desired code could be added to disable storing locator information even if it is available to use less memory (one LocatorImpl instance per FO tree node) in FOTreeBuilder. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@355428 13f79535-47bb-0310-9956-ffa450edef68
* The command-line now automatically sets two parameters for any XSLT ↵Jeremias Maerki2005-12-091-6/+11
| | | | | | | | transformation: "fop-output-format" contains the MIME type of the currently selected output format, "fop-version" contains FOP's version number. Suggested by: Roland Neilands git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@355411 13f79535-47bb-0310-9956-ffa450edef68
* The output file is now deleted when an exception occurs when calling FOP ↵Jeremias Maerki2005-12-091-0/+3
| | | | | | from the command-line. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@355401 13f79535-47bb-0310-9956-ffa450edef68
* Better approach for enforcing the overflow property on block-containers.Jeremias Maerki2005-12-082-20/+13
| | | | | | Fixed a bug in the PDF and PS renderers concerning the clipping of viewport areas. The order of clipping and establishing the new coordinate system was wrong. Removed an unnecessary save/restoreGraphicsState() pair. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@355131 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Areas for table-cells that are broken over more than one page are ↵Jeremias Maerki2005-12-081-10/+23
| | | | | | | | now generated even if all its content is already painted on a previous page. This fixes strange effects like a table grid that is not completely painted. Some check in the test cases had to be adjusted because the indices weren't correct anymore, since now some previously missing areas are generated. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@355105 13f79535-47bb-0310-9956-ffa450edef68
* Looks like the 2-column situation has to be handled differently than the ↵Jeremias Maerki2005-12-081-4/+10
| | | | | | | | 3-column approach. The 4-column example shows that my current approach is not good enough and needs to be revisited. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@355063 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #37828:Jeremias Maerki2005-12-081-1/+3
| | | | | | Bugfix for column balancing with large amounts of text. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@355042 13f79535-47bb-0310-9956-ffa450edef68
* Alternative set of rules for text indent calculation (start-indent and ↵Jeremias Maerki2005-12-072-1/+123
| | | | | | | | | end-indent) which tries to mimic many commercial FO implementation that have chosen to break the specification in this aspect. I think I have found the behaviour for most cases. But I'm operating in reverse-engineering mode here and not all FO implementations behave in the same way! This is an optional feature that has to be explicitely enabled through the user agent. Otherwise, FOP will behave like before. In the FO tree tests a processing instruction is used to enable the feature/bug ;-) in the user agent so I can test both cases. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@354763 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #37815:Jeremias Maerki2005-12-071-2/+2
| | | | | | | Bugfix: The combination of content-width="scale-to-fit" and content-height="100%" did not work as expected due to a datatype conversion bug. Submitted by: Tom <tom.at.craddock.id.au> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@354757 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #37813:Jeremias Maerki2005-12-073-1/+9
| | | | | | | Fixed a bug that occurred if the first block was span="all". A page break was inserted in this situation, the first span was calculated as if it were span="none". Code added to remove empty span areas. This is a lot easier and cleaner than trying not to instantiate the first span right from the beginning. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@354752 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: OutputStreams created by the PNG Renderer were not properly closed.Jeremias Maerki2005-12-062-27/+76
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@354537 13f79535-47bb-0310-9956-ffa450edef68
* The border-collapse property on fo:table is now forced to the value ↵Jeremias Maerki2005-12-051-2/+5
| | | | | | "separate" until the collapsing border has been implemented. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@354075 13f79535-47bb-0310-9956-ffa450edef68
* font-family list still not fully supported but a comma-separated list is now ↵Jeremias Maerki2005-12-027-18/+180
| | | | | | properly tokenized. FOP will now go through all fonts in the list to find one that is available, but it doesn't do so per character, yet. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@351734 13f79535-47bb-0310-9956-ffa450edef68
* Implemented 5.3.4 overconstrained geometry without handling the case when ↵Jeremias Maerki2005-12-028-95/+102
| | | | | | the content IPD is zero. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@351655 13f79535-47bb-0310-9956-ffa450edef68
* Fixing two NPEs occurring with a completely empty table where not even the ↵Jeremias Maerki2005-12-012-2/+4
| | | | | | table-cell has at least one block element and relaxed validation is enabled. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@351491 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Relatively positioned BlockViewports (from block-containers) caused ↵Jeremias Maerki2005-12-011-8/+0
| | | | | | the paint cursor not be be properly advanced when space-before or space-after were present. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@350269 13f79535-47bb-0310-9956-ffa450edef68
* Changing the debug level of a not so interesting message.Jeremias Maerki2005-11-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@349911 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Added missing conditionality notification for table-cell content.Jeremias Maerki2005-11-304-26/+34
| | | | | | | | | Extracted functionality to find a previous break into a helper method in ElementListUtils. Fixed misguided german->english translation on parameter names (last != previous). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@349909 13f79535-47bb-0310-9956-ffa450edef68
* Relaxed validation for border and padding on region-*.Jeremias Maerki2005-11-291-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@349740 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for "/ by zero" ArithmeticExceptions when an URL to a non-existing ↵Jeremias Maerki2005-11-291-13/+24
| | | | | | image is used and content-width and/or content-height is used. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@349698 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for a multi-threading problem:Jeremias Maerki2005-11-241-11/+10
| | | | | | | | propertyListTable initialization moved from the constructor to a static block in FOObj. This fixes NullPointerExceptions in PropertyList. This was discovered using the application in test/java/org/apache/fop/threading/. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348795 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for placement of text inside a text area when borders are present in ↵Jeremias Maerki2005-11-241-1/+1
| | | | | | PostScript output. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348792 13f79535-47bb-0310-9956-ffa450edef68
* Improvements for leader painting in PDF. "dots" are actually dots now, nicer ↵Jeremias Maerki2005-11-243-38/+98
| | | | | | | | | ridge/groove with lightenColor(), reusing code from border painting. Leader in PostScript Renderer now, too. LeaderLM did not set the leader color and the PDF Renderer didn't act on it. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348788 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #37521: Jeremias Maerki2005-11-241-3/+3
| | | | | | | Fixed typo. Submitted by: Matthew Daniel <bugzilla.at.mdaniel.scdi.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348751 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #37557:Jeremias Maerki2005-11-241-4/+4
| | | | | | | Removed an inappropriate exception. Tweaked the other exception. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348749 13f79535-47bb-0310-9956-ffa450edef68
* Found another old URLJeremias Maerki2005-11-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348746 13f79535-47bb-0310-9956-ffa450edef68
* Added support for border-separation.block-progression-direction (only ↵Jeremias Maerki2005-11-244-11/+39
| | | | | | | | inline-progression-direction worked before). Bugfix for a special case with vertically spanned cells where a cell might have been swallowed as a whole. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348745 13f79535-47bb-0310-9956-ffa450edef68
* Implementation of hyphenation-ladder-count.Luca Furini2005-11-214-6/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@345909 13f79535-47bb-0310-9956-ffa450edef68
* Corrected copy/paste mistake in java commentManuel Mall2005-11-181-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@345519 13f79535-47bb-0310-9956-ffa450edef68
* Added user config font registration to XML RendererManuel Mall2005-11-181-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@345517 13f79535-47bb-0310-9956-ffa450edef68
* 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