]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
18 years agoI generalized several casts from KnuthElement to ListElement. This
Simon Pepping [Tue, 27 Dec 2005 08:40:09 +0000 (08:40 +0000)]
I generalized several casts from KnuthElement to ListElement. This
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

18 years agoMerge from Branch fop-0_91:
Jeremias Maerki [Fri, 23 Dec 2005 23:34:48 +0000 (23:34 +0000)]
Merge from Branch fop-0_91:
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

18 years agoMerge from Branch fop-0_91:
Jeremias Maerki [Fri, 23 Dec 2005 23:33:38 +0000 (23:33 +0000)]
Merge from Branch fop-0_91:
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

18 years agoMerge from Branch fop-0_91:
Jeremias Maerki [Fri, 23 Dec 2005 23:32:55 +0000 (23:32 +0000)]
Merge from Branch fop-0_91:
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

18 years agoMerge from Branch fop-0_91:
Jeremias Maerki [Fri, 23 Dec 2005 23:32:13 +0000 (23:32 +0000)]
Merge from Branch fop-0_91:
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

18 years agoChanged use of the lineLayouts member to a local variable as much as
Simon Pepping [Fri, 23 Dec 2005 19:50:46 +0000 (19:50 +0000)]
Changed use of the lineLayouts member to a local variable as much as
possible. A few style corrections.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358858 13f79535-47bb-0310-9956-ffa450edef68

18 years agoForgot to update the status page
Manuel Mall [Fri, 23 Dec 2005 12:50:10 +0000 (12:50 +0000)]
Forgot to update the status page

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358798 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFixed problem with linefeed-treatment=preserve not being correctly handled for text...
Manuel Mall [Fri, 23 Dec 2005 11:27:07 +0000 (11:27 +0000)]
Fixed problem with linefeed-treatment=preserve not being correctly handled for text-align=center

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358792 13f79535-47bb-0310-9956-ffa450edef68

18 years agoA new testcase for linefeed treatment, as reported on fop-user
Simon Pepping [Thu, 22 Dec 2005 20:29:49 +0000 (20:29 +0000)]
A new testcase for linefeed treatment, as reported on fop-user

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358619 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdding properties for this xsl file
Simon Pepping [Thu, 22 Dec 2005 20:23:27 +0000 (20:23 +0000)]
Adding properties for this xsl file

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358618 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAs announced, I brought FontTriplet to more life by making it Serializable and using...
Jeremias Maerki [Thu, 22 Dec 2005 20:10:54 +0000 (20:10 +0000)]
As announced, I brought FontTriplet to more life by making it Serializable 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

18 years agoRendering the list of disabled testcases
Simon Pepping [Thu, 22 Dec 2005 19:05:15 +0000 (19:05 +0000)]
Rendering the list of disabled testcases

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358604 13f79535-47bb-0310-9956-ffa450edef68

18 years agoMore work on preparing for the intermediate format.
Jeremias Maerki [Thu, 22 Dec 2005 10:51:29 +0000 (10:51 +0000)]
More work on preparing for the intermediate format.
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

18 years agoAdd a letterspace in InlineKnuthSequence
Simon Pepping [Thu, 22 Dec 2005 10:34:19 +0000 (10:34 +0000)]
Add a letterspace in InlineKnuthSequence

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358552 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdjust to changes in KnuthSequence.
Jeremias Maerki [Thu, 22 Dec 2005 09:47:40 +0000 (09:47 +0000)]
Adjust to changes in KnuthSequence.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358544 13f79535-47bb-0310-9956-ffa450edef68

18 years agoIssue a warning when an unresolved bookmark item is received. This will be currently...
Jeremias Maerki [Thu, 22 Dec 2005 08:51:37 +0000 (08:51 +0000)]
Issue a warning when an unresolved bookmark item is received. This will be 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

