aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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
* Forgot to update the status pageManuel Mall2005-12-231-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358798 13f79535-47bb-0310-9956-ffa450edef68
* Fixed problem with linefeed-treatment=preserve not being correctly handled ↵Manuel Mall2005-12-234-18/+36
| | | | | | for text-align=center git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358792 13f79535-47bb-0310-9956-ffa450edef68
* A new testcase for linefeed treatment, as reported on fop-userSimon Pepping2005-12-222-0/+92
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358619 13f79535-47bb-0310-9956-ffa450edef68
* Adding properties for this xsl fileSimon Pepping2005-12-220-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358618 13f79535-47bb-0310-9956-ffa450edef68
* As announced, I brought FontTriplet to more life by making it Serializable ↵Jeremias Maerki2005-12-2218-168/+327
| | | | | | 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
* Rendering the list of disabled testcasesSimon Pepping2005-12-222-0/+105
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358604 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-223-34/+90
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358552 13f79535-47bb-0310-9956-ffa450edef68
* Adjust to changes in KnuthSequence.Jeremias Maerki2005-12-221-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358544 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
* ApacheCon is over. Keeping the old entry as a template for the next issue.Jeremias Maerki2005-12-211-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358398 13f79535-47bb-0310-9956-ffa450edef68
* Dominic Brügger indeed found a bug. Strange that it only appears with ↵Jeremias Maerki2005-12-212-0/+68
| | | | | | break-after and not with break-before. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358300 13f79535-47bb-0310-9956-ffa450edef68
* Further decoupling the area tree from the FO tree.Jeremias Maerki2005-12-2111-163/+230
| | | | | | | Created a new class org.apache.fop.layoutmgr.Page that holds a reference to the generating SimplePageMaster and the PageViewport. A deserialized area tree doesn't need a reference to the SimplePageMaster. Renamed PageViewportProvider to PageProvider as it now returns Page instances, not (directly) PageViewports. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358254 13f79535-47bb-0310-9956-ffa450edef68
* Forgot to add a toString() method to keep tests happy.Jeremias Maerki2005-12-211-1/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358240 13f79535-47bb-0310-9956-ffa450edef68
* First step towards reactivating CachedRenderPagesModel (helps preparing for ↵Jeremias Maerki2005-12-207-26/+146
| | | | | | | | the intermediate format). Fix some serialization problems in the area tree. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357982 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #37964:Jeremias Maerki2005-12-204-8/+57
| | | | | | Hard breaks with even-page or odd-page were not handled correctly when spaces were surrounding the break. The code that retrieves the break-class from the penalty assumes that the penalty is on the last element in the list, but the space resolution added additional glues after the penalty. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357942 13f79535-47bb-0310-9956-ffa450edef68
* One less lookup.Jeremias Maerki2005-12-191-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357705 13f79535-47bb-0310-9956-ffa450edef68
* Update for status page. Table on status of the individual components added. ↵Jeremias Maerki2005-12-191-14/+75
| | | | | | This reflects my own view, not necessarily everyone's. If I'm wrong about anything, please change. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357679 13f79535-47bb-0310-9956-ffa450edef68
* Fix for width checks. They didn't take start-indent and end-indent into account.Jeremias Maerki2005-12-192-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357674 13f79535-47bb-0310-9956-ffa450edef68
* Another workaround/hack to deal with non breaking spaces. Also some minor ↵Manuel Mall2005-12-1710-14/+107
| | | | | | adjustments to support the planned AFP renderer git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357298 13f79535-47bb-0310-9956-ffa450edef68
* XMLHandler interface changed so it reports whether it supports a particular ↵Jeremias Maerki2005-12-1621-583/+779
| | | | | | | | | | | | | | Renderer instead of reporting the MIME type. One MIME type could be implemented by multiple Renderer implementations so conflicts could occur. Almost all XMLHandler implementations will have a dependency on a particular Renderer implementation. XMLHandlers are now configurable. Standard XMLHandlers now get registered through service lookup. Simplification: XMLHandlers don't need nested classes for the handling functionality anymore. If Batik, for example, is not in the classpath it will already be detected while registering the XMLHandlers. The RendererContextConstants interface now standardizes some of the keys used in the RendererContext and helps with actually decoupling the XMLHandler implementations from the renderers. This is one step towards making Batik an optional dependency and making it possible to move the SVG functionality to a separate place later. Extracted the SVG XMLHandler functionality from the sandbox SVGRenderer into a separate class following the example of the other renderers. Bugfix in PSSVGHandler: Fixed a copy/paste error which could lead to wrong clipping of an SVG image for PostScript output. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357166 13f79535-47bb-0310-9956-ffa450edef68
* NOTE: API changes in a backwards-incompatible way: ↵Jeremias Maerki2005-12-1520-69/+135
| | | | | | | | | | FOUserAgent.setResolution() -> FOUserAgent.setSourceResolution() and FOUserAgent.setTargetResolution() Resolution parameter to the user agent is split into: - a source resolution used to determine the pixel size in SVG images and bitmap without resolution information - a target resolution used to specify the output resolution of bitmap images generated by bitmap renderers and bitmaps generated by Batik for filter effects. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357081 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #37877:Jeremias Maerki2005-12-151-1/+1
| | | | | | Bug fixed in the evaluation of the resolution value in the XML configuration. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357063 13f79535-47bb-0310-9956-ffa450edef68
* Debug optimizationJeremias Maerki2005-12-151-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357061 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #37875:Jeremias Maerki2005-12-153-9/+89
| | | | | | | Some content inside a table-header may not have been renderered on pages n > 1 in certain conditions. LineLM kept state between calls to addAreas which can have ugly side-effects in case of table-headers, for example, where the same positions are rendered more than once. I don't know why the bug only manifests if there's an overflow in the second line of the table-header in the test case. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357045 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a problem where a block containing only a nbsp was not rendered at allManuel Mall2005-12-153-0/+59
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357034 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a bug where the area for a finished cell that is broken over pages was ↵Jeremias Maerki2005-12-153-1/+97
| | | | | | created once for each row it was spanned over instead of only once. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357008 13f79535-47bb-0310-9956-ffa450edef68
* Attempt at providing context information about the element causing an ↵Jeremias Maerki2005-12-152-5/+39
| | | | | | endless loop because of an area overflow in b-p-direction. This should make the error message more helpful. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357002 13f79535-47bb-0310-9956-ffa450edef68
* Added checks that warn about tables and block-containers that are wider than ↵Jeremias Maerki2005-12-153-0/+22
| | | | | | the available content area. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357000 13f79535-47bb-0310-9956-ffa450edef68
* Corrected info.Jeremias Maerki2005-12-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@356807 13f79535-47bb-0310-9956-ffa450edef68
* Don't hyphenate when wrap is set to "no-wrap".Jeremias Maerki2005-12-144-1/+109
| | | | | | | Hack: Work around an NPE in hyphenation when preserved line feeds are found. Documenting a bug where linefeeds are painted as "#" and content is painted multiple times when hyphenation is on and linefeed-treatment="preserve". git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@356804 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: addAnchor didn't find the anchor for empty inline elements in a ↵Jeremias Maerki2005-12-141-3/+19
| | | | | | | | footnote after the latest bugfix. Fixes footnote_footnote-separator. Javadocs. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@356792 13f79535-47bb-0310-9956-ffa450edef68
* Restored PNG support for RTF output and fixed two bugs related to image ↵Jeremias Maerki2005-12-138-14/+74
| | | | | | | | handling (an NPE and an invalid "==" comparison on Strings). Added a default implementation for loading the raw image. Used by most FopImage implementations. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@356612 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #37880:Jeremias Maerki2005-12-134-3/+94
| | | | | | | Bugfix for lost footnotes in centered text. Skip elements with no Position in TextLayoutManager. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@356594 13f79535-47bb-0310-9956-ffa450edef68
* startVPArea() and endVPArea() made abstract in AbstractRenderer so ↵Jeremias Maerki2005-12-139-153/+306
| | | | | | | | | implementors are forced to deal with the topic. startVPArea() in Renderers now takes an additional parameter for an optional clipping rectangle. PDF, PS and Java2D renderers now perform proper clipping on viewports if requested. Fixed various problems in the Java2D renderer and added border and background painting where still missing. Note that there are several code parts that could be easily shared with the AbstractPathOrientedRenderer. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@356593 13f79535-47bb-0310-9956-ffa450edef68
* 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
* Add checkstyle variable to the header path. This is required by theSimon Pepping2005-12-121-1/+1
| | | | | | | eclipse plugin git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@356377 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
* New download locationChristian Geisert2005-12-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@356325 13f79535-47bb-0310-9956-ffa450edef68
* XSL 1.1 Bookmarks added to the compliance page.Jeremias Maerki2005-12-112-4/+82
| | | | | | Some more details on the upgrading page. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@355950 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