]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
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

20 years agoSupport url(...) function in image source.
Finn Bock [Fri, 24 Sep 2004 09:10:26 +0000 (09:10 +0000)]
Support url(...) function in image source.

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

20 years agoStyle: fix indent.
Finn Bock [Fri, 24 Sep 2004 09:07:52 +0000 (09:07 +0000)]
Style: fix indent.

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

20 years agoFix NPE
Jeremias Maerki [Thu, 23 Sep 2004 14:43:59 +0000 (14:43 +0000)]
Fix NPE

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

20 years agoMoved test classes to their proper location.
Jeremias Maerki [Thu, 23 Sep 2004 14:09:24 +0000 (14:09 +0000)]
Moved test classes to their proper location.

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

20 years agoCalculate the margin offsets (border & padding), by increasing
Finn Bock [Thu, 23 Sep 2004 13:56:27 +0000 (13:56 +0000)]
Calculate the margin offsets (border & padding), by increasing
current[IB]PPosition, in AbstractRenderer instead of in PDFRenderer.

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

20 years agoRemoved illegal tab characters. Please, guys, pay attention to your IDE settings...
Jeremias Maerki [Thu, 23 Sep 2004 10:04:36 +0000 (10:04 +0000)]
Removed illegal tab characters. Please, guys, pay attention to your IDE settings! Checkstyle in Eclipse, for example, does a very good job of uncovering things like that.

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

20 years agoSimplify ET/BT handling by keeping track of the current state.
Finn Bock [Wed, 22 Sep 2004 20:22:15 +0000 (20:22 +0000)]
Simplify ET/BT handling by keeping track of the current state.
This change cause multiple calls to [begin|end]TextMode but only the
minimum number of ET/BT commands are written.

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

20 years agoUse the correct default (medium) for border-[top|bottom|left|right]-width.
Finn Bock [Wed, 22 Sep 2004 19:24:07 +0000 (19:24 +0000)]
Use the correct default (medium) for border-[top|bottom|left|right]-width.

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

20 years agoRemoved hack that wrongly tried to calculate [start|end]-indent values.
Finn Bock [Wed, 22 Sep 2004 19:21:10 +0000 (19:21 +0000)]
Removed hack that wrongly tried to calculate [start|end]-indent values.

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

20 years agoCalculate the [start|end]-indent in the first 2 cases in 5.3.2. The last
Finn Bock [Wed, 22 Sep 2004 19:19:36 +0000 (19:19 +0000)]
Calculate the [start|end]-indent in the first 2 cases in 5.3.2. The last
case (no absolute margin specified) still needs more work.

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

20 years agoForce a 0mpt border-width when the border-style is 'none'.
Finn Bock [Wed, 22 Sep 2004 19:16:42 +0000 (19:16 +0000)]
Force a 0mpt border-width when the border-style is 'none'.

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

20 years agoAvoid a rounding error when the ratios already match.
Finn Bock [Wed, 22 Sep 2004 13:19:48 +0000 (13:19 +0000)]
Avoid a rounding error when the ratios already match.

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

20 years agoGets rid of currentBlockIPPosition. Use currentIPPosition instead and
Finn Bock [Wed, 22 Sep 2004 13:12:38 +0000 (13:12 +0000)]
Gets rid of currentBlockIPPosition. Use currentIPPosition instead and
restore it after each block-level area.

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

20 years agoSave the current number of spans. This fix a bug where multiple spans
Finn Bock [Wed, 22 Sep 2004 12:00:28 +0000 (12:00 +0000)]
Save the current number of spans. This fix a bug where multiple spans
were created, one for each toplevel block.

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

20 years agoUse content ipd/bpd instead of allocation width/height.
Finn Bock [Wed, 22 Sep 2004 08:30:21 +0000 (08:30 +0000)]
Use content ipd/bpd instead of allocation width/height.

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

20 years agoSet content ipd/bpd instead of allocation width/height.
Finn Bock [Wed, 22 Sep 2004 08:25:16 +0000 (08:25 +0000)]
Set content ipd/bpd instead of allocation width/height.

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

20 years agoget[Border|Padding]Width* helper methods moved to Area.
Finn Bock [Wed, 22 Sep 2004 08:19:48 +0000 (08:19 +0000)]
get[Border|Padding]Width* helper methods moved to Area.

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

20 years agoUse content ipd/bpd instead of allocation width/height.
Finn Bock [Wed, 22 Sep 2004 08:18:42 +0000 (08:18 +0000)]
Use content ipd/bpd instead of allocation width/height.

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

20 years agoUse content ipd/bpd instead of allocation width/height.
Finn Bock [Wed, 22 Sep 2004 08:16:00 +0000 (08:16 +0000)]
Use content ipd/bpd instead of allocation width/height.
Added getAllocIPD & getAllocBPD.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

20 years agoupdate todo list
Chris Bowditch [Tue, 21 Sep 2004 09:28:10 +0000 (09:28 +0000)]
update todo list

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

20 years agoPR:
Glen Mazza [Mon, 20 Sep 2004 00:37:13 +0000 (00:37 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Returned getTitle() to AreaTreeModel.

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

20 years agoPR:
Glen Mazza [Sun, 19 Sep 2004 18:46:51 +0000 (18:46 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
1.)  Removed unused getTitle() within AreaTreeModel; I believe can be obtained
from fo.pagination.PageSequence object where needed.

2.)  Combined AbstractCharIterator and CharIterator interface into single
abstract CharIterator class.

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

20 years agoRemoved Unknown.java; for mappings in which it is desired to process invalid nodes...
Glen Mazza [Fri, 17 Sep 2004 21:27:36 +0000 (21:27 +0000)]
Removed Unknown.java; for mappings in which it is desired to process invalid nodes, such as "svg:retc" or "svg:rekt" for svg:rect, the DEFAULT mapping option is already provided within an ElementMapping.  Removing Unknown gives the ElementMapping implementor the option of halting FOP processing and returning an error for such cases instead.

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

20 years agoFix a NPE in the interaction between PageLM.needNewPage() and
Finn Bock [Tue, 14 Sep 2004 09:52:58 +0000 (09:52 +0000)]
Fix a NPE in the interaction between PageLM.needNewPage() and
PageLM.needEmptyPage(). Testcase in examples/fo/basic/extensive.fo.

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

20 years agoRemoved unneded import statements.
Finn Bock [Tue, 14 Sep 2004 09:47:59 +0000 (09:47 +0000)]
Removed unneded import statements.

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

20 years agoPR:
Glen Mazza [Mon, 13 Sep 2004 12:39:24 +0000 (12:39 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Fixed validation bug.

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

20 years agoChanged initial-page-number from string to number property.
Finn Bock [Mon, 13 Sep 2004 08:05:34 +0000 (08:05 +0000)]
Changed initial-page-number from string to number property.

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

20 years agoAvoid throwing exceptions from ctor, the logger is lost in that case.
Finn Bock [Mon, 13 Sep 2004 07:08:49 +0000 (07:08 +0000)]
Avoid throwing exceptions from ctor, the logger is lost in that case.

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

20 years ago1.) Returned to recursion for FOEventHandler.
Glen Mazza [Mon, 13 Sep 2004 03:46:04 +0000 (03:46 +0000)]
1.)  Returned to recursion for FOEventHandler.

2.)  InstreamForeignObject validation changed to accomodate Finn's validation
changes.

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