18 years agoModified the KnuthSequence system. Transferred logic from the layout
Simon Pepping [Thu, 22 Dec 2005 08:48:51 +0000 (08:48 +0000)]
Modified the KnuthSequence system. Transferred logic from the layout
managers to the KnuthSequences.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358534 13f79535-47bb-0310-9956-ffa450edef68

18 years agoIntroduced a flag to tell the page breaking to operate in auto-height mode, i.e....
Jeremias Maerki [Thu, 22 Dec 2005 07:58:31 +0000 (07:58 +0000)]
Introduced a flag to tell the page breaking to operate in auto-height mode, 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

18 years agoApacheCon is over. Keeping the old entry as a template for the next issue.
Jeremias Maerki [Wed, 21 Dec 2005 22:18:20 +0000 (22:18 +0000)]
ApacheCon is over. Keeping the old entry as a template for the next issue.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358398 13f79535-47bb-0310-9956-ffa450edef68

18 years agoDominic Brügger indeed found a bug. Strange that it only appears with break-after...
Jeremias Maerki [Wed, 21 Dec 2005 14:44:39 +0000 (14:44 +0000)]
Dominic Brügger indeed found a bug. Strange that it only appears with 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

18 years agoFurther decoupling the area tree from the FO tree.
Jeremias Maerki [Wed, 21 Dec 2005 10:20:56 +0000 (10:20 +0000)]
Further decoupling the area tree from the FO tree.
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

