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

20 years agoreverted change in PropertySets; unnecessary.
Glen Mazza [Sun, 25 Jul 2004 01:00:35 +0000 (01:00 +0000)]
reverted change in PropertySets; unnecessary.

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

20 years agomoved FO term of a Node's child elements from "Children" to "ChildNodes"
Glen Mazza [Sat, 24 Jul 2004 22:56:31 +0000 (22:56 +0000)]
moved FO term of a Node's child elements from "Children" to "ChildNodes"

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

20 years agoCombined the apps.Driver class into apps.Fop. (195 LOC total.) Primary
Glen Mazza [Sat, 24 Jul 2004 05:47:45 +0000 (05:47 +0000)]
Combined the apps.Driver class into apps.Fop. (195 LOC total.)  Primary
benefit is to make Fop self-documenting in external code, also none of the
API ideas called for retention of the Driver class (even if there were
different ideas for its replacement).

Let's try this for a few weeks, if it confuses people too much (or when
the API starts to grow again) we can bring back Driver, possibly under
a different name, apps.FopProcess, perhaps.

See also:
http://marc.theaimsgroup.com/?l=fop-dev&m=108947697611032&w=2
http://marc.theaimsgroup.com/?l=fop-dev&m=108966015504506&w=2
http://marc.theaimsgroup.com/?l=fop-dev&m=108942673103344&w=2
http://marc.theaimsgroup.com/?l=fop-dev&m=108958756030147&w=2

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

20 years agoRenamed FONode.addChild() to somewhat clearer FONode.addChildNode().
Glen Mazza [Sat, 24 Jul 2004 04:46:34 +0000 (04:46 +0000)]
Renamed FONode.addChild() to somewhat clearer FONode.addChildNode().

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

20 years agoAllow a null locator in errorText
Simon Pepping [Fri, 23 Jul 2004 18:54:57 +0000 (18:54 +0000)]
Allow a null locator in errorText

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

20 years agoRemoved redundant check for invalid render type.
Glen Mazza [Tue, 20 Jul 2004 23:01:42 +0000 (23:01 +0000)]
Removed redundant check for invalid render type.

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

20 years ago1.) Moved the SAXParser-creating method from FOFileHandler to CommandLineOptions,
Glen Mazza [Tue, 20 Jul 2004 21:28:50 +0000 (21:28 +0000)]
1.) Moved the SAXParser-creating method from FOFileHandler to CommandLineOptions,
the latter being the class directly using it.

2.) Decoupled the SVG classes from apps.FOFileHandler, the SVG classes for some reason
want a string containing a name of a SAXParser.  We'll need to look in the future for
the actual need for this--normally error messages are done by the caller, not
the callee.  It would appear that Batik can generate a SAXParser name by default,
and use that when not explicitly overridden by the caller.

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

20 years ago1.) render() methods moved from Driver to XSLTInputHandler and FOFileHandler.
Glen Mazza [Tue, 20 Jul 2004 03:39:24 +0000 (03:39 +0000)]
1.)  render() methods moved from Driver to XSLTInputHandler and FOFileHandler.

2.)  -param command line switch implemented for xml->xslt->pdf processes

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

20 years ago1.) Moved exclusively to Simon's DefaultHandler object for both Transformer
Glen Mazza [Mon, 19 Jul 2004 22:46:14 +0000 (22:46 +0000)]
1.)  Moved exclusively to Simon's DefaultHandler object for both Transformer
and SAXParser usage.  DefaultHandler implements the ContentHandler interface
so it can be used where the latter was previously used, also it provides more
functionality.  [1]

2.) Updated the examples and internal code accordingly.

3.) Renamed ExampleFO2PDFUsingSAX to ...Parser to avoid confusion (both use
SAX.)

[1] http://www.cafeconleche.org/books/xmljava/chapters/ch06s03.html#d0e8440

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

20 years ago1.) Driver constructor modified to require RenderType, and setter functions
Glen Mazza [Mon, 19 Jul 2004 05:33:35 +0000 (05:33 +0000)]
1.) Driver constructor modified to require RenderType, and setter functions
for RenderType and FOUserAgent removed, to allow for better checking of
a valid Driver object at time of construction.  (Also, will reduce need to
validate Driver object should it be a parameter to a method.)

2.) Added validity checking of renderType to FOTreeBuilder as well, in
effect decoupling Driver from FOTreeBuilder (the latter can work on its own
now.)

3.) Updated the various examples and the documentation to indicate the
new API.

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

20 years agoAdded alternative example for FO to PDF, using javax.xml.parsers
Simon Pepping [Sun, 18 Jul 2004 19:55:17 +0000 (19:55 +0000)]
Added alternative example for FO to PDF, using javax.xml.parsers

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

