]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
20 years agoFourth phase of performance improvement.
Finn Bock [Wed, 20 Oct 2004 13:17:03 +0000 (13:17 +0000)]
Fourth phase of performance improvement.
- Set a better base for leader-length percentages.

PR: 31699

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

20 years agoThird phase of performance improvement.
Finn Bock [Wed, 20 Oct 2004 12:06:51 +0000 (12:06 +0000)]
Third phase of performance improvement.
- Functionality moved into FOText.
PR: 31699

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

20 years agoThird phase of performance improvement.
Finn Bock [Wed, 20 Oct 2004 12:06:07 +0000 (12:06 +0000)]
Third phase of performance improvement.
- Functionality moved into CommonXXX classes and PropertyList.
PR: 31699

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

20 years agoThird phase of performance improvement.
Finn Bock [Wed, 20 Oct 2004 12:04:26 +0000 (12:04 +0000)]
Third phase of performance improvement.
- Functionality moved into CommonBorderPaddingBackground.

PR: 31699

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

20 years agoThird phase of performance improvement.
Finn Bock [Wed, 20 Oct 2004 12:01:09 +0000 (12:01 +0000)]
Third phase of performance improvement.
- Use the new CommonXXX fields.

PR: 31699

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

20 years agoThird phase of performance improvement.
Finn Bock [Wed, 20 Oct 2004 12:00:24 +0000 (12:00 +0000)]
Third phase of performance improvement.
- Use the new CommonXXX fields.
- Delegate all access to fo:inline properties to the InlineLM subclass.
PR: 31699

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

20 years agoThird phase of performance improvement.
Finn Bock [Wed, 20 Oct 2004 11:58:53 +0000 (11:58 +0000)]
Third phase of performance improvement.
- Remove use of PropertyManager.
PR: 31699

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

20 years agoThird phase of performance improvement.
Finn Bock [Wed, 20 Oct 2004 11:55:32 +0000 (11:55 +0000)]
Third phase of performance improvement.
- Use the new CommonXXX fields.

PR: 31699

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

20 years agoThird phase of performance improvement.
Finn Bock [Wed, 20 Oct 2004 11:51:34 +0000 (11:51 +0000)]
Third phase of performance improvement.
- Remove default ctor. Was only used by PropertyManager.

PR: 31699

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

20 years agoThird phase of performance improvement.
Finn Bock [Wed, 20 Oct 2004 11:50:04 +0000 (11:50 +0000)]
Third phase of performance improvement.
- Follow the spec for property types and names.

PR: 31699

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

20 years agoThird phase of performance improvement.
Finn Bock [Tue, 19 Oct 2004 21:51:54 +0000 (21:51 +0000)]
Third phase of performance improvement.
- Split the border/padding features of InlineStackingLM out into a
InlineLM which is the LM for fo:inline.

PR: 31699

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

20 years agoThird phase of performance improvement.
Finn Bock [Tue, 19 Oct 2004 21:50:14 +0000 (21:50 +0000)]
Third phase of performance improvement.
PR: 31699

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

20 years agoThird phase of performance improvement.
Finn Bock [Tue, 19 Oct 2004 21:49:43 +0000 (21:49 +0000)]
Third phase of performance improvement.
- Use new CommonAbsolutePosition.
PR: 31699

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

20 years agoThird phase of performance improvement.
Finn Bock [Tue, 19 Oct 2004 21:48:17 +0000 (21:48 +0000)]
Third phase of performance improvement.
- Use CommonBorderPaddingBackground.
PR: 31699

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

20 years agoThird phase of performance improvement.
Finn Bock [Tue, 19 Oct 2004 21:43:25 +0000 (21:43 +0000)]
Third phase of performance improvement.
- Use CommonBorderPaddingBackground.

PR: 31699

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

20 years agoThird phase of performance improvement.
Finn Bock [Tue, 19 Oct 2004 21:41:46 +0000 (21:41 +0000)]
Third phase of performance improvement.
PR: 31699

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

20 years agoThird phase of performance improvement.
Finn Bock [Tue, 19 Oct 2004 21:40:56 +0000 (21:40 +0000)]
Third phase of performance improvement.
- Added javadoc comment.
- Fixed the type of properties.

