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

20 years agoFix getPixelUnitToMillimeter
Jeremias Maerki [Mon, 16 Aug 2004 19:31:41 +0000 (19:31 +0000)]
Fix getPixelUnitToMillimeter
Submitted by: Thomas DeWeese <Thomas.DeWeese.at.Kodak.com>

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

20 years agoFix implementations after logging changes to correspond to the interface again.
Jeremias Maerki [Mon, 16 Aug 2004 19:29:04 +0000 (19:29 +0000)]
Fix implementations after logging changes to correspond to the interface again.

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

20 years agoRemove unused import
Jeremias Maerki [Mon, 16 Aug 2004 19:28:32 +0000 (19:28 +0000)]
Remove unused import

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

20 years ago1.) fo:wrapper layout initialization logic moved from AddLMVisitor to
Glen Mazza [Mon, 16 Aug 2004 11:59:52 +0000 (11:59 +0000)]
1.) fo:wrapper layout initialization logic moved from AddLMVisitor to
fo.flow.Wrapper.

2.) Temporary class LMVisited dropped.

3.) AddLMVisitor dropped, its LM list moved to its parent AreaTreeHandler
object.

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

20 years ago1. fo:leader layout initialization logic moved from AddLMVisitor to
Glen Mazza [Mon, 16 Aug 2004 04:11:42 +0000 (04:11 +0000)]
1. fo:leader layout initialization logic moved from AddLMVisitor to
fo.flow.Leader.

2. fo:leader layout logic moved from AddLMVisitor to new
layoutmgr.LayoutLeaderManager class.

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

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

20 years agoJDK 1.5 compile-time compatibility (still doesn't compile under 1.5, yet)
Jeremias Maerki [Sun, 15 Aug 2004 09:57:07 +0000 (09:57 +0000)]
JDK 1.5 compile-time compatibility (still doesn't compile under 1.5, yet)

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

20 years agoStyle-up for example classes.
Jeremias Maerki [Sun, 15 Aug 2004 09:46:46 +0000 (09:46 +0000)]
Style-up for example classes.

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

20 years agoUpdated Common IO to first release.
Jeremias Maerki [Sat, 14 Aug 2004 18:50:37 +0000 (18:50 +0000)]
Updated Common IO to first release.
Build updated so the transcoder packages are built correctly (reflecting the changes in the source code)
JUnit failures now let the build fail (note: JUnit is currently not activated in Gump runs)

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

20 years ago1.) fo:Instream-Foreign-Object initialization logic moved from AddLMVisitor
Glen Mazza [Sat, 14 Aug 2004 18:36:21 +0000 (18:36 +0000)]
1.)  fo:Instream-Foreign-Object initialization logic moved from AddLMVisitor
to flow.InstreamForiegnObject.java, and the layout logic itself moved to
a new layoutmgr.InstreamForeignObjectLM.java.  (Broke with usual nomenclature of adding
~LayoutManager to end, given that newer 1.1 and post-1.1 FO names are
getting even larger.)

2.) validateChildNode() added for fo:inline.

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

20 years agoAdjusting to changes in XmlObj, making the sample extensions compile again.
Jeremias Maerki [Sat, 14 Aug 2004 16:26:08 +0000 (16:26 +0000)]
Adjusting to changes in XmlObj, making the sample extensions compile again.

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

20 years ago1. Character LM initialization moved from AllLMVisitor to fo.Character.
Glen Mazza [Fri, 13 Aug 2004 12:29:51 +0000 (12:29 +0000)]
1. Character LM initialization moved from AllLMVisitor to fo.Character.

2. Character layout logic moved from AllLMVisitor to new CharacterLayoutManager.

3. validateChildNode() implemented for fo:footnote-body.

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

20 years agoSupport for [letter|word]-spacing properties with a value of 'normal'.
Finn Bock [Fri, 13 Aug 2004 09:05:15 +0000 (09:05 +0000)]
Support for [letter|word]-spacing properties with a value of 'normal'.
The value returned will be an Constants.NORMAL enum.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

20 years ago1.) Layout initialization logic for fo:table, fo:table-header, and fo:table-footer
Glen Mazza [Fri, 13 Aug 2004 00:03:49 +0000 (00:03 +0000)]
1.) Layout initialization logic for fo:table, fo:table-header, and fo:table-footer
moved from AddLMVisitor to fo.Table.

2.) Layout logic for fo:external-graphic moved from fo.ExternalGraphic to
layoutmgr.ExternalGraphicLayoutManager.

3.) Partial implementation of validateChildNode() for fo:footnote.

4.) fox:destination commented out from images.fo sample until purpose, content
model better defined.  Also needs a Maker class.  (Does not appear to work
in either maintenance or HEAD.)

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