20 years agoImplemented the ErrorHandler interface in FOTreeBuilder.
Simon Pepping [Sun, 18 Jul 2004 19:51:40 +0000 (19:51 +0000)]
Implemented the ErrorHandler interface in FOTreeBuilder.
Created a method in Driver to return FOTreeBuilder as a DefaultHandler.

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

20 years agoRemoved the Driver(OutputStream) convenience constructor as not particularly
Glen Mazza [Sun, 18 Jul 2004 01:25:34 +0000 (01:25 +0000)]
Removed the Driver(OutputStream) convenience constructor as not particularly
helpful, and a can of worms given all the possible permutations of constructors
that could be created.

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

20 years ago1. New constructor for Driver created, takes FOUserAgent constructor.
Glen Mazza [Sun, 18 Jul 2004 00:50:08 +0000 (00:50 +0000)]
1. New constructor for Driver created, takes FOUserAgent constructor.
Used for both CLI and AWTRenderer.  (Thanks to Simon Pepping)
2. Removed Driver(AWTRenderer) constructor.
3. OutputStream validation moved to FOTreeBuilder.
4. Driver.reset() removed, not currently serving a purpose.

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

20 years agoset bullet list as default list style
Peter Herweg [Sat, 17 Jul 2004 13:11:12 +0000 (13:11 +0000)]
set bullet list as default list style

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

20 years agoNull pointer check added to code, to stop NPE error (unsure if other problems
Glen Mazza [Fri, 16 Jul 2004 10:52:02 +0000 (10:52 +0000)]
Null pointer check added to code, to stop NPE error (unsure if other problems
also present).

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

20 years agoMoved user-defined ElementMapping initialization from Driver to FOUserAgent.
Glen Mazza [Fri, 16 Jul 2004 05:10:32 +0000 (05:10 +0000)]
Moved user-defined ElementMapping initialization from Driver to FOUserAgent.
Moved only "string" method, the version we use internally--probably sufficient
for others' work as well.  (Note: an additional unused FOUserAgent object will
be created in driver during command-line use--cp. its no-param constructor vs.
setUserAgent() call in apps.Fop; this will need to be ironed out at some time.)

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

20 years agoBack to transform example, reverted yesterday's change that removed BufferedOutputStream.
Glen Mazza [Fri, 16 Jul 2004 03:36:14 +0000 (03:36 +0000)]
Back to transform example, reverted yesterday's change that removed BufferedOutputStream.

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

20 years ago*Temporary* commit showing how this process works via SAXParserFactory;
Glen Mazza [Fri, 16 Jul 2004 03:29:57 +0000 (03:29 +0000)]
*Temporary* commit showing how this process works via SAXParserFactory;
including just for future reference should we get a question on this class
or wish to document this method on our web pages in the future.

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

20 years agoMinor edit, fixed commenting.
Glen Mazza [Wed, 14 Jul 2004 23:05:44 +0000 (23:05 +0000)]
Minor edit, fixed commenting.

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

20 years agoRemoved the Driver.run() method in favor of JAXP.
Glen Mazza [Wed, 14 Jul 2004 23:01:56 +0000 (23:01 +0000)]
Removed the Driver.run() method in favor of JAXP.

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

20 years agoRemoved BufferedOutputStream line as unneeded in this case (Unsure if helpful
Glen Mazza [Wed, 14 Jul 2004 22:45:27 +0000 (22:45 +0000)]
Removed BufferedOutputStream line as unneeded in this case (Unsure if helpful
for performance.)

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

20 years agoUpdated FO->PDF example to use JAXP.
Glen Mazza [Wed, 14 Jul 2004 22:42:29 +0000 (22:42 +0000)]
Updated FO->PDF example to use JAXP.

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

20 years agobug fixed, which caused runtime-exception on leading whitespaces
Peter Herweg [Tue, 13 Jul 2004 20:59:02 +0000 (20:59 +0000)]
bug fixed, which caused runtime-exception on leading whitespaces

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

20 years agomissing call of endFlow added, so RTF module doesn't shift fo:flow's content into...
Peter Herweg [Tue, 13 Jul 2004 20:27:35 +0000 (20:27 +0000)]
missing call of endFlow added, so RTF module doesn't shift fo:flow's content into fo:static-content anymore

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

20 years agoPR:
Glen Mazza [Tue, 13 Jul 2004 05:25:26 +0000 (05:25 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
1. Removed Driver.setXMLReader(), this can be done via JAXP.

2. Moved the business logic for creating FOTreeBuilder's FOInputHandler
object from Driver to FOTreeBuilder.

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

20 years ago1.) Combined the AreaTree and FOTreeHandler into a new AreaTreeHandler
Glen Mazza [Tue, 13 Jul 2004 00:16:22 +0000 (00:16 +0000)]
1.) Combined the AreaTree and FOTreeHandler into a new AreaTreeHandler
object.  FOTreeHandler was primarily acting as an AreaTreeHandler,
and AreaTree had a 1-to-1 relationship with it.  Comments most welcome.

2.) Created convenience methods in FOInputHandler for those subclasses
which do not handle certain signals/events called from the formatting
objects (i.e., AreaTreeHandler).

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

