]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
20 years agoSome simplification of FOText object.
Glen Mazza [Fri, 27 Feb 2004 03:21:59 +0000 (03:21 +0000)]
Some simplification of FOText object.

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

20 years agoUse the new property expressions. Clients must use Length when retrieving
Finn Bock [Thu, 26 Feb 2004 15:47:03 +0000 (15:47 +0000)]
Use the new property expressions. Clients must use Length when retrieving
a length and must delay the call to Length.getValue() until the
baselength has been assigned by the LayoutManagers.

PR: 26778 (second half)

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

20 years agoMade redundant by the expresion tree.
Finn Bock [Thu, 26 Feb 2004 15:39:15 +0000 (15:39 +0000)]
Made redundant by the expresion tree.

PR: 26778

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

20 years agoSupport for percentages in property expression.
Finn Bock [Thu, 26 Feb 2004 15:33:42 +0000 (15:33 +0000)]
Support for percentages in property expression.

The different length properties all implement a Length interface
and all clients of the property subsystem must use the Length interface
when retrieving lengths.

The two different numerics (absolute and relative) both implement a
Numeric interface and all property calculations are done in terms of
the Numeric interface.

Lengths can be cast to numeric and can thus participate in expresions and
numerics can be cast to length (when dimension is 1) and can thus be used
as a length by the clients.

The call to Length.getValue() will cause relative lengths to be resolved
against their base length, and care must be taken to ensure that
getLength() is only called after all baselength has been assigned to the
FO elements.

PR: 26778 (first part).

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

20 years agoChanged internal renderInlineXXX() functions from public to protected access. Remove...
Glen Mazza [Wed, 25 Feb 2004 11:52:32 +0000 (11:52 +0000)]
Changed internal renderInlineXXX() functions from public to protected access.  Removed need for renderers to specifically implement them in Renderer interface.

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

20 years agoRemoval of Visitor patterns from AbstractRenderer, moving of business logic from...
Glen Mazza [Wed, 25 Feb 2004 03:32:17 +0000 (03:32 +0000)]
Removal of Visitor patterns from AbstractRenderer, moving of business logic from InlineArea to AbstractRenderer.

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

20 years agoFormatting cleanup of fo:layout-master-sets in examples.
Glen Mazza [Sun, 22 Feb 2004 13:37:07 +0000 (13:37 +0000)]
Formatting cleanup of fo:layout-master-sets in examples.

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

20 years agoModification made for collecting parameters to be compatible (hopefully) with
Glen Mazza [Wed, 11 Feb 2004 22:48:32 +0000 (22:48 +0000)]
Modification made for collecting parameters to be compatible (hopefully) with
Win9x.  Work from Apache Ant.

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