PR: 31699

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

20 years agoThird phase of performance improvement.
Finn Bock [Tue, 19 Oct 2004 20:15:13 +0000 (20:15 +0000)]
Third phase of performance improvement.
- Remove use of TextInfo.

PR: 31699

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

20 years agoThird phase of performance improvement.
Finn Bock [Tue, 19 Oct 2004 20:13:23 +0000 (20:13 +0000)]
Third phase of performance improvement.
- Added factory methods to create letter and word SpaceVal.

PR: 31699

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

20 years agoThird phase of performance improvement.
Finn Bock [Tue, 19 Oct 2004 18:42:43 +0000 (18:42 +0000)]
Third phase of performance improvement.
- Make line-height a SpaceProperty instead of a LengthProperty.

PR: 31699

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

20 years agoSecond phase of performance improvement.
Finn Bock [Tue, 19 Oct 2004 13:45:38 +0000 (13:45 +0000)]
Second phase of performance improvement.
- Removed addProperties() method and misc old property fields.

PR: 31699

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

20 years agoSecond phase of performance improvement.
Finn Bock [Tue, 19 Oct 2004 13:43:22 +0000 (13:43 +0000)]
Second phase of performance improvement.
- Move from addProperties() to processNode().

PR: 31699

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

20 years agoSecond phase of performance improvement.
Finn Bock [Tue, 19 Oct 2004 13:41:25 +0000 (13:41 +0000)]
Second phase of performance improvement.
- Only get base properties from property list.

PR: 31699

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

20 years agoInitial version.
Finn Bock [Tue, 19 Oct 2004 13:40:13 +0000 (13:40 +0000)]
Initial version.

PR: 31699

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

20 years agoSecond phase of performance improvement.
Finn Bock [Tue, 19 Oct 2004 13:38:15 +0000 (13:38 +0000)]
Second phase of performance improvement.
- Use the official properties on BasicLink.

PR: 31699

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

20 years agoEnd textmode before emitting an image.
Finn Bock [Tue, 19 Oct 2004 13:35:16 +0000 (13:35 +0000)]
End textmode before emitting an image.

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

20 years agoSecond phase of performance improvement.
Finn Bock [Tue, 19 Oct 2004 13:30:53 +0000 (13:30 +0000)]
Second phase of performance improvement.
- Pass in a PropertyList to addCharacters()

PR: 31699

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

20 years agoSecond phase of performance improvement.
Finn Bock [Tue, 19 Oct 2004 12:57:33 +0000 (12:57 +0000)]
Second phase of performance improvement.
- Let PropertyList deal with caching issues.
- Don't use compound property ids.

PR: 31699

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

20 years agoSecond phase of performance improvement.
Finn Bock [Tue, 19 Oct 2004 12:55:03 +0000 (12:55 +0000)]
Second phase of performance improvement.
- Made class abstract. Leave storage and caching to subclasses.
- Cleanup of old writingMode code.
- Only support retrieval of base properties.

PR: 31699

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

20 years agoSecond phase of performance improvement. Pass the propertyList into
Finn Bock [Tue, 19 Oct 2004 12:52:09 +0000 (12:52 +0000)]
Second phase of performance improvement. Pass the propertyList into
processNode(..) and addCharacters(..).

PR: 31699

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

20 years agoPass validation.
Finn Bock [Tue, 19 Oct 2004 12:46:00 +0000 (12:46 +0000)]
Pass validation.

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

20 years agoFirst phase of performance improvement. Added bind() and startOfNode()
Finn Bock [Tue, 19 Oct 2004 08:53:51 +0000 (08:53 +0000)]
First phase of performance improvement. Added bind() and startOfNode()
methods to the FO nodes, unused for now.

PR: 31699

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

20 years agoFirst phase of performance improvement.
Finn Bock [Mon, 18 Oct 2004 20:30:22 +0000 (20:30 +0000)]
First phase of performance improvement.
PR: 31699

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

20 years agoFix copyright year.
Finn Bock [Mon, 18 Oct 2004 20:17:45 +0000 (20:17 +0000)]
Fix copyright year.

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

20 years agoInitial version.
Finn Bock [Mon, 18 Oct 2004 20:16:54 +0000 (20:16 +0000)]
Initial version.