20 years agoMoved FOPPrintServlet from using XSLTInputHandler to JAXP.
Glen Mazza [Sun, 11 Jul 2004 22:55:08 +0000 (22:55 +0000)]
Moved FOPPrintServlet from using XSLTInputHandler to JAXP.

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

20 years agoReviewed the Mime types
Simon Pepping [Fri, 9 Jul 2004 20:07:47 +0000 (20:07 +0000)]
Reviewed the Mime types

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

20 years agoCorrection to the javadoc
Simon Pepping [Fri, 9 Jul 2004 20:06:30 +0000 (20:06 +0000)]
Correction to the javadoc

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

20 years agoAdding reporting of mime type to renderers.
Simon Pepping [Fri, 9 Jul 2004 20:05:41 +0000 (20:05 +0000)]
Adding reporting of mime type to renderers.

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

20 years agoImplementing user configuration file.
Simon Pepping [Fri, 9 Jul 2004 17:27:12 +0000 (17:27 +0000)]
Implementing user configuration file.
Adding debug logging for user configuration, user PDF filters and user
fonts.
Adding reporting of mime type to renderers.

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

20 years agoMade Driver.initialize() private, more in line with 0.20.5, which doesn't
Glen Mazza [Fri, 9 Jul 2004 01:48:58 +0000 (01:48 +0000)]
Made Driver.initialize() private, more in line with 0.20.5, which doesn't
have such a method.

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

20 years agoPR:
Glen Mazza [Wed, 7 Jul 2004 23:28:44 +0000 (23:28 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Removed DocumentReader/DocumentInputSource from the API in favor of the
JAXP identity transformation for DOM Tree Handling.  JAXP seems to be
the right way for us to go for 1.0 for DOM documents, and I think we can
make the change now, with few people using HEAD in production.
Still, we'll listen to the user email list on this change as a judge
of whether these classes need to return.

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

20 years agoSwitch to JAXP identity transformation for DOM Document example.
Glen Mazza [Wed, 7 Jul 2004 22:16:53 +0000 (22:16 +0000)]
Switch to JAXP identity transformation for DOM Document example.

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

20 years agoSwitch from non-JAXP DOM processing to using JAXP identity transformation
Glen Mazza [Wed, 7 Jul 2004 22:15:10 +0000 (22:15 +0000)]
Switch from non-JAXP DOM processing to using JAXP identity transformation
for ExampleDOM2PDF example.  Patch from Jeremias Maerki.

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

20 years ago1.) Moved the Renderer creation further down from AreaTree to RenderPagesModel (subcl...
Glen Mazza [Wed, 7 Jul 2004 01:51:50 +0000 (01:51 +0000)]
1.) Moved the Renderer creation further down from AreaTree to RenderPagesModel (subclass of AreaTreeModel).  Still have the issue of the four-param constructor a bit messy, also some of the exceptions I have to declare to be thrown may not be necessary.

2.) Removed encapsulation-breaking methods from AreaTree; dropped the AreaTreeBuilder class as it wasn't conformant with our API and required too many objects to expose internal functionality.

3.) Validity checking added for fo:title, however still won't work as #PCDATA needs <fo:blocks> around it within FOP, but the Recommendation bans those for fo:title.

4.) isInlineItem() added to FObj, as a quick check for the %inline; parameter entity as defined in spec.

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

20 years agoThis change abstracts the Renderer away from FOTreeHandler as follows:
Glen Mazza [Tue, 6 Jul 2004 05:25:09 +0000 (05:25 +0000)]
This change abstracts the Renderer away from FOTreeHandler as follows:

Old:
driver-->fotreehandler-->areatree
                     \-->renderer

New:
driver-->fotreehandler-->areatree-->renderer

I am hoping this will streamline the code more.
Main drawback I can see is that the AreaTree constructor
gets a bit ugly--from one parameter, the Renderer,
to four (the items needed to create a Renderer.) Perhaps
we can have AreaTree construct the FontInfo object in the
future, dropping us to a three-parameter constructor.

Comments welcome.

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

20 years ago1.) Moved DocumentInputSource & DocumentReader to apps package, made private
Glen Mazza [Mon, 5 Jul 2004 23:47:56 +0000 (23:47 +0000)]
1.) Moved DocumentInputSource & DocumentReader to apps package, made private
to package.

2.) Added validity checking to fo:static-content.

3.) Bug with uninitialized FOUserAgent in Driver fixed (this will probably
need more analysis later.)

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