20 years ago1.) Deprecation of most constructors in XSLTInputHandler in favor of JAXP.
Glen Mazza [Tue, 10 Feb 2004 23:51:26 +0000 (23:51 +0000)]
1.)  Deprecation of most constructors in XSLTInputHandler in favor of JAXP.
2.)  Removal of unused transformer member variable in XSLTInputHandler.
3.)  Partial modifications -- code from Xalan project -- in order to be
     able to handle command line parameters for XSLT stylesheet.  (Changes
     still needed in XSLTInputHandler.getXMLFilter() -- unsure how to set
     parameters to an XMLFilter.

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

20 years agoUpdated fop.bat.
Glen Mazza [Tue, 10 Feb 2004 22:27:42 +0000 (22:27 +0000)]
Updated fop.bat.

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

20 years agoDraw the borders of a BlockViewport before setting the CTM
Finn Bock [Tue, 10 Feb 2004 19:28:17 +0000 (19:28 +0000)]
Draw the borders of a BlockViewport before setting the CTM
transformation. This way the viewport is relative to the current CTM
and the content of the Viewport is relative to the viewport CTM.

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

20 years agoSet correct ipd/bpd of both the viewport and reference area.
Finn Bock [Tue, 10 Feb 2004 19:25:15 +0000 (19:25 +0000)]
Set correct ipd/bpd of both the viewport and reference area.

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

20 years agoAdded '-results' options to set the result ouput directory.
Finn Bock [Tue, 10 Feb 2004 17:42:03 +0000 (17:42 +0000)]
Added '-results' options to set the result ouput directory.

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

20 years agoModification of ExampleXML2PDF to show a Transformer.setParameter() call.
Glen Mazza [Mon, 9 Feb 2004 22:04:23 +0000 (22:04 +0000)]
Modification of ExampleXML2PDF to show a Transformer.setParameter() call.
Fix to xsl stylesheet to show '1.0' instead of just '1' for the version number
(fix from Clay Leeds).

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

20 years agoSimplefy the huge merge loop and allow compilation with jdk1.3.
Finn Bock [Mon, 9 Feb 2004 21:30:56 +0000 (21:30 +0000)]
Simplefy the huge merge loop and allow compilation with jdk1.3.

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

20 years agoFixed the missing table header bug.
Joerg Pietschmann [Sat, 7 Feb 2004 23:10:19 +0000 (23:10 +0000)]
Fixed the missing table header bug.

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

20 years agoDon't copy codegen files.
Joerg Pietschmann [Sat, 7 Feb 2004 23:03:44 +0000 (23:03 +0000)]
Don't copy codegen files.
Pass graphics configuration adapter source to javadoc.
Random xdoc directory reference fixes (still incomplete).

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

20 years agoFix packaging of all-in-one transcoder JAR (due to changes in Commons IO).
Jeremias Maerki [Fri, 6 Feb 2004 21:51:01 +0000 (21:51 +0000)]
Fix packaging of all-in-one transcoder JAR (due to changes in Commons IO).

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

20 years agoAdapt to changes in Commons IO's APIs.
Jeremias Maerki [Fri, 6 Feb 2004 21:49:48 +0000 (21:49 +0000)]
Adapt to changes in Commons IO's APIs.

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

20 years agoUpdating to latest Commons IO snapshot (Reason: API changes).
Jeremias Maerki [Fri, 6 Feb 2004 21:48:30 +0000 (21:48 +0000)]
Updating to latest Commons IO snapshot (Reason: API changes).

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

20 years agoSupport for text-indent.
Finn Bock [Thu, 5 Feb 2004 17:59:30 +0000 (17:59 +0000)]
Support for text-indent.

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

20 years agoLatest changes about property datatypes.
Finn Bock [Thu, 5 Feb 2004 17:58:13 +0000 (17:58 +0000)]
Latest changes about property datatypes.

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

20 years agoAdded a parameter to the projectteam2fo.xsl example (for subsequent use
Glen Mazza [Thu, 5 Feb 2004 00:31:50 +0000 (00:31 +0000)]
Added a parameter to the projectteam2fo.xsl example (for subsequent use
in showing a setTransform() call in the samples); also added a needed
library to the examples' build.xml file.

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

20 years agoFix javadocs warnings caused by the recent moves of property classes and
Finn Bock [Wed, 4 Feb 2004 13:24:53 +0000 (13:24 +0000)]
Fix javadocs warnings caused by the recent moves of property classes and
makers.

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

20 years agoDo the regiontraits before changes ctm because the ctm only apply for the
Finn Bock [Wed, 4 Feb 2004 13:06:36 +0000 (13:06 +0000)]
Do the regiontraits before changes ctm because the ctm only apply for the
region reference area, not the viewport itself.

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

20 years agoSet the ipd and bpd on the region reference area based on the reldims
Finn Bock [Wed, 4 Feb 2004 13:04:17 +0000 (13:04 +0000)]
Set the ipd and bpd on the region reference area based on the reldims
and use those values those values for layout.

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

20 years agoSupport for "margin" shorthands for margin-[left,right].
Finn Bock [Wed, 4 Feb 2004 12:58:27 +0000 (12:58 +0000)]
Support for "margin" shorthands for margin-[left,right].

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

20 years agoAdded a bpd field so that region reference areas has both ipd (from Area)
Finn Bock [Wed, 4 Feb 2004 12:57:28 +0000 (12:57 +0000)]
Added a bpd field so that region reference areas has both ipd (from Area)
and bpd.

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

20 years agoAdd support for setting margin-[top,botton,left,right] by specifying
Finn Bock [Wed, 4 Feb 2004 12:38:27 +0000 (12:38 +0000)]
Add support for setting margin-[top,botton,left,right] by specifying
the "margin" shorthand property.

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

20 years agoCopyright year update and enable keyword subst.
Jeremias Maerki [Tue, 3 Feb 2004 22:15:03 +0000 (22:15 +0000)]
Copyright year update and enable keyword subst.

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

20 years agoTab char and style fixes only.
Jeremias Maerki [Tue, 3 Feb 2004 22:11:15 +0000 (22:11 +0000)]
Tab char and style fixes only.

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

20 years agoStyle fixes only.
Jeremias Maerki [Tue, 3 Feb 2004 22:10:39 +0000 (22:10 +0000)]
Style fixes only.

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

20 years agoMove FOTreeListener registration and removal into getContentHandler() to fix SAX...
Jeremias Maerki [Tue, 3 Feb 2004 22:09:47 +0000 (22:09 +0000)]
Move FOTreeListener registration and removal into getContentHandler() to fix SAX use case as demonstrated in ExampleXML2PDF.

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

20 years agoSimple proxying ContentHandler.
Jeremias Maerki [Tue, 3 Feb 2004 22:08:05 +0000 (22:08 +0000)]
Simple proxying ContentHandler.

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

20 years agoRe-enable toString() for the properties which wrap another object.
Finn Bock [Tue, 3 Feb 2004 18:25:17 +0000 (18:25 +0000)]
Re-enable toString() for the properties which wrap another object.

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

20 years agoSupport getObject(), used by Property.toString().
Finn Bock [Tue, 3 Feb 2004 16:39:06 +0000 (16:39 +0000)]
Support getObject(), used by Property.toString().

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

20 years agoPhase 3 (last) of bug 26434.
Finn Bock [Mon, 2 Feb 2004 16:08:27 +0000 (16:08 +0000)]
Phase 3 (last) of bug 26434.

- Move the property classes to fop.fo.properties.

PR: 26434

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

20 years agoRemoved unused import.
Finn Bock [Mon, 2 Feb 2004 15:05:51 +0000 (15:05 +0000)]
Removed unused import.

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

20 years agoPhase 2 of bug 26434.
Finn Bock [Mon, 2 Feb 2004 15:01:41 +0000 (15:01 +0000)]
Phase 2 of bug 26434.

- Roll the datatypes logic into the property classes.

PR: 26434.

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

20 years agoMove the handmade makers into package fop.fo.properties.
Finn Bock [Mon, 2 Feb 2004 08:38:27 +0000 (08:38 +0000)]
Move the handmade makers into package fop.fo.properties.

PR: 26434

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

20 years agoPhase 1 of 26434.
Finn Bock [Mon, 2 Feb 2004 08:27:36 +0000 (08:27 +0000)]
Phase 1 of 26434.

- Unnest Property.Maker into fop.fo.properties.PropertyMaker.
- Move the handmade makers into package fop.fo.properties.

PR: 26434

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

20 years agofixed runtime error while reading PR_BORDER_WIDTH or PR_BORDER_STYLE
Peter Herweg [Fri, 30 Jan 2004 10:51:53 +0000 (10:51 +0000)]
fixed runtime error while reading PR_BORDER_WIDTH or PR_BORDER_STYLE

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

20 years agoHandle SPACE_START trait for block areas.
Finn Bock [Thu, 29 Jan 2004 19:45:48 +0000 (19:45 +0000)]
Handle SPACE_START trait for block areas.

PR: 25802.

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

20 years agoHardcoded start-indent to 24pt no longer needed because SPACE_START trait
Finn Bock [Thu, 29 Jan 2004 19:44:23 +0000 (19:44 +0000)]
Hardcoded start-indent to 24pt no longer needed because SPACE_START trait
it set by the start-indent property.

PR: 25802.

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

20 years agoSet the SPACE_START and SPACE_END traits and adjust the height to take
Finn Bock [Thu, 29 Jan 2004 19:43:05 +0000 (19:43 +0000)]
Set the SPACE_START and SPACE_END traits and adjust the height to take
border and padding into account.

PR: 25802.

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

20 years agoA hack to calculate the startIndent and endIndent based on either margin
Finn Bock [Thu, 29 Jan 2004 19:39:26 +0000 (19:39 +0000)]
A hack to calculate the startIndent and endIndent based on either margin
or startIndent.

PR: 25802.

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

20 years agoAdded getBPPaddingAndBorder() to return the border and padding length in
Finn Bock [Thu, 29 Jan 2004 19:37:02 +0000 (19:37 +0000)]
Added getBPPaddingAndBorder() to return the border and padding length in
the BP direction.

PR: 25802.

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

20 years agoAdded addMargins() to set the SPACE_* traits.
Finn Bock [Thu, 29 Jan 2004 19:36:04 +0000 (19:36 +0000)]
Added addMargins() to set the SPACE_* traits.

PR: 25802.

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

20 years agoAdded SPACE_START and SPACE_END traits.
Finn Bock [Thu, 29 Jan 2004 19:34:22 +0000 (19:34 +0000)]
Added SPACE_START and SPACE_END traits.

PR: 25802.

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

20 years agoFix a NPE when the last shorthand was not detected.
Finn Bock [Thu, 29 Jan 2004 13:32:04 +0000 (13:32 +0000)]
Fix a NPE when the last shorthand was not detected.

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

20 years agoimproved support for margin-top and margin-bottom in fo:region-XXX
Peter Herweg [Wed, 28 Jan 2004 19:00:09 +0000 (19:00 +0000)]
improved support for margin-top and margin-bottom in fo:region-XXX

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

20 years agoRemoved call of JFOR's WhiteSpaceCollapser; now this is done by FOP
Peter Herweg [Tue, 27 Jan 2004 17:33:27 +0000 (17:33 +0000)]
Removed call of JFOR's WhiteSpaceCollapser; now this is done by FOP

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

20 years agoSubmitted by Lucas Bruand to JFOR: escape all characters > 127 instead of 255
Peter Herweg [Tue, 27 Jan 2004 16:58:58 +0000 (16:58 +0000)]
Submitted by Lucas Bruand to JFOR: escape all characters > 127 instead of 255

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

20 years agoadded support for white-space-treatment and linefeed-treatment by deferring the proce...
Peter Herweg [Tue, 27 Jan 2004 16:51:29 +0000 (16:51 +0000)]
added support for white-space-treatment and linefeed-treatment by deferring the processing of some FOs until execution of endBlock

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

20 years agoFix missing shorthands.
Finn Bock [Sun, 25 Jan 2004 22:34:49 +0000 (22:34 +0000)]
Fix missing shorthands.

PR: 26423
Submitted by: Simon Pepping

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

20 years agoSwitching from passing the FOUserAgent for several of the image
Glen Mazza [Sun, 25 Jan 2004 14:40:14 +0000 (14:40 +0000)]
Switching from passing the FOUserAgent for several of the image
functions to its internal Avalon logger instead.  (Only object used within
FOUserAgent parameter, plus this library is also used for the PDFTranscoder, plus
FOUserAgent not always available from everywhere anymore.)  Holding off making
a complete switch in this package (FOUserAgent still used in a few more
places, albeit only its logger is being requested)
until others comment.

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

20 years agoFix a 'javadoc' warning about missing @see target.
Finn Bock [Sun, 25 Jan 2004 13:59:33 +0000 (13:59 +0000)]
Fix a 'javadoc' warning about missing @see target.

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

20 years agofixed wrong datatype in overriden method
Peter Herweg [Sat, 24 Jan 2004 22:24:14 +0000 (22:24 +0000)]
fixed wrong datatype in overriden method

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

20 years agoFix javadoc warnings caused by unknown @see targets.
Finn Bock [Sat, 24 Jan 2004 16:09:48 +0000 (16:09 +0000)]
Fix javadoc warnings caused by unknown @see targets.

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

20 years agoFix javadoc warnings.
Finn Bock [Fri, 23 Jan 2004 21:39:59 +0000 (21:39 +0000)]
Fix javadoc warnings.

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

20 years agoFixed a bug where I got a NoClassDefFoundError when I'm using a build-local.propertie...
Jeremias Maerki [Fri, 23 Jan 2004 15:07:29 +0000 (15:07 +0000)]
Fixed a bug where I got a NoClassDefFoundError when I'm using a build-local.properties where I set optional.lib.dir to an absolute Windows path. These absolute paths weren't removed somehow resulting in NoClassDefFound errors due to a illegal Class-Path entry in fop.jar's manifest.

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

20 years agoApplied Thomas DeWeese's latest patch for the PDF transcoder.
Glen Mazza [Thu, 22 Jan 2004 22:40:51 +0000 (22:40 +0000)]
Applied Thomas DeWeese's latest patch for the PDF transcoder.

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

20 years agoFix typo in comments.
Finn Bock [Thu, 22 Jan 2004 10:56:11 +0000 (10:56 +0000)]
Fix typo in comments.

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

20 years agoUpdate changes on code-generated property makers.
Finn Bock [Thu, 22 Jan 2004 10:54:39 +0000 (10:54 +0000)]
Update changes on code-generated property makers.

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

20 years agoAbandon codegenerated property makers and use bean-like makers instead.
Finn Bock [Thu, 22 Jan 2004 09:06:05 +0000 (09:06 +0000)]
Abandon codegenerated property makers and use bean-like makers instead.

- ShorthandParsers are made stateless.
- Makers for compound properties inherts from new CompoundPropertyMaker
  class and overrides makeNewProperty.
- FOPropertyMapping is no longer generated but is handcoded.
- get() and findProperty() methods are moved from PropertyList to the
  property makers.

PR: 25873

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

20 years agoMatch the version string is apps.Version.
Finn Bock [Wed, 21 Jan 2004 19:36:39 +0000 (19:36 +0000)]
Match the version string is apps.Version.

PR: 25691

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

20 years agoAdd dependant jars to the classloader.
Finn Bock [Wed, 21 Jan 2004 19:35:00 +0000 (19:35 +0000)]
Add dependant jars to the classloader.
Don't check for org.apache.fop.apps.Options, it does not exists anymore.

PR: 25691

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

20 years agoUse PDFNumber.doubleOut to format the floats in a transformation matrix.
Finn Bock [Wed, 21 Jan 2004 18:50:45 +0000 (18:50 +0000)]
Use PDFNumber.doubleOut to format the floats in a transformation matrix.
This avoids scientific notation which is not supporter by pdf.

PR: 25880

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

20 years agoSubmitted by: Marc Wilhelm Kuester; added support for fo:list in fo:footnote; ensured...
Peter Herweg [Tue, 20 Jan 2004 21:37:24 +0000 (21:37 +0000)]
Submitted by: Marc Wilhelm Kuester; added support for fo:list in fo:footnote; ensured Word displays footnote, not endnote

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

20 years agoFix a NPE caused by avalonization of logging.
Finn Bock [Tue, 20 Jan 2004 11:45:48 +0000 (11:45 +0000)]
Fix a NPE caused by avalonization of logging.
Support for 'results' attribute on 'test' element, used by NIST suite.
Explicit close the output file, otherwise the file has a length of 0
when the files are compared (on windows).
Added -d option to enable debug output.

PR: 25691

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

20 years agoBlock height/width elaboration for XML Renderer--Patch by Finn Bock.
Glen Mazza [Tue, 20 Jan 2004 01:52:51 +0000 (01:52 +0000)]
Block height/width elaboration for XML Renderer--Patch by Finn Bock.

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

20 years agoFOPropertyMapping.java no longer autogenerated, moved from fop.fo.properties
Glen Mazza [Tue, 20 Jan 2004 01:33:58 +0000 (01:33 +0000)]
FOPropertyMapping.java no longer autogenerated, moved from fop.fo.properties
to fo package in preparation for new property maker implementation.

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

20 years agoInterfaces now in alphabetical order and detached from generic interfaces
Glen Mazza [Tue, 20 Jan 2004 01:14:33 +0000 (01:14 +0000)]
Interfaces now in alphabetical order and detached from generic interfaces
in autogenerated fo.properties.*; patch from Finn Bock--unneeded method in
PropertyInfo.

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

20 years agoUpdated team page--moved Finn, Andreas, Chris and Peter to active status;
Glen Mazza [Mon, 19 Jan 2004 23:56:50 +0000 (23:56 +0000)]
Updated team page--moved Finn, Andreas, Chris and Peter to active status;
set Victor and Keiron to inactive status, removed "former contributor"
section in favor of going back to giving credit within source files.

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

20 years agoreplaced string constants with int constants
Peter Herweg [Sun, 18 Jan 2004 21:21:41 +0000 (21:21 +0000)]
replaced string constants with int constants

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

20 years agoBug 25873 (from Finn Bock): Minor code cleanup issues.
Glen Mazza [Sat, 17 Jan 2004 22:02:03 +0000 (22:02 +0000)]
Bug 25873 (from Finn Bock):  Minor code cleanup issues.

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

20 years agoMoved the interfaces into the Constants class on a trial basis (we may still
Glen Mazza [Sat, 17 Jan 2004 19:29:46 +0000 (19:29 +0000)]
Moved the interfaces into the Constants class on a trial basis (we may still
choose to remove them in favor of strictly using Constants.)  Two interfaces
(span and position) were removed because of conflicts with other class names.

The interface generation was moved into Constants.xsl, which is run manually
via the XsltToJava ant task and its output is then checked in.  As a result,
no more autogeneration of these interfaces at build time will be done.

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

20 years agoFurther simplifications to file.
Glen Mazza [Sat, 17 Jan 2004 16:05:40 +0000 (16:05 +0000)]
Further simplifications to file.

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

20 years ago(Property Interface consolidation) Removed a redundancy in interface
Glen Mazza [Sat, 17 Jan 2004 15:37:27 +0000 (15:37 +0000)]
(Property Interface consolidation)  Removed a redundancy in interface
definitions:

from here (for several of the interfaces):

    public interface KeepWithNext {
        public interface WithinPage extends GenericKeep.Enums.WithinPage { }
        public interface WithinLine extends GenericKeep.Enums.WithinLine { }
        public interface WithinColumn extends GenericKeep.Enums.WithinColumn { } }

to here:

    public interface KeepWithNext extends GenericKeep.Enums { }

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

20 years agoMore String->Int conversions (ones I've missed previously.) Appears I've finally
Glen Mazza [Wed, 14 Jan 2004 00:00:38 +0000 (00:00 +0000)]
More String->Int conversions (ones I've missed previously.)  Appears I've finally
converted all of them.  From Finn Bock's patch.

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

20 years agostatic boolean array inheritableProperty[] added, to reduce processing costs
Glen Mazza [Tue, 13 Jan 2004 23:28:31 +0000 (23:28 +0000)]
static boolean array inheritableProperty[] added, to reduce processing costs
of lookups to see if a property is inheritable.  Work based on Finn Bock's patch.

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

20 years agoNews page updates.
Glen Mazza [Mon, 12 Jan 2004 01:26:58 +0000 (01:26 +0000)]
News page updates.

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

20 years agoswitch from Property.getPropName() to Property.getPropId(); comments added to
Glen Mazza [Sat, 10 Jan 2004 20:40:07 +0000 (20:40 +0000)]
switch from Property.getPropName() to Property.getPropId(); comments added to
PropertySets.java to clarify makeSparseIndices() method.

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

20 years agoadded support for fo:footnote
Peter Herweg [Sat, 10 Jan 2004 19:43:58 +0000 (19:43 +0000)]
added support for fo:footnote

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

20 years agoBug 25810 (Patch by Finn Bock) -- Support for inherit attribute value.
Glen Mazza [Fri, 9 Jan 2004 22:32:27 +0000 (22:32 +0000)]
Bug 25810 (Patch by Finn Bock) -- Support for inherit attribute value.

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

20 years agoStyle, javadoc and tab character fixes
Jeremias Maerki [Fri, 9 Jan 2004 08:56:43 +0000 (08:56 +0000)]
Style, javadoc and tab character fixes

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

20 years agoBug 25809 (Patch by Finn Bock) NPE for incorrectly created tables fixed.
Glen Mazza [Fri, 9 Jan 2004 03:26:00 +0000 (03:26 +0000)]
Bug 25809 (Patch by Finn Bock) NPE for incorrectly created tables fixed.
Also changed text of warning message.

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

20 years agoBug 25990 (Patch by Finn Bock) errors in String->int conversions found.
Glen Mazza [Fri, 9 Jan 2004 03:05:55 +0000 (03:05 +0000)]
Bug 25990 (Patch by Finn Bock) errors in String->int conversions found.

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

20 years agoMore String->int conversion.
Glen Mazza [Wed, 7 Jan 2004 22:50:51 +0000 (22:50 +0000)]
More String->int conversion.

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

20 years agoMore String->int conversions.
Glen Mazza [Wed, 7 Jan 2004 22:25:43 +0000 (22:25 +0000)]
More String->int conversions.

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

20 years agoConstants simplifications in LengthRange and Space.java.
Glen Mazza [Wed, 7 Jan 2004 21:28:42 +0000 (21:28 +0000)]
Constants simplifications in LengthRange and Space.java.

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

20 years agoLast of string->int conversions (more structural improvements still can be
Glen Mazza [Wed, 7 Jan 2004 21:10:38 +0000 (21:10 +0000)]
Last of string->int conversions (more structural improvements still can be
done in PropertyList from Finn's patch, however).  Made Constants values
inherent to CompoundDatatype class.

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

20 years agoMore String->Int conversions.
Glen Mazza [Tue, 6 Jan 2004 00:49:40 +0000 (00:49 +0000)]
More String->Int conversions.

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

20 years agoSwitch from strings->ints in Property.setSubprop() (from Finn Bock).
Glen Mazza [Mon, 5 Jan 2004 22:13:19 +0000 (22:13 +0000)]
Switch from strings->ints in Property.setSubprop()  (from Finn Bock).

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

20 years agoCOMPOUND_MASK/PROPERTY_MASK bug fixed in PropertyList.java (patch by Finn Bock).
Glen Mazza [Mon, 5 Jan 2004 22:02:47 +0000 (22:02 +0000)]
COMPOUND_MASK/PROPERTY_MASK bug fixed in PropertyList.java (patch by Finn Bock).

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

20 years agoMore String->Int Conversions.
Glen Mazza [Mon, 5 Jan 2004 01:31:09 +0000 (01:31 +0000)]
More String->Int Conversions.

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

20 years agoMore String-->int conversions. Work primarily from Finn Bock's patch.
Glen Mazza [Mon, 5 Jan 2004 00:44:59 +0000 (00:44 +0000)]
More String-->int conversions.  Work primarily from Finn Bock's patch.

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

20 years agoMore String->Int conversion; also removed member variable passing (namespace,
Glen Mazza [Sun, 4 Jan 2004 22:47:36 +0000 (22:47 +0000)]
More String->Int conversion; also removed member variable passing (namespace,
element) within private functions.  (Also made more methods private until external
use determined.)

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

20 years agoMore string-->int conversions.
Glen Mazza [Sun, 4 Jan 2004 22:23:16 +0000 (22:23 +0000)]
More string-->int conversions.

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

20 years agomore String->int conversions.
Glen Mazza [Sun, 4 Jan 2004 22:04:08 +0000 (22:04 +0000)]
more String->int conversions.

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