PR: 31699

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

20 years agoFirst phase of performance improvement.
Finn Bock [Mon, 18 Oct 2004 20:15:19 +0000 (20:15 +0000)]
First phase of performance improvement.

PR: 31699

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

20 years agoAdded convenience method getValue() that returns the value as an int.
Finn Bock [Mon, 18 Oct 2004 20:11:16 +0000 (20:11 +0000)]
Added convenience method getValue() that returns the value as an int.

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

20 years agoRemoved unused method.
Finn Bock [Sun, 17 Oct 2004 20:14:10 +0000 (20:14 +0000)]
Removed unused method.

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

20 years agoRemoved unused imports.
Finn Bock [Sun, 17 Oct 2004 20:12:57 +0000 (20:12 +0000)]
Removed unused imports.

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

20 years agoMoved Luca to the committer's list, updated news section.
Glen Mazza [Sat, 16 Oct 2004 18:44:32 +0000 (18:44 +0000)]
Moved Luca to the committer's list, updated news section.

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

20 years agoExit text-mode before rendering a instream-foreign-object.
Finn Bock [Fri, 15 Oct 2004 18:16:21 +0000 (18:16 +0000)]
Exit text-mode before rendering a instream-foreign-object.

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

20 years agoFix a ArrayIndexOutOfBoundsException when loading indexed PNGs.
Finn Bock [Wed, 13 Oct 2004 06:56:49 +0000 (06:56 +0000)]
Fix a ArrayIndexOutOfBoundsException when loading indexed PNGs.

PR: 31675
Submitted by: Thomas Deweese

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

20 years agoChildren can now contain FONodes (esp. FOText).
Finn Bock [Wed, 13 Oct 2004 06:53:33 +0000 (06:53 +0000)]
Children can now contain FONodes (esp. FOText).

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