20 years ago1.) LM initialization logic for fo:table-body, fo:table-footer, and fo:table-header
Glen Mazza [Wed, 11 Aug 2004 22:56:48 +0000 (22:56 +0000)]
1.) LM initialization logic for fo:table-body, fo:table-footer, and fo:table-header
moved out of AddLMVisitor.

2.) New LayoutManager subclass created for fo:external-graphic formatting object.

3.) ValidateChildNode(), endOfNode() implemented for fo:float.

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

20 years ago1. For maintenance and accuracy, centralized the setupID() functionality
Glen Mazza [Wed, 11 Aug 2004 04:15:28 +0000 (04:15 +0000)]
1. For maintenance and accuracy, centralized the setupID() functionality
from the various FO's to the FObj base class.

2. Created a lookup bitset in PropertySets to help accomplish the above.

3. Generally moved initialization code from the setup() methods to the
addProperties() methods in the various FO subclasses.

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

20 years agoThis change allows users to set the level of the javadocs task to
Simon Pepping [Tue, 10 Aug 2004 19:30:33 +0000 (19:30 +0000)]
This change allows users to set the level of the javadocs task to
private, package or public. It also allows users to set a user
hyphenation directory from which hyphenation files are compiled and
added to the hyph directory in the build.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

20 years ago1.) fo:retrieve marker layout initialization moved from AddLMVisitor to RetrieveMarke...
Glen Mazza [Tue, 10 Aug 2004 05:33:15 +0000 (05:33 +0000)]
1.) fo:retrieve marker layout initialization moved from AddLMVisitor to RetrieveMarker class.

2.) New PageNumberCitationLayoutManager class created, layout logic imported from fo.flow.PageNumberCitation to this new class.

3.) validateChildNode() implemented for fo:block.

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

20 years agoCreated a BitSet indicating FO's that can contain fo:marker child elements,
Glen Mazza [Sun, 8 Aug 2004 19:04:49 +0000 (19:04 +0000)]
Created a BitSet indicating FO's that can contain fo:marker child elements,
removed all containsMarkers() methods from FObj subclasses.

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

20 years agoImplemented getNameId() which returns the Constants enumeration ID
Glen Mazza [Sun, 8 Aug 2004 18:39:26 +0000 (18:39 +0000)]
Implemented getNameId() which returns the Constants enumeration ID
for the FO.  For future array work or to reduce the amount of string comparisons being done.

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

20 years agoMoved fo:page-number layout code from AddLMVisitor to new PageNumberLayoutManager...
Glen Mazza [Sun, 8 Aug 2004 17:52:35 +0000 (17:52 +0000)]
Moved fo:page-number layout code from AddLMVisitor to new PageNumberLayoutManager class.

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

20 years ago1. new FONode.invalidChildError method added that will takes a "ruleViolated" string...
Glen Mazza [Sat, 7 Aug 2004 13:01:17 +0000 (13:01 +0000)]
1.  new FONode.invalidChildError method added that will takes a "ruleViolated" string for more detailed error messages.

2.  FO_URI added to FONode to decrease the number of imports of FOElementMapping within the FONode subclasses.

3.  Layout logic moved from fo.flow.BasicLink to a new BasicLinkLayoutManager class.

4.  BidiLayoutManager constructor modified, now needs the flow.BidiOverride object.

5.  ListItemLayoutManager setup moved from AddLMManager to flow.Listitem and layoutmgr.list.ListItemLayoutManager.

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

