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

20 years agoAdded support for a debug string value to enum properties.
Finn Bock [Tue, 7 Sep 2004 10:25:28 +0000 (10:25 +0000)]
Added support for a debug string value to enum properties.

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

20 years agoAdded ENUM_COUNT constant.
Finn Bock [Tue, 7 Sep 2004 10:24:27 +0000 (10:24 +0000)]
Added ENUM_COUNT constant.

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

20 years agoPR:
Glen Mazza [Mon, 6 Sep 2004 21:23:23 +0000 (21:23 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
validateChildNode() for fo:table-row added.

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

20 years agoPR:
Glen Mazza [Mon, 6 Sep 2004 21:13:51 +0000 (21:13 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Moved the property shorthand parser code into the properties package.

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

20 years agoPR:
Glen Mazza [Mon, 6 Sep 2004 20:54:59 +0000 (20:54 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Removal of unused/obsolete XMLElement.java.

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

20 years agoAdded missing license headers.
Jeremias Maerki [Mon, 6 Sep 2004 19:07:12 +0000 (19:07 +0000)]
Added missing license headers.

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

20 years agoRenamed FOInputHandler to somewhat more intuitive FOEventHandler.
Glen Mazza [Mon, 6 Sep 2004 18:44:33 +0000 (18:44 +0000)]
Renamed FOInputHandler to somewhat more intuitive FOEventHandler.

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

20 years agoPR:
Glen Mazza [Mon, 6 Sep 2004 18:28:17 +0000 (18:28 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Switched to a static FOInputHandler object for the FOTree instead of relying on recursion to get to the FOInputHandler object stored at pagination.Root.

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

20 years agoPR:
Glen Mazza [Mon, 6 Sep 2004 18:03:12 +0000 (18:03 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Moved hyphenation package to org.apache.fop.hyphenation

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

20 years agoThese new classes are part of the implementation of the new line
Simon Pepping [Sun, 5 Sep 2004 19:16:39 +0000 (19:16 +0000)]
These new classes are part of the implementation of the new line
breaking algorithm, patch 29124, submitted by Luca Furini.

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

20 years agoNew line breaking algorithm, patch 29124, submitted by Luca
Simon Pepping [Sun, 5 Sep 2004 18:16:32 +0000 (18:16 +0000)]
New line breaking algorithm, patch 29124, submitted by Luca
Furini. This patch implements the algorithm for most but not yet all
inline layout managers.

For the algorithm, see D.E. Knuth and M.F. Plass, "Breaking paragraphs
into lines", Software, Practice and Experience 11 (1981) 1119-1184;
reprinted in: D. E. Knuth, "Digital typography", CSLI Lecture Notes
Number 78 (CLSI Publications, Stanford, CA, USA) pp. 67-155.

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

20 years agoPR:
Glen Mazza [Sun, 5 Sep 2004 12:35:47 +0000 (12:35 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Removed unneeded datatype.

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

20 years agoPR:
Glen Mazza [Sun, 5 Sep 2004 11:45:25 +0000 (11:45 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Removed unused TextState class, Area.Trait currently is used for this purpose.

See: http://marc.theaimsgroup.com/?l=fop-dev&m=104204030026900&w=2

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

20 years agoPR:
Glen Mazza [Sun, 5 Sep 2004 04:16:42 +0000 (04:16 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Removed unused AreaClass.java, its enums already exist in area.Area.

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

20 years agoPR:
Glen Mazza [Sun, 5 Sep 2004 04:00:52 +0000 (04:00 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
1.)  AddChildNode(), characters() modified to throw SAXParseException to
allow AddChildNode() to do validation of its own.

2.)  Better child validation added to PageSequence.java.

3.)  Various other code cleanups.

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

20 years ago1.) Validation for fo:multi-toggle added.
Glen Mazza [Sat, 4 Sep 2004 20:55:21 +0000 (20:55 +0000)]
1.) Validation for fo:multi-toggle added.
2.) Switch to faster int's for findAncestor().

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

20 years ago1.) validateChildNode() implemented for fo:table-cell.
Glen Mazza [Sat, 4 Sep 2004 19:53:07 +0000 (19:53 +0000)]
1.) validateChildNode() implemented for fo:table-cell.
2.) various code cleanups throughout the FO's.

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

20 years agoRemove unnecessary scale factor. This made all images added via SVG three times bigge...
Jeremias Maerki [Fri, 3 Sep 2004 08:06:01 +0000 (08:06 +0000)]
Remove unnecessary scale factor. This made all images added via SVG three times bigger than they need to be. The scale factor doesn't exist in PSGraphics2D.
Here's where this scale factor was introduced:
http://cvs.apache.org/viewcvs.cgi/xml-fop/src/org/apache/fop/svg/Attic/PDFGraphics2D.java?r1=1.18&r2=1.19&diff_format=h
Also reported by Jay Chiu for Fop 0.20.5 (Feb 2004)

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

20 years agoFixed filename of stylesheet for case-sensitive file systems.
Jeremias Maerki [Mon, 30 Aug 2004 20:56:02 +0000 (20:56 +0000)]
Fixed filename of stylesheet for case-sensitive file systems.
Submitted by: Heikki Linnakangas <hlinnaka.at.iki.fi>

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

20 years ago1.) Some flattening of the Region classes done, with the goal of moving
Glen Mazza [Mon, 30 Aug 2004 12:00:54 +0000 (12:00 +0000)]
1.)  Some flattening of the Region classes done, with the goal of moving
some of its layout logic to PageLayoutManager.

2.)  New helper function getPropEnum() added.

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

20 years agoPR:
Glen Mazza [Sun, 29 Aug 2004 21:09:36 +0000 (21:09 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Simplified the region constructors.

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

20 years agoRemoved the redundant Region Class Codes in favor of the FO constant
Glen Mazza [Sun, 29 Aug 2004 20:58:20 +0000 (20:58 +0000)]
Removed the redundant Region Class Codes in favor of the FO constant
identifiers.

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

20 years agoPR:
Glen Mazza [Sun, 29 Aug 2004 20:17:35 +0000 (20:17 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Convenience method fobj.getPropLength() added to simplify some of the code.

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

20 years agoMinor edits to adjustIPD() methods.
Glen Mazza [Sun, 29 Aug 2004 13:34:06 +0000 (13:34 +0000)]
Minor edits to adjustIPD() methods.

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

20 years agoThree more validateChildNodes() added.
Glen Mazza [Sun, 29 Aug 2004 13:27:08 +0000 (13:27 +0000)]
Three more validateChildNodes() added.

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

20 years agoPR:
Glen Mazza [Fri, 27 Aug 2004 06:02:03 +0000 (06:02 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Some code cleanup in Title and PageNumberGenerator, removal of apparently unused logger instance from latter.

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

20 years agoPR:
Glen Mazza [Fri, 27 Aug 2004 05:36:43 +0000 (05:36 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

1.) Removed PageMasterReference.java, no longer needed.

2.) Added validateChildNode() to XMLOBJ.java to check that
the parent of an XSL FO is itself an XSL FO.

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

20 years agoMoved some functionality from LMiter to the LayoutManagers. The LMs
Simon Pepping [Thu, 26 Aug 2004 20:58:30 +0000 (20:58 +0000)]
Moved some functionality from LMiter to the LayoutManagers. The LMs
now hold the list of child LMs and the method preLoadNext. This makes
it possible to create a new LMiter object for a LM, or even a list
iterator over the list of child LMs if the latter is known to be
complete.

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

20 years ago1. Implemented validateChildNode() for fo:simple-page-master. This may cause some...
Glen Mazza [Wed, 25 Aug 2004 05:03:08 +0000 (05:03 +0000)]
1. Implemented validateChildNode() for fo:simple-page-master.  This may cause some stress with the user community--as any declared fo:region-xxxx children must follow a specific ordering.

2. Modified several of our sample and test FO files to be compliant with the XSL spec with respect to the change above.

3. @todo's added to FO's still missing validateChildNode()

4. New FONode missingPropertyError() method created, for the major cases where missing properties should halt processing.

5. Various cleanup in our layout-master-set and region classes, including the removal of error checks that are no longer needed due to validateChildNode() being implemented.

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

20 years agoPR:
Glen Mazza [Mon, 23 Aug 2004 22:09:20 +0000 (22:09 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
ToBeImplementedElement removed in favor of one-time static warning messages
in the "unimplemented" FO's.

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

20 years agoRewrite formatDateTime() to be compatible with JDK 1.3 again.
Jeremias Maerki [Mon, 23 Aug 2004 19:23:30 +0000 (19:23 +0000)]
Rewrite formatDateTime() to be compatible with JDK 1.3 again.

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

20 years agoMinor edits.
Glen Mazza [Sun, 22 Aug 2004 01:56:33 +0000 (01:56 +0000)]
Minor edits.

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

20 years ago1.) validateChildNode() implemented for fo:multi-properties.
Glen Mazza [Sat, 21 Aug 2004 19:48:00 +0000 (19:48 +0000)]
1.) validateChildNode() implemented for fo:multi-properties.

2.) fo:multi-properties disconnected from ToBeImplementedElement.

3.) increased usage of FObj.getPropString() throughout application.

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

20 years ago1.) validateChildNode() added for fo:marker.
Glen Mazza [Fri, 20 Aug 2004 09:38:21 +0000 (09:38 +0000)]
1.) validateChildNode() added for fo:marker.

2.) new getPropString() convenience method added to FObj, will reduce
need for many individual methods on each FO.

3.) fo:float disconnected from ToBeImplementedElement in favor of a
class-specific warning.

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

20 years ago1. Moved getNameId() from FObj to FONode.
Glen Mazza [Wed, 18 Aug 2004 03:26:37 +0000 (03:26 +0000)]
1. Moved getNameId() from FObj to FONode.

2. Centralized determination of generatesInlineAreas() from multiple FObj subclasses into fo.PropertySets BitSet object.

3. validateChildNode() implemented for fo:list-item.

4. fo:initial-property-set now extending FObj instead of ToBeImplementedElement; burden of implementation on individual FOInputHandler subclasses.

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

20 years agoFix JPEG with many long APPS markers.
Jeremias Maerki [Mon, 16 Aug 2004 19:33:19 +0000 (19:33 +0000)]
Fix JPEG with many long APPS markers.
Also defers the creation of the original node until it absolutely has to thus avoiding decoding the JPEG file and creating the raster unless needed.
Submitted by: Thomas DeWeese <Thomas.DeWeese.at.Kodak.com>

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