18 years agoForgot to add a toString() method to keep tests happy.
Jeremias Maerki [Wed, 21 Dec 2005 09:29:06 +0000 (09:29 +0000)]
Forgot to add a toString() method to keep tests happy.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358240 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFirst step towards reactivating CachedRenderPagesModel (helps preparing for the inter...
Jeremias Maerki [Tue, 20 Dec 2005 12:53:50 +0000 (12:53 +0000)]
First step towards reactivating CachedRenderPagesModel (helps preparing for 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

18 years agoBugzilla #37964:
Jeremias Maerki [Tue, 20 Dec 2005 09:33:44 +0000 (09:33 +0000)]
Bugzilla #37964:
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

18 years agoOne less lookup.
Jeremias Maerki [Mon, 19 Dec 2005 15:14:01 +0000 (15:14 +0000)]
One less lookup.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357705 13f79535-47bb-0310-9956-ffa450edef68

18 years agoUpdate for status page. Table on status of the individual components added. This...
Jeremias Maerki [Mon, 19 Dec 2005 10:46:54 +0000 (10:46 +0000)]
Update for status page. Table on status of the individual components added. 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

18 years agoFix for width checks. They didn't take start-indent and end-indent into account.
Jeremias Maerki [Mon, 19 Dec 2005 09:50:15 +0000 (09:50 +0000)]
Fix for width checks. They didn't take start-indent and end-indent into account.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357674 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAnother workaround/hack to deal with non breaking spaces. Also some minor adjustments...
Manuel Mall [Sat, 17 Dec 2005 05:26:36 +0000 (05:26 +0000)]
Another workaround/hack to deal with non breaking spaces. Also some minor 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

18 years agoXMLHandler interface changed so it reports whether it supports a particular Renderer...
Jeremias Maerki [Fri, 16 Dec 2005 14:40:20 +0000 (14:40 +0000)]
XMLHandler interface changed so it reports whether it supports a particular 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

18 years agoNOTE: API changes in a backwards-incompatible way: FOUserAgent.setResolution() -...
Jeremias Maerki [Thu, 15 Dec 2005 22:20:48 +0000 (22:20 +0000)]
NOTE: API changes in a backwards-incompatible way: 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

18 years agoBugzilla #37877:
Jeremias Maerki [Thu, 15 Dec 2005 19:18:22 +0000 (19:18 +0000)]
Bugzilla #37877:
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

18 years agoDebug optimization
Jeremias Maerki [Thu, 15 Dec 2005 19:17:01 +0000 (19:17 +0000)]
Debug optimization

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357061 13f79535-47bb-0310-9956-ffa450edef68

18 years agoBugzilla #37875:
Jeremias Maerki [Thu, 15 Dec 2005 16:59:37 +0000 (16:59 +0000)]
Bugzilla #37875:
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

18 years agoFixed a problem where a block containing only a nbsp was not rendered at all
Manuel Mall [Thu, 15 Dec 2005 15:44:02 +0000 (15:44 +0000)]
Fixed a problem where a block containing only a nbsp was not rendered at all

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357034 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFixed a bug where the area for a finished cell that is broken over pages was created...
Jeremias Maerki [Thu, 15 Dec 2005 13:04:29 +0000 (13:04 +0000)]
Fixed a bug where the area for a finished cell that is broken over pages was 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

18 years agoAttempt at providing context information about the element causing an endless loop...
Jeremias Maerki [Thu, 15 Dec 2005 10:57:45 +0000 (10:57 +0000)]
Attempt at providing context information about the element causing an 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

18 years agoAdded checks that warn about tables and block-containers that are wider than the...
Jeremias Maerki [Thu, 15 Dec 2005 10:18:22 +0000 (10:18 +0000)]
Added checks that warn about tables and block-containers that are wider than the available content area.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357000 13f79535-47bb-0310-9956-ffa450edef68

18 years agoCorrected info.
Jeremias Maerki [Wed, 14 Dec 2005 17:00:43 +0000 (17:00 +0000)]
Corrected info.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@356807 13f79535-47bb-0310-9956-ffa450edef68

18 years agoDon't hyphenate when wrap is set to "no-wrap".
Jeremias Maerki [Wed, 14 Dec 2005 16:57:16 +0000 (16:57 +0000)]
Don't hyphenate when wrap is set to "no-wrap".
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

18 years agoBugfix: addAnchor didn't find the anchor for empty inline elements in a footnote...
Jeremias Maerki [Wed, 14 Dec 2005 16:04:13 +0000 (16:04 +0000)]
Bugfix: addAnchor didn't find the anchor for empty inline elements in a 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

18 years agoRestored PNG support for RTF output and fixed two bugs related to image handling...
Jeremias Maerki [Tue, 13 Dec 2005 20:41:28 +0000 (20:41 +0000)]
Restored PNG support for RTF output and fixed two bugs related to image 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

18 years agoBugzilla #37880:
Jeremias Maerki [Tue, 13 Dec 2005 19:50:59 +0000 (19:50 +0000)]
Bugzilla #37880:
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

18 years agostartVPArea() and endVPArea() made abstract in AbstractRenderer so implementors are...
Jeremias Maerki [Tue, 13 Dec 2005 19:49:16 +0000 (19:49 +0000)]
startVPArea() and endVPArea() made abstract in AbstractRenderer so 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

18 years agoNew method: FONode.decorateWithContextInfo() adds context information to an error...
Jeremias Maerki [Tue, 13 Dec 2005 19:48:04 +0000 (19:48 +0000)]
New method: FONode.decorateWithContextInfo() adds context information to an 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

18 years agoRemoved a method call that is not yet available in the repository. Sorry guys.
Jeremias Maerki [Mon, 12 Dec 2005 22:20:44 +0000 (22:20 +0000)]
Removed a method call that is not yet available in the repository. Sorry guys.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@356397 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd checkstyle variable to the header path. This is required by the
Simon Pepping [Mon, 12 Dec 2005 21:06:12 +0000 (21:06 +0000)]
Add checkstyle variable to the header path. This is required by the
eclipse plugin

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@356377 13f79535-47bb-0310-9956-ffa450edef68

18 years agoQuick fix to get the size of images right in RTF output. It looks like \picwgoalN...
Jeremias Maerki [Mon, 12 Dec 2005 19:28:33 +0000 (19:28 +0000)]
Quick fix to get the size of images right in RTF output. It looks like \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

18 years agoNew download location
Christian Geisert [Mon, 12 Dec 2005 18:53:24 +0000 (18:53 +0000)]
New download location

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@356325 13f79535-47bb-0310-9956-ffa450edef68

18 years agoXSL 1.1 Bookmarks added to the compliance page.
Jeremias Maerki [Sun, 11 Dec 2005 09:59:24 +0000 (09:59 +0000)]
XSL 1.1 Bookmarks added to the compliance page.
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

18 years agoThe result of some practice with Checkstyle
Simon Pepping [Fri, 9 Dec 2005 12:46:23 +0000 (12:46 +0000)]
The result of some practice with Checkstyle

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@355471 13f79535-47bb-0310-9956-ffa450edef68

18 years agoMade the locator variable on FONode protected.
Jeremias Maerki [Fri, 9 Dec 2005 09:34:49 +0000 (09:34 +0000)]
Made the locator variable on FONode protected.
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

18 years agoThe command-line now automatically sets two parameters for any XSLT transformation...
Jeremias Maerki [Fri, 9 Dec 2005 08:27:01 +0000 (08:27 +0000)]
The command-line now automatically sets two parameters for any XSLT 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

18 years agoThe output file is now deleted when an exception occurs when calling FOP from the...
Jeremias Maerki [Fri, 9 Dec 2005 07:44:09 +0000 (07:44 +0000)]
The output file is now deleted when an exception occurs when calling FOP from the command-line.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@355401 13f79535-47bb-0310-9956-ffa450edef68

18 years agoBetter approach for enforcing the overflow property on block-containers.
Jeremias Maerki [Thu, 8 Dec 2005 15:55:19 +0000 (15:55 +0000)]
Better approach for enforcing the overflow property on block-containers.
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

18 years agoBugfix: Areas for table-cells that are broken over more than one page are now generat...
Jeremias Maerki [Thu, 8 Dec 2005 14:55:53 +0000 (14:55 +0000)]
Bugfix: Areas for table-cells that are broken over more than one page are 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

18 years agoLooks like the 2-column situation has to be handled differently than the 3-column...
Jeremias Maerki [Thu, 8 Dec 2005 10:15:33 +0000 (10:15 +0000)]
Looks like the 2-column situation has to be handled differently than the 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

18 years agoBugzilla #37828:
Jeremias Maerki [Thu, 8 Dec 2005 08:51:14 +0000 (08:51 +0000)]
Bugzilla #37828:
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

18 years agoAlternative set of rules for text indent calculation (start-indent and end-indent...
Jeremias Maerki [Wed, 7 Dec 2005 15:15:38 +0000 (15:15 +0000)]
Alternative set of rules for text indent calculation (start-indent and 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

18 years agoBugzilla #37815:
Jeremias Maerki [Wed, 7 Dec 2005 09:40:16 +0000 (09:40 +0000)]
Bugzilla #37815:
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

18 years agoBugzilla #37813:
Jeremias Maerki [Wed, 7 Dec 2005 09:01:26 +0000 (09:01 +0000)]
Bugzilla #37813:
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

18 years agoBugfix: OutputStreams created by the PNG Renderer were not properly closed.
Jeremias Maerki [Tue, 6 Dec 2005 20:35:15 +0000 (20:35 +0000)]
Bugfix: OutputStreams created by the PNG Renderer were not properly closed.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@354537 13f79535-47bb-0310-9956-ffa450edef68

18 years agoThe border-collapse property on fo:table is now forced to the value "separate" until...
Jeremias Maerki [Mon, 5 Dec 2005 14:05:16 +0000 (14:05 +0000)]
The border-collapse property on fo:table is now forced to the value "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

18 years agoBetter not use something derived from "fantasy" since it's a keyword in the spec.
Jeremias Maerki [Fri, 2 Dec 2005 14:59:39 +0000 (14:59 +0000)]
Better not use something derived from "fantasy" since it's a keyword in the spec.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@351744 13f79535-47bb-0310-9956-ffa450edef68

18 years agofont-family list still not fully supported but a comma-separated list is now properly...
Jeremias Maerki [Fri, 2 Dec 2005 14:27:35 +0000 (14:27 +0000)]
font-family list still not fully supported but a comma-separated list is now 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

18 years agoImplemented 5.3.4 overconstrained geometry without handling the case when the content...
Jeremias Maerki [Fri, 2 Dec 2005 09:52:38 +0000 (09:52 +0000)]
Implemented 5.3.4 overconstrained geometry without handling the case when the content IPD is zero.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@351655 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFixing two NPEs occurring with a completely empty table where not even the table...
Jeremias Maerki [Thu, 1 Dec 2005 21:56:02 +0000 (21:56 +0000)]
Fixing two NPEs occurring with a completely empty table where not even the 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

18 years agoTest case for Bugzilla #37743, reduced to the absolute minimum.
Jeremias Maerki [Thu, 1 Dec 2005 20:27:30 +0000 (20:27 +0000)]
Test case for Bugzilla #37743, reduced to the absolute minimum.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@351460 13f79535-47bb-0310-9956-ffa450edef68

18 years agoBugfix: Relatively positioned BlockViewports (from block-containers) caused the paint...
Jeremias Maerki [Thu, 1 Dec 2005 16:05:00 +0000 (16:05 +0000)]
Bugfix: Relatively positioned BlockViewports (from block-containers) caused 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

18 years agoAdded Amin Ahmad's FOP Bridge to the list of tools.
Jeremias Maerki [Thu, 1 Dec 2005 07:29:40 +0000 (07:29 +0000)]
Added Amin Ahmad's FOP Bridge to the list of tools.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@350199 13f79535-47bb-0310-9956-ffa450edef68

19 years agoSome news sites point to this page as primary link and there's no "download" link...
Jeremias Maerki [Wed, 30 Nov 2005 13:52:29 +0000 (13:52 +0000)]
Some news sites point to this page as primary link and there's no "download" link visible from here.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@349951 13f79535-47bb-0310-9956-ffa450edef68

19 years agoChanging the debug level of a not so interesting message.
Jeremias Maerki [Wed, 30 Nov 2005 09:07:54 +0000 (09:07 +0000)]
Changing the debug level of a not so interesting message.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@349911 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTest case for conditionality notification in table-cell content (Belongs to rev 349909).
Jeremias Maerki [Wed, 30 Nov 2005 08:53:44 +0000 (08:53 +0000)]
Test case for conditionality notification in table-cell content (Belongs to rev 349909).

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@349910 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBugfix: Added missing conditionality notification for table-cell content.
Jeremias Maerki [Wed, 30 Nov 2005 08:52:26 +0000 (08:52 +0000)]
Bugfix: Added missing conditionality notification for table-cell content.
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

19 years agoNegative widths on inline-progression-dimension and block-progression-dimension shoul...
Jeremias Maerki [Tue, 29 Nov 2005 15:54:47 +0000 (15:54 +0000)]
Negative widths on inline-progression-dimension and block-progression-dimension should be treated as 0pt but they are currently not.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@349743 13f79535-47bb-0310-9956-ffa450edef68

19 years agoSupport checking for the subcomponents of length-range properties in the FO Tree...
Jeremias Maerki [Tue, 29 Nov 2005 15:53:20 +0000 (15:53 +0000)]
Support checking for the subcomponents of length-range properties in the FO Tree tests.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@349742 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRelaxed validation for border and padding on region-*.
Jeremias Maerki [Tue, 29 Nov 2005 15:52:14 +0000 (15:52 +0000)]
Relaxed validation for border and padding on region-*.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@349740 13f79535-47bb-0310-9956-ffa450edef68

19 years agoLooks like font-variant works in 0.20.5. I didn't know.
Jeremias Maerki [Tue, 29 Nov 2005 15:48:21 +0000 (15:48 +0000)]
Looks like font-variant works in 0.20.5. I didn't know.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@349738 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBugfix for "/ by zero" ArithmeticExceptions when an URL to a non-existing image is...
Jeremias Maerki [Tue, 29 Nov 2005 10:33:01 +0000 (10:33 +0000)]
Bugfix for "/ by zero" ArithmeticExceptions when an URL to a non-existing 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

19 years agoChange more links from xml.apache.org to xmlgraphics.apache.org.
Simon Pepping [Fri, 25 Nov 2005 22:37:49 +0000 (22:37 +0000)]
Change more links from xml.apache.org to xmlgraphics.apache.org.
Change the file name helloworld.svg to lower case, as used in the java file.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@349032 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBugfix for a multi-threading problem:
Jeremias Maerki [Thu, 24 Nov 2005 20:08:56 +0000 (20:08 +0000)]
Bugfix for a multi-threading problem:
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

19 years agoBugfix for placement of text inside a text area when borders are present in PostScrip...
Jeremias Maerki [Thu, 24 Nov 2005 19:53:43 +0000 (19:53 +0000)]
Bugfix for placement of text inside a text area when borders are present in PostScript output.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348792 13f79535-47bb-0310-9956-ffa450edef68

19 years agoStatus update.
Jeremias Maerki [Thu, 24 Nov 2005 19:43:55 +0000 (19:43 +0000)]
Status update.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348789 13f79535-47bb-0310-9956-ffa450edef68

19 years agoImprovements for leader painting in PDF. "dots" are actually dots now, nicer ridge...
Jeremias Maerki [Thu, 24 Nov 2005 19:41:11 +0000 (19:41 +0000)]
Improvements for leader painting in PDF. "dots" are actually dots now, nicer 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

19 years agoBugzilla #37521:
Jeremias Maerki [Thu, 24 Nov 2005 15:17:36 +0000 (15:17 +0000)]
Bugzilla #37521:
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

19 years agoBugzilla #37557:
Jeremias Maerki [Thu, 24 Nov 2005 15:10:44 +0000 (15:10 +0000)]
Bugzilla #37557:
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

19 years agoGoing back to SVN Trunk mode.
Jeremias Maerki [Thu, 24 Nov 2005 14:57:26 +0000 (14:57 +0000)]
Going back to SVN Trunk mode.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348747 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFound another old URL
Jeremias Maerki [Thu, 24 Nov 2005 14:55:12 +0000 (14:55 +0000)]
Found another old URL

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348746 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdded support for border-separation.block-progression-direction (only inline-progress...
Jeremias Maerki [Thu, 24 Nov 2005 14:54:06 +0000 (14:54 +0000)]
Added support for border-separation.block-progression-direction (only 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

19 years agoDocumenting the new hyphenation-ladder-count feature.
Jeremias Maerki [Thu, 24 Nov 2005 12:58:37 +0000 (12:58 +0000)]
Documenting the new hyphenation-ladder-count feature.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348722 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd DITA mailing list.
Jeremias Maerki [Thu, 24 Nov 2005 12:29:39 +0000 (12:29 +0000)]
Add DITA mailing list.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348721 13f79535-47bb-0310-9956-ffa450edef68

19 years agoCleaned up all entries (except whitespace-related stuff) in disabled-testcases.xml.
Jeremias Maerki [Thu, 24 Nov 2005 11:14:00 +0000 (11:14 +0000)]
Cleaned up all entries (except whitespace-related stuff) in disabled-testcases.xml.
block_padding_2's expected element list was wrong. An infinite penalty was missing for the "retain" element.
inline-block_keep-together was a misleading name: it is now inline_keep-together.xml.
Bug 36356 actually behaves like it should, now, but the checks were wrong. Only one margin was used in the width calculation and a count() was missing in the second check.
table_border-width_conditionality.xml specified conditionality for start and end edges instead of before and after. The test itself has to be looked at again because shorthands are in use and this case some consequences as discussed earlier.
Another test case could be enabled because it works now: page-number_initial-page-number_2

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348708 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdded docbook-apps as announcement targets as suggested by Vincent Hennebert.
Jeremias Maerki [Thu, 24 Nov 2005 08:15:43 +0000 (08:15 +0000)]
Added docbook-apps as announcement targets as suggested by Vincent Hennebert.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348684 13f79535-47bb-0310-9956-ffa450edef68

19 years agoNews entry for the 0.90alpha1 release.
Jeremias Maerki [Wed, 23 Nov 2005 13:41:38 +0000 (13:41 +0000)]
News entry for the 0.90alpha1 release.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348438 13f79535-47bb-0310-9956-ffa450edef68

19 years agoCocoon is fun! disabled-testcases.xml from both fotree and layoutengine directories...
Jeremias Maerki [Wed, 23 Nov 2005 13:36:07 +0000 (13:36 +0000)]
Cocoon is fun! disabled-testcases.xml from both fotree and layoutengine directories integrated into a single page about "known issues".

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348437 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdded test case for hyphenation-ladder-count, fix broken build.xml with respect hyphe...
Manuel Mall [Wed, 23 Nov 2005 05:08:05 +0000 (05:08 +0000)]
Added test case for hyphenation-ladder-count, fix broken build.xml with respect hyphenation layout tests

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348376 13f79535-47bb-0310-9956-ffa450edef68

19 years agoCollect places to announce FOP releases.
Jeremias Maerki [Tue, 22 Nov 2005 23:34:57 +0000 (23:34 +0000)]
Collect places to announce FOP releases.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348291 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBugzilla #37589:
Jeremias Maerki [Tue, 22 Nov 2005 18:53:40 +0000 (18:53 +0000)]
Bugzilla #37589:
Added note about iText's PDFStamper.
Submitted by: Jens Stavnstrup <js@ddre.dk>

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348211 13f79535-47bb-0310-9956-ffa450edef68

19 years agoI managed to overlook some old URLs. Horrible.
Jeremias Maerki [Tue, 22 Nov 2005 18:32:11 +0000 (18:32 +0000)]
I managed to overlook some old URLs. Horrible.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348206 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMerged changes 345575:345890 from branches/fop-0_90 into trunk:
Jeremias Maerki [Tue, 22 Nov 2005 18:26:26 +0000 (18:26 +0000)]
Merged changes 345575:345890 from branches/fop-0_90 into trunk:

"build/site" is now copied to "docs".
The build directory isn't included in either distribution anymore.
Source distribution doesn't contain fop.jar, javadocs and compiled docs anymore to make the distribution smaller.
KEYS and status.xml and lib/xalan*.txt added (Thanks, Simon).
Added version info to javadocs.
Removed limitation to build javadocs only with JDKs >= 1.4. It works fine for me on Win32 Sun JDK 1.3.1_15.
You can add "javahome.jdk14" to your build-local.properties so Forrest docs can be built during a JDK 1.3 distribution build.
Added release notes to site (Thanks, Christian, for the reminder).
Append JDK indicator to binary distribution using system property java.specification.version.
upgrade guide: new configuration format (CG)
Documented additional known issue with PS Renderer that I didn't have time to fix.
Redirects and release names cleaned up as per Simon's suggestions.
Added link to latest release branch to download page.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348205 13f79535-47bb-0310-9956-ffa450edef68

19 years agoForgot the references.
Jeremias Maerki [Tue, 22 Nov 2005 09:59:19 +0000 (09:59 +0000)]
Forgot the references.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348139 13f79535-47bb-0310-9956-ffa450edef68