20 years agoPR:
Glen Mazza [Fri, 6 Aug 2004 15:41:12 +0000 (15:41 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Moved three FO's from AddLMVisitor->FObj.AddLayoutManager(); will eventually need to create additional LM's for at least two of them to remove the Area-specific code these FO's now have.

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

20 years agoPR:
Glen Mazza [Fri, 6 Aug 2004 04:22:18 +0000 (04:22 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
1.) Continued conversion/deprecation of AddLMVisitor. About 16 FO's remaining.
2.) Created a *temporary* LMVisited interface to mark those FO's still
needing conversion.  This will be dropped once the process is complete.

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

20 years agoFirst version
Simon Pepping [Thu, 5 Aug 2004 20:16:50 +0000 (20:16 +0000)]
First version

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

20 years agoMore detaching from AddLMVisitor those FO's which don't/don't currently
Glen Mazza [Wed, 4 Aug 2004 22:50:59 +0000 (22:50 +0000)]
More detaching from AddLMVisitor those FO's which don't/don't currently
generate areas.

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

20 years agoPR:
Glen Mazza [Wed, 4 Aug 2004 22:21:04 +0000 (22:21 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Start of conversion of AddLMVisitor to FObj.AddLayoutManager():  removed
acceptVisitor() methods from FO's that don't need LM's
(e.g., those FO's not yet implemented or those that don't return areas anyway).

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

20 years agoPR:
Glen Mazza [Tue, 3 Aug 2004 22:36:26 +0000 (22:36 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
New Batik library and updated SVGElement to handle it.

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

20 years agoImplemented validity checking for fo:bidi-override.
Glen Mazza [Tue, 3 Aug 2004 05:22:43 +0000 (05:22 +0000)]
Implemented validity checking for fo:bidi-override.

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

20 years agoFirst committed version
Simon Pepping [Sun, 1 Aug 2004 19:48:51 +0000 (19:48 +0000)]
First committed version

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

20 years agoPR:
Glen Mazza [Sun, 1 Aug 2004 16:46:46 +0000 (16:46 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Child element validation added to fo:instream-foreign-object.

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

20 years agoPR:
Glen Mazza [Sun, 1 Aug 2004 15:26:53 +0000 (15:26 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Consolidated RegionBASE into Region and RegionBA/RegionSE (RegionBASE was
supporting only one unique property.)

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

20 years ago1.) Moved from FOPException to SAXParseException for addProperties()
Glen Mazza [Sun, 1 Aug 2004 04:20:50 +0000 (04:20 +0000)]
1.) Moved from FOPException to SAXParseException for addProperties()
2.) FONode: locator object added, its three components (file, line, col) removed
3.) FONode: new attributeError() method created for attribute problems in input FO.
4.) Removed some setup() methods in the FO's, placed them in addProperties() instead.

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

20 years ago1. validation for fo:basic-link added
Glen Mazza [Sat, 31 Jul 2004 00:44:23 +0000 (00:44 +0000)]
1.  validation for fo:basic-link added

2.  "name" data element removed from FONode, added to its XMLObj subclass (FObj subclasses'  getName() uses a string constant instead.)

3.  isBlockOrInlineItem() convenience method added to FObj

4.  setup() methods within FO's switched to private access.

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

20 years agoRemoved the FOTreeVisitor interface in favor of a more
Glen Mazza [Tue, 27 Jul 2004 23:57:18 +0000 (23:57 +0000)]
Removed the FOTreeVisitor interface in favor of a more
direct connection to (the subclassable) AddLMVisitor
in the FO's.

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

20 years agoProvided validateChildFO() methods for the "easy" FO's--i.e., those
Glen Mazza [Tue, 27 Jul 2004 23:23:24 +0000 (23:23 +0000)]
Provided validateChildFO() methods for the "easy" FO's--i.e., those
with an empty content model.

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

20 years agoSwitch from IllegalArgumentException to SAXParseException for errors found in the...
Glen Mazza [Tue, 27 Jul 2004 05:12:41 +0000 (05:12 +0000)]
Switch from IllegalArgumentException to SAXParseException for errors found in the input FO.

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

20 years agoRenamed end() method to somewhat clearer endOfNode().
Glen Mazza [Tue, 27 Jul 2004 03:38:13 +0000 (03:38 +0000)]
Renamed end() method to somewhat clearer endOfNode().

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

20 years agoRedefining "isOutOfLineFODescendant" to include cases where FObj itself
Glen Mazza [Tue, 27 Jul 2004 03:01:33 +0000 (03:01 +0000)]
Redefining "isOutOfLineFODescendant" to include cases where FObj itself
is and O-o-L FO.

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

20 years agoTook advantage of the Transformer similarities between FO input and
Glen Mazza [Sun, 25 Jul 2004 17:04:44 +0000 (17:04 +0000)]
Took advantage of the Transformer similarities between FO input and
(XSL, XSLT) input to combine the two into InputHandler.

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

20 years agoCreated a "isOutOfLineFODescendant" member variable to FObj, needed for
Glen Mazza [Sun, 25 Jul 2004 16:11:04 +0000 (16:11 +0000)]
Created a "isOutOfLineFODescendant" member variable to FObj, needed for
input FOValidation. As defined in Sect. 6.2 of the spec, certain child FO's
are not valid if the parent FO is a descendant of an out of line FO (sect. 6.10)

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

20 years agoRemoved the non-File constructors from the InputHandler subclasses in favor
Glen Mazza [Sun, 25 Jul 2004 01:47:47 +0000 (01:47 +0000)]
Removed the non-File constructors from the InputHandler subclasses in favor
of JAXP (for embedded use), and standardized FOFileHandler to use a
StreamSource (like XSLTInputHandler).  Currently, command Line usage
works only with files, but We may need to expand the constructors here
somewhat again should we provide other input options from the command line.
other options

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

20 years agoBug fixed in previous renaming.
Glen Mazza [Sun, 25 Jul 2004 01:14:25 +0000 (01:14 +0000)]
Bug fixed in previous renaming.

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