20 years agoPR:
Glen Mazza [Wed, 13 Oct 2004 00:31:46 +0000 (00:31 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Some simplifications allowed as a result of having FOText extend FONode directly.

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

20 years agoEndlich habe ich dem Insekt gefunden! Jetzt kann FOText das Kind von FONode werden...
Glen Mazza [Wed, 13 Oct 2004 00:09:54 +0000 (00:09 +0000)]
Endlich habe ich dem Insekt gefunden!  Jetzt kann FOText das Kind von FONode werden! ^u^

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

20 years agoPR:
Glen Mazza [Tue, 12 Oct 2004 05:07:47 +0000 (05:07 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Start of work to move FOText from extending FObj to extending FONode instead.

All work is done except for changing FObj's parent from FObj to
FONode.  The RTF library works fine with the switch, but simple.fo and
franklin_alt.fo (among others I guess) will not work properly when FOText's
parent is switched.  (Layout problems occur--lines don't break properly
with the switch.)

Switch to super() constructor (instead of super(fobj) one) within
within TextLayoutManager, as it is not needed for this subclass, also to
facilitate the change above.

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

20 years agoTrying to make Gump output more verbose.
Jeremias Maerki [Mon, 11 Oct 2004 21:52:26 +0000 (21:52 +0000)]
Trying to make Gump output more verbose.

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

20 years agoMade a common base class for both PNG and TIFF classes because they are almost identical.
Jeremias Maerki [Mon, 11 Oct 2004 21:43:13 +0000 (21:43 +0000)]
Made a common base class for both PNG and TIFF classes because they are almost identical.
Some style updates.

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

20 years agostyle and a comment
Jeremias Maerki [Mon, 11 Oct 2004 21:09:45 +0000 (21:09 +0000)]
style and a comment

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

20 years agoBugzilla #31512:
Jeremias Maerki [Mon, 11 Oct 2004 21:06:14 +0000 (21:06 +0000)]
Bugzilla #31512:
Fop should use Batik's Image readers when possible.
Submitted by: Thomas Deweese <deweese.at.apache.org>

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

20 years agoDeleted unused imports.
Finn Bock [Mon, 11 Oct 2004 06:49:26 +0000 (06:49 +0000)]
Deleted unused imports.

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

20 years agoCalculations of indents must use the writing-mode of the parent. See
Finn Bock [Sun, 10 Oct 2004 21:12:06 +0000 (21:12 +0000)]
Calculations of indents must use the writing-mode of the parent. See
4.2.3:

"""
For purposes of this definition, the content-rectangle of an area uses
the inline-progression-direction and block-progression-direction of that
area; but the border-rectangle, padding-rectangle, and
allocation-rectangle use the directions of its parent area.
"""

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

20 years agoSimplify the calculation of the viewport. Now that indents are
Finn Bock [Sun, 10 Oct 2004 21:08:16 +0000 (21:08 +0000)]
Simplify the calculation of the viewport. Now that indents are
calculated correctly, we can just use them without doing any lookup
of absolute margins.

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

20 years agoFully implement the 5.3.2 rules for calculating indent values.
Finn Bock [Sun, 10 Oct 2004 21:06:15 +0000 (21:06 +0000)]
Fully implement the 5.3.2 rules for calculating indent values.

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

20 years agoAdded helper method getWMPropertyList().
Finn Bock [Sun, 10 Oct 2004 21:05:21 +0000 (21:05 +0000)]
Added helper method getWMPropertyList().

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

20 years agoFix regression for fo:retrieve-marker.
Finn Bock [Sun, 10 Oct 2004 20:24:16 +0000 (20:24 +0000)]
Fix regression for fo:retrieve-marker.

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

20 years agoWhen the child LM is a RetrieveMarker, it need a valid parent before
Finn Bock [Sun, 10 Oct 2004 20:22:56 +0000 (20:22 +0000)]
When the child LM is a RetrieveMarker, it need a valid parent before
generatesInlineAreas() are called.

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

20 years agoPass validation.
Finn Bock [Sun, 10 Oct 2004 20:09:31 +0000 (20:09 +0000)]
Pass validation.

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

20 years agoCentralized Renderer and FOEventHandler creation in the RenderFactory class.
Jeremias Maerki [Sun, 10 Oct 2004 12:24:03 +0000 (12:24 +0000)]
Centralized Renderer and FOEventHandler creation in the RenderFactory class.
Provide a similar mechanism as for the Renderers to override the FOEventHandler being used to be able to plug in custom FOEventHandlers. (I don't particularly like this approach but so be it for the moment.)
Javadocs updates in FOUserAgent.

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

20 years agoImplement the cheaper mechanism to ensure correct rendering at differing resolutions...
Jeremias Maerki [Sun, 10 Oct 2004 12:20:56 +0000 (12:20 +0000)]
Implement the cheaper mechanism to ensure correct rendering at differing resolutions. This is probably only an intermediate solution and does not implement what Thomas DeWeese suggested.

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

20 years agoSet Batik rendering hints to improve output quality.
Jeremias Maerki [Sun, 10 Oct 2004 12:19:19 +0000 (12:19 +0000)]
Set Batik rendering hints to improve output quality.

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

20 years agoUpdate to latest CVS snapshot to be able to use the KEY_AVOID_TILE_PAINTING hint.
Jeremias Maerki [Sun, 10 Oct 2004 11:38:36 +0000 (11:38 +0000)]
Update to latest CVS snapshot to be able to use the KEY_AVOID_TILE_PAINTING hint.

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

20 years agoAdd getMimeType() to the Renderer interface as AbstractRenderer implements this anywa...
Jeremias Maerki [Sun, 10 Oct 2004 11:30:24 +0000 (11:30 +0000)]
Add getMimeType() to the Renderer interface as AbstractRenderer implements this anyway. Renderers such as Java2D/AWT (where a MIME type is not applicable) will return null.

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

20 years agoMake fonts configurable for PS Renderer and now use PrintRenderer as base class just...
Jeremias Maerki [Sun, 10 Oct 2004 11:26:51 +0000 (11:26 +0000)]
Make fonts configurable for PS Renderer and now use PrintRenderer as base class just as the PDF Renderer does.

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

20 years agojavadoc fix
Jeremias Maerki [Sun, 10 Oct 2004 11:25:32 +0000 (11:25 +0000)]
javadoc fix

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

20 years agoFix to avoid leading and trailing spaces in the values being read.
Jeremias Maerki [Sun, 10 Oct 2004 11:24:46 +0000 (11:24 +0000)]
Fix to avoid leading and trailing spaces in the values being read.

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

20 years agoThis is supposed to fix a problem that surfaced with Finn's latest change in PageSequ...
Jeremias Maerki [Sun, 10 Oct 2004 11:21:28 +0000 (11:21 +0000)]
This is supposed to fix a problem that surfaced with Finn's latest change in PageSequence. There was an ArrayIndexOutOfBoundsException here in LineLayoutManager when a static region was layouted for the second page (instance is reused). It seems to me that "iCurrParIndex" could be made a method-local variable instead of an instance variable.

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

20 years agoCode indentation only
Jeremias Maerki [Sun, 10 Oct 2004 11:17:46 +0000 (11:17 +0000)]
Code indentation only

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

20 years agoFix missing static-content regression.
Finn Bock [Fri, 8 Oct 2004 10:07:40 +0000 (10:07 +0000)]
Fix missing static-content regression.

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

20 years agoFix javadoc warnings.
Finn Bock [Thu, 7 Oct 2004 19:47:47 +0000 (19:47 +0000)]
Fix javadoc warnings.

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

20 years agoPR:
Glen Mazza [Mon, 4 Oct 2004 01:19:10 +0000 (01:19 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Switched to SAXParseException for duplicate ID's found in document.

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

20 years agoPR:
Glen Mazza [Mon, 4 Oct 2004 00:59:38 +0000 (00:59 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
1.) BookmarkData now activates AreaTreeModel instead of AreaTreeHandler.
2.) Some methods moved from public to private in AreaTreeHandler.

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

20 years agoRe-enable calls to TableAttributesConverter.makeBorder.
Finn Bock [Sun, 3 Oct 2004 18:10:02 +0000 (18:10 +0000)]
Re-enable calls to TableAttributesConverter.makeBorder.

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

20 years agoAdded makeBorder() method.
Finn Bock [Sun, 3 Oct 2004 18:05:15 +0000 (18:05 +0000)]
Added makeBorder() method.
Moved convertAttributetoRtf() from TableAttributesConverter to here.

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

20 years agoSet value for characterValue variable in fo.flow.Character--needed for its OneCharIte...
Glen Mazza [Sun, 3 Oct 2004 00:50:43 +0000 (00:50 +0000)]
Set value for characterValue variable in fo.flow.Character--needed for its OneCharIterator constructor.

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

20 years agoPR:
Glen Mazza [Sat, 2 Oct 2004 19:24:31 +0000 (19:24 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Removed AreaTreeModel.getTitle() again, because it not in use by paper renderers
and I suspect the future AWTRenderer, if it uses the title, will be storing
this information on its own internally anyway, as it gets each page sequence.
We can restore it should it be deemed preferable in the future.  Comments welcome.

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

20 years agoPR:
Glen Mazza [Sat, 2 Oct 2004 12:39:10 +0000 (12:39 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Removed no-longer-used getAreaTreeHandler() from LM's.

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

20 years agoPR:
Glen Mazza [Sat, 2 Oct 2004 04:34:13 +0000 (04:34 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
1.)  Temporary commenting out of TableAttributesConverter code until
missing code checked in.

2.)  Code simplification of having AbstractLayoutManager call the fObj.AddLayoutManager()
directly.

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

20 years agoSimplified the handling of length attributes.
Finn Bock [Fri, 1 Oct 2004 09:46:36 +0000 (09:46 +0000)]
Simplified the handling of length attributes.
Attempt at setting borders correctly.

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

20 years agoSimplified the handling of length attributes.
Finn Bock [Fri, 1 Oct 2004 09:44:57 +0000 (09:44 +0000)]
Simplified the handling of length attributes.
Don't set a background color, when it is specified as "transparent".

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

20 years agoSupport nested attribute values, for use with border control words.
Finn Bock [Fri, 1 Oct 2004 09:30:35 +0000 (09:30 +0000)]
Support nested attribute values, for use with border control words.

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

20 years agoSimplified the handling of length attributes.
Finn Bock [Fri, 1 Oct 2004 09:22:15 +0000 (09:22 +0000)]
Simplified the handling of length attributes.

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

20 years agoHelper class which supports FOP datatypes as values.
Finn Bock [Fri, 1 Oct 2004 09:05:23 +0000 (09:05 +0000)]
Helper class which supports FOP datatypes as values.

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

20 years agoInitial support for fo:blockcontainer.
Finn Bock [Fri, 1 Oct 2004 09:03:35 +0000 (09:03 +0000)]
Initial support for fo:blockcontainer.

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

20 years agoAdd support for the generator element which identifies the generating application...
Jeremias Maerki [Fri, 1 Oct 2004 09:03:24 +0000 (09:03 +0000)]
Add support for the generator element which identifies the generating application (just to start finding my way into RTF).

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

20 years agoSupport fo:character.
Finn Bock [Fri, 1 Oct 2004 08:58:52 +0000 (08:58 +0000)]
Support fo:character.

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

20 years agoMake the rtf output a little less random and thus easier to compare
Finn Bock [Fri, 1 Oct 2004 08:52:23 +0000 (08:52 +0000)]
Make the rtf output a little less random and thus easier to compare
between runs.

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

20 years agoWrite the "sectd" after the page attributes, so the default margins for
Finn Bock [Fri, 1 Oct 2004 08:51:04 +0000 (08:51 +0000)]
Write the "sectd" after the page attributes, so the default margins for
the section is inherited from the page.

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

20 years agoStyle: fix indent.
Finn Bock [Fri, 1 Oct 2004 08:48:29 +0000 (08:48 +0000)]
Style: fix indent.

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

20 years agoFire FOEventandler events.
Finn Bock [Thu, 30 Sep 2004 19:56:24 +0000 (19:56 +0000)]
Fire FOEventandler events.

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

20 years agoAdded support for Character and BlockContainer.
Finn Bock [Thu, 30 Sep 2004 19:55:35 +0000 (19:55 +0000)]
Added support for Character and BlockContainer.

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

20 years agoMake text-indent inherited
Simon Pepping [Tue, 28 Sep 2004 19:43:39 +0000 (19:43 +0000)]
Make text-indent inherited

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

20 years agoEmit valid floating point numbers, even when running under a Locale with
Finn Bock [Tue, 28 Sep 2004 11:04:31 +0000 (11:04 +0000)]
Emit valid floating point numbers, even when running under a Locale with
a decimal point different from '.'

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

20 years agoSupport -ps output option.
Finn Bock [Tue, 28 Sep 2004 10:56:18 +0000 (10:56 +0000)]
Support -ps output option.

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

20 years agoFix a regression where the page numbers started from 0.
Finn Bock [Mon, 27 Sep 2004 10:18:11 +0000 (10:18 +0000)]
Fix a regression where the page numbers started from 0.

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

20 years agoSupport -rtf output option.
Finn Bock [Mon, 27 Sep 2004 07:42:27 +0000 (07:42 +0000)]
Support -rtf output option.

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

20 years agoPR:
Glen Mazza [Mon, 27 Sep 2004 04:54:31 +0000 (04:54 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
1.) endofNode() implemented in pagination.Root, allowing for validation
logic in ATH to be removed.

2.) more direct access of AreaTreeModel in PSLM.

3.) more simplifications in ATH.

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

20 years agoPR:
Glen Mazza [Sun, 26 Sep 2004 13:51:01 +0000 (13:51 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
1.) Renamed PageLayoutManager to somewhat more intuitive PageSequenceLayoutManager.

2.) Moved layout logic for the fo:title of an fo:page-sequence from AreaTreeHandler
to PSLM.  Also moved page number initialization logic there.

Comments most welcome.

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

20 years agoRemoval of empty Title subclass, now using LineArea.
Glen Mazza [Sat, 25 Sep 2004 21:55:36 +0000 (21:55 +0000)]
Removal of empty Title subclass, now using LineArea.

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

20 years agoMoved from element mapping class names to element mapping objects.
Finn Bock [Fri, 24 Sep 2004 10:31:22 +0000 (10:31 +0000)]
Moved from element mapping class names to element mapping objects.
This solves a potential problem where Class.forName() can't load the
element mapping class because the element mapping is only available
in a classloader below the one that loaded fop.jar.

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