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

20 years agoBugzilla patch 31162:
Jeremias Maerki [Sat, 11 Sep 2004 18:56:20 +0000 (18:56 +0000)]
Bugzilla patch 31162:
Better command-line logging without losing the possibility to fine-tune Commons Logging from outside.
Submitted by: Finn Bock <bckfnn.at.apache.org>

plus using the new CommandLineLogger for PFMReader and TTFReader, too.

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

20 years agoRemoved tab characters.
Jeremias Maerki [Sat, 11 Sep 2004 17:11:59 +0000 (17:11 +0000)]
Removed tab characters.

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

20 years agoCalculating the resolution value instead of writing down the constant is more readabl...
Jeremias Maerki [Sat, 11 Sep 2004 17:10:46 +0000 (17:10 +0000)]
Calculating the resolution value instead of writing down the constant is more readable IMO.

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

20 years agoRemoved unneded import statements.
Finn Bock [Thu, 9 Sep 2004 07:29:40 +0000 (07:29 +0000)]
Removed unneded import statements.

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

20 years agoAlso validate extension elements from the fox: namespace.
Finn Bock [Thu, 9 Sep 2004 07:19:23 +0000 (07:19 +0000)]
Also validate extension elements from the fox: namespace.

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

20 years agoDisable the validation for extension elements. This is a temporary fix
Finn Bock [Wed, 8 Sep 2004 20:25:55 +0000 (20:25 +0000)]
Disable the validation for extension elements. This is a temporary fix
until a full validation framework that support extensions are in place.

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

20 years agoInitial import of multi-threading testbed.
Jeremias Maerki [Tue, 7 Sep 2004 20:57:47 +0000 (20:57 +0000)]
Initial import of multi-threading testbed.

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

20 years agoRemoved unneeded import statements. Makes eclipse happy.
Finn Bock [Tue, 7 Sep 2004 20:47:11 +0000 (20:47 +0000)]
Removed unneeded import statements. Makes eclipse happy.

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

20 years agoMake maximum-repeats a number property instead of a string. This add
Finn Bock [Tue, 7 Sep 2004 20:14:51 +0000 (20:14 +0000)]
Make maximum-repeats a number property instead of a string. This add
support for expression.

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

20 years agoAdded NO_LIMIT enum (value to maximum-repeats).
Finn Bock [Tue, 7 Sep 2004 20:10:25 +0000 (20:10 +0000)]
Added NO_LIMIT enum (value to maximum-repeats).

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

20 years agoSupport for line-stacking-strategy.
Finn Bock [Tue, 7 Sep 2004 14:33:47 +0000 (14:33 +0000)]
Support for line-stacking-strategy.

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

20 years agoAdded line-stacking-strategy enums.
Finn Bock [Tue, 7 Sep 2004 14:33:01 +0000 (14:33 +0000)]
Added line-stacking-strategy enums.

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

20 years agoStyle: rmeoved tabs.
Finn Bock [Tue, 7 Sep 2004 13:14:44 +0000 (13:14 +0000)]
Style: rmeoved tabs.
Fixed copyright year.

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

20 years agoStyle: removed tabs.
Finn Bock [Tue, 7 Sep 2004 13:14:10 +0000 (13:14 +0000)]
Style: removed tabs.

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

20 years agoStyle: removed tab.
Finn Bock [Tue, 7 Sep 2004 13:13:26 +0000 (13:13 +0000)]
Style: removed tab.

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

20 years agoUse the position shorthand for [absolute|relative]-position.
Finn Bock [Tue, 7 Sep 2004 12:42:03 +0000 (12:42 +0000)]
Use the position shorthand for [absolute|relative]-position.

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

20 years agoMake the shorthand parser API take a generic property rather than
Finn Bock [Tue, 7 Sep 2004 12:40:43 +0000 (12:40 +0000)]
Make the shorthand parser API take a generic property rather than
demanding to be passed a ListProperty.

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

20 years agoInitial version of a shorthand parser for the 'position' property.
Finn Bock [Tue, 7 Sep 2004 12:38:13 +0000 (12:38 +0000)]
Initial version of a shorthand parser for the 'position' property.

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

20 years agoRemoved the shorthand from genericBorder[Width|Style]. The shorthands are
Finn Bock [Tue, 7 Sep 2004 12:23:34 +0000 (12:23 +0000)]
Removed the shorthand from genericBorder[Width|Style]. The shorthands are
assigned (in the right order) for the properties of
border-[top|bottom|left|right]-[width|style].

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

20 years agoFix a src/dst mixup in System.arraycopy.
Finn Bock [Tue, 7 Sep 2004 12:21:18 +0000 (12:21 +0000)]
Fix a src/dst mixup in System.arraycopy.

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

20 years agoReturn a more 'length' like debug string for numerics with dimension of 1.
Finn Bock [Tue, 7 Sep 2004 12:19:48 +0000 (12:19 +0000)]
Return a more 'length' like debug string for numerics with dimension of 1.

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

20 years agoDefault for border-[before|after]-width.conditionality set to discard as
Finn Bock [Tue, 7 Sep 2004 12:17:07 +0000 (12:17 +0000)]
Default for border-[before|after]-width.conditionality set to discard as
per spec 7.7.9.

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

20 years agoSupport debug string values for enum properties.
Finn Bock [Tue, 7 Sep 2004 10:26:35 +0000 (10:26 +0000)]
Support debug string values for enum properties.

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