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

20 years agovalidateChildNode() activated for fo:flow.
Glen Mazza [Sun, 4 Jul 2004 05:15:38 +0000 (05:15 +0000)]
validateChildNode() activated for fo:flow.

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

20 years agoRemoved isMarker() method in favor of getName() (may eventually switch to an ID syste...
Glen Mazza [Sun, 4 Jul 2004 04:50:54 +0000 (04:50 +0000)]
Removed isMarker() method in favor of getName() (may eventually switch to an ID system for element names for better performance.)

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

20 years ago1.) Moved Renderer instantiation from Driver to FOTreeHandler, as it is the only
Glen Mazza [Sun, 27 Jun 2004 13:29:32 +0000 (13:29 +0000)]
1.)  Moved Renderer instantiation from Driver to FOTreeHandler, as it is the only
FOInputHandler subclass concerned with Renderer creation. (MIFHandler and RTFHandler
are hardcoded to a particular renderer-type).

2.)  Added a RendererOverride member variable in FOUserAgent, for use by
AWTRenderer as well as external (i.e. user-defined) renderers.  FOTreeHandler coded
to reference it.

3.)  Flow validity checking which was added yesterday temporarily commented-out;
I misread the content model from the spec (I will have to account for fo:markers
as initial children.)

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

20 years ago1. Output constant types (RENDER_PDF, RENDER_PS, etc.) made common between
Glen Mazza [Sat, 26 Jun 2004 19:37:13 +0000 (19:37 +0000)]
1. Output constant types (RENDER_PDF, RENDER_PS, etc.) made common between
CommandLineOptions and Driver, and factored into fo.Constants interface.

2. New Driver(AWTRenderer renderer) constructor added in apps.Driver for
the AWTRenderer (which does reloading, unique among the output types.)  Note
reloading currently doesn't work--AWTRenderer not yet functional.

3. Driver.hasData() method removed from API--a search on when it was implemented
dates it to 2001, when reset() was coded.  Unsure of its need, and so
removed until we have user requests for it.

4. Renderers abstracted away from API in favor of just calling .setRenderer(int Rendertype),
and configuring user-configurable options in FOUserAgent.

5. Driver.setRenderer(String <renderer class name>) also dropped.  If external user
need for it, can be re-implemented fairly easily via a "renderer override" string in FOUserAgent, for which FOTreeHandler can read and use instead.

6. Validity checking added to fo:flow, and convenience functions defining the "%block;"
parameter entity and neutral containers as defined in 6.2 of spec [1] added to FObj.

[1] http://www.w3.org/TR/2001/REC-xsl-20011015/slice6.html#section-N9447-Formatting-Object-Content

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

20 years ago1.) Moved the CommandLineOptions' InputHandler object into FOUserAgent, allowing
Glen Mazza [Fri, 25 Jun 2004 23:35:00 +0000 (23:35 +0000)]
1.) Moved the CommandLineOptions' InputHandler object into FOUserAgent, allowing
for a no-parameter constructor for AWTRenderer (like the other renderers).  (Code is
not yet ideal in AWTRenderer, but will do the task.)

2.) AWT renderer handling now more similar to the other renderers
(simplifications in Driver, Fop).

3.) Driver.getRenderer() removed from API.  (Renderer configuration now mostly
done through FOUserAgent, and setup of renderer prior to calling setRenderer().)

4.) Validity checking added to region-after, -start, -end, and -before.

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

20 years ago1.) Moving renderer-specific customization variables (producer, creator, create date...
Glen Mazza [Wed, 23 Jun 2004 00:25:27 +0000 (00:25 +0000)]
1.) Moving renderer-specific customization variables (producer, creator, create date) to FOUserAgent, those renderers which can work with these values can read them from passed-in FOUserAgent instance.

2.) Version.getVersion() moved to Fop.getVersion().

3.) Validation added for fo:region-body.

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

20 years agoDisable check for maximum line length because of a problem reported in FOP 0.20.5.
Jeremias Maerki [Tue, 22 Jun 2004 18:42:27 +0000 (18:42 +0000)]
Disable check for maximum line length because of a problem reported in FOP 0.20.5.

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

20 years ago1. Moved renderer options to within FOUserAgent
Glen Mazza [Tue, 22 Jun 2004 00:44:46 +0000 (00:44 +0000)]
1. Moved renderer options to within FOUserAgent
2. Validity checking on fo:conditional-page-master-reference added.

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

20 years ago1.) Removed the get/setLogger methods from Driver, obsolete with Commons-Logging.
Glen Mazza [Sun, 20 Jun 2004 12:35:17 +0000 (12:35 +0000)]
1.) Removed the get/setLogger methods from Driver, obsolete with Commons-Logging.
2.) Updated examples and documentation.
3.) Added a -v option to show version of FOP being used.

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

20 years ago1. Created own logger for AbstractRenderer, removed logger setter from Renderer inter...
Glen Mazza [Sun, 20 Jun 2004 07:46:13 +0000 (07:46 +0000)]
1. Created own logger for AbstractRenderer, removed logger setter from Renderer interface.
2. Validity checking for fo:repeatable-page-master-alternatives.

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

20 years ago1. ProxyContentHandler no longer needed.
Glen Mazza [Sun, 20 Jun 2004 05:15:40 +0000 (05:15 +0000)]
1. ProxyContentHandler no longer needed.
2. fo:repeatable-page-master-reference's ValidateChildNode() implemented.

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

20 years ago1.) FOInputHandler constructors switched from Document to FOUserAgent, Renderer added...
Glen Mazza [Sat, 19 Jun 2004 13:35:33 +0000 (13:35 +0000)]
1.) FOInputHandler constructors switched from Document to FOUserAgent, Renderer added to FOTreeHandler interface.
2.) Apps.Document dropped.
3.) Validity checking added to fo.pagination.SinglePageMasterReference

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

20 years agoImplemented a cache for property value lookup.
Simon Pepping [Fri, 18 Jun 2004 17:58:35 +0000 (17:58 +0000)]
Implemented a cache for property value lookup.

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

20 years agoUnused apps.Document object removed from FOTreeBuilder.
Glen Mazza [Fri, 18 Jun 2004 11:43:25 +0000 (11:43 +0000)]
Unused apps.Document object removed from FOTreeBuilder.

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

20 years ago1. FOTreeBuilder modified to handle more of the renderer initialization.
Glen Mazza [Fri, 18 Jun 2004 04:13:54 +0000 (04:13 +0000)]
1. FOTreeBuilder modified to handle more of the renderer initialization.
2. AreaTree now takes a Renderer as a constructor, handles RenderPagesModel initialization.
3. FontInfo object moved from Driver/Document to fo.FOInputHandler.
4. getFontState/getFontInfo now take a fontInfo object directly instead of a apps.Document.
5. validity checking added to PageSequence.java

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

20 years ago1. Child element validity checking added for fo:page-sequence-master.
Glen Mazza [Thu, 17 Jun 2004 07:02:13 +0000 (07:02 +0000)]
1. Child element validity checking added for fo:page-sequence-master.

2. AreaTree object moved from Document/Driver to FOTreeHandler, as it is specific to this subclass of FOInputHandler only (RTFHandler and MIFHandler don't use area trees).

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

20 years agoCorrection to text message of previous patch: No-parameter constructor created for...
Glen Mazza [Thu, 17 Jun 2004 04:53:59 +0000 (04:53 +0000)]
Correction to text message of previous patch: No-parameter constructor created for AreaTree.

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

20 years agoNo-constructor loader created for Area Tree.
Glen Mazza [Thu, 17 Jun 2004 04:46:08 +0000 (04:46 +0000)]
No-constructor loader created for Area Tree.

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

20 years ago1. Valid node checking for LayoutMasterSet done.
Glen Mazza [Wed, 16 Jun 2004 23:40:58 +0000 (23:40 +0000)]
1.  Valid node checking for LayoutMasterSet done.
2.  Additional error message provided for missing required child elements of a node.
3.  Removal of elementName from property list; redundant (retrievable via getFObj.getName()).  Adding getName() to FObj so the element so fObj.getName() works.
(Vielen Dank, Simon!)
4.  Moving locator information from FObj to FONode so non-XSL NS elements will also have this information.

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

20 years agoRemoved illegal tab character
Jeremias Maerki [Wed, 16 Jun 2004 21:29:33 +0000 (21:29 +0000)]
Removed illegal tab character
Removed some of the checkstyle warnings while at it.

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

20 years agoFix compilation problem
Jeremias Maerki [Wed, 16 Jun 2004 21:27:50 +0000 (21:27 +0000)]
Fix compilation problem

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

20 years ago1.) Check for fo:color-profile made to ensure no child elements during processing.
Glen Mazza [Wed, 16 Jun 2004 00:27:27 +0000 (00:27 +0000)]
1.) Check for fo:color-profile made to ensure no child elements during processing.
2.) Error messages for bad fo: files now give locator (line/col. #) information.
3.) Parent of the fo:root (FO Tree) "lowered" from apps.Document to fo.FOInputHandler;
IDReferences moved from former to latter.

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

20 years ago1.) Added restriction to fo:declarations that fo:color-profile is the only XSL namesp...
Glen Mazza [Tue, 15 Jun 2004 06:26:56 +0000 (06:26 +0000)]
1.) Added restriction to fo:declarations that fo:color-profile is the only XSL namespace child element allowed.

2.) Switched from fo.FOTreeControl to apps.Document throughout app, to better clarify that it is the apps.Document object being accessed/used.

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

20 years agoStandardized error messages, brought fox:bookmarks under parent fo:root.
Glen Mazza [Tue, 15 Jun 2004 00:30:43 +0000 (00:30 +0000)]
Standardized error messages, brought fox:bookmarks under parent fo:root.

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

20 years ago1.) App now returns an error if no page-sequence declared within fo:root.
Glen Mazza [Sun, 13 Jun 2004 19:58:58 +0000 (19:58 +0000)]
1.) App now returns an error if no page-sequence declared within fo:root.
2.) Standardized node names via a new static FONode.getNodeName() method
3.) Declarations object now tied to Root object, will no longer return NPE
    if empty (bug fixed).
4.) AreaTreeControl removed in favor of direct connection between Document
    and the Area Tree.

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

20 years agoRemoved unneeded getCurrentDocument() again from Driver.
Glen Mazza [Sun, 13 Jun 2004 01:21:17 +0000 (01:21 +0000)]
Removed unneeded getCurrentDocument() again from Driver.

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

20 years agoMoved AddLMVisitor accessors into FOTreeHandler.
Glen Mazza [Sun, 13 Jun 2004 01:11:49 +0000 (01:11 +0000)]
Moved AddLMVisitor accessors into FOTreeHandler.

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

20 years agoCreated a validateChildNode() in FONode for better syntax checking in the
Glen Mazza [Sat, 12 Jun 2004 23:18:53 +0000 (23:18 +0000)]
Created a validateChildNode() in FONode for better syntax checking in the
fo document:  e.g., preventing two fo:layout-master-set's from occurring within
an fo:root, requiring fo:page-sequence to follow the fo:l-m-s
(and fo:declarations, if present).  Currently just validates fo:root's children--validateChildNode() needs to be overridden in other FObj subclasses
to do the same for other formatting objects.  Comments most welcome.

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

20 years agoMore solid checking to ensure first node encountered is an fo:root FO.
Glen Mazza [Sat, 12 Jun 2004 18:52:08 +0000 (18:52 +0000)]
More solid checking to ensure first node encountered is an fo:root FO.

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

20 years agoRemoved get/setUserAgent() initializations from the LayoutManagers. (Infrequently
Glen Mazza [Sat, 12 Jun 2004 18:03:47 +0000 (18:03 +0000)]
Removed get/setUserAgent() initializations from the LayoutManagers.  (Infrequently
called, and already obtainable through AbstractLayoutManager's FObj member
variable.)

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

20 years agoadded year to Jeremy birthday
Clay Leeds [Fri, 11 Jun 2004 21:04:06 +0000 (21:04 +0000)]
added year to Jeremy birthday

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

20 years agoConsolidated formatPageSequence() into FOTreeHandler.
Glen Mazza [Fri, 11 Jun 2004 17:18:51 +0000 (17:18 +0000)]
Consolidated formatPageSequence() into FOTreeHandler.

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

20 years agoAdded/moved Clay Leeds to Active Committers and added to Areas of Expertise (Forrest)
Clay Leeds [Fri, 11 Jun 2004 05:16:21 +0000 (05:16 +0000)]
Added/moved Clay Leeds to Active Committers and added to Areas of Expertise (Forrest)

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

20 years agoBetter error-handling messages added for incorrect LayoutMasterSets.
Glen Mazza [Tue, 8 Jun 2004 22:16:52 +0000 (22:16 +0000)]
Better error-handling messages added for incorrect LayoutMasterSets.

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

20 years agopublic format() renamed to private formatPageSequence().
Glen Mazza [Tue, 8 Jun 2004 02:34:31 +0000 (02:34 +0000)]
public format() renamed to private formatPageSequence().

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

20 years agoRemoved the new apps.Document from public access within Driver, at least until the...
Glen Mazza [Tue, 8 Jun 2004 02:28:37 +0000 (02:28 +0000)]
Removed the new apps.Document from public access within Driver, at least until the former class' methods have been finalized and its API benefits over apps.Driver better declared.

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

20 years agoHyphenation of words with punctuation marks, patch by Luca Furini, bug
Simon Pepping [Sat, 29 May 2004 09:18:13 +0000 (09:18 +0000)]
Hyphenation of words with punctuation marks, patch by Luca Furini, bug
28431. Patch applied as modified by me.

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

20 years agoRemove trailing spaces at the end of a paragraph.
Simon Pepping [Sat, 29 May 2004 09:07:59 +0000 (09:07 +0000)]
Remove trailing spaces at the end of a paragraph.
Modify the way to deal with BPs which have not been added to
vecInlineBreaks.
See bug 28706. The code was rewritten w.r.t. the submitted patch.

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

20 years agoSolve a few problems concerning hyphenation:
Simon Pepping [Sat, 29 May 2004 08:50:46 +0000 (08:50 +0000)]
Solve a few problems concerning hyphenation:
- show the '-' at the end of the hyphenated lines
- use the fo:hyphenate property to enable hyphenation, instead of the alignment
- specify the hyphenation character using the fo:hyphenation-character property
Patch by Luca Furini, bug 27773

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

20 years agoMoved myself to the list of active committers
Simon Pepping [Thu, 27 May 2004 19:22:53 +0000 (19:22 +0000)]
Moved myself to the list of active committers

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

20 years agoimplemented break-before property
Chris Bowditch [Thu, 27 May 2004 10:52:33 +0000 (10:52 +0000)]
implemented break-before property

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

20 years agoadded protected log member, so child areas can send messages to log
Chris Bowditch [Wed, 26 May 2004 13:13:01 +0000 (13:13 +0000)]
added protected log member, so child areas can send messages to log

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

20 years agoadded fix break-* properties to layout todo list
Chris Bowditch [Wed, 26 May 2004 09:23:24 +0000 (09:23 +0000)]
added fix break-* properties to layout todo list

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

20 years agoRemoved getPropertyList() method from PropertyManager, as that method
Glen Mazza [Wed, 26 May 2004 05:09:00 +0000 (05:09 +0000)]
Removed getPropertyList() method from PropertyManager, as that method
is already available on the FObj (which owns both the PropertyList and the
PropertyManager.)

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

20 years agoRemoved PropertyManager argument from initProperties(), as it is already
Glen Mazza [Wed, 26 May 2004 04:22:40 +0000 (04:22 +0000)]
Removed PropertyManager argument from initProperties(), as it is already
available within its FObj object.

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

20 years agoReverted part of yesterday's work to make FObj simpler, added more commenting in...
Glen Mazza [Sun, 23 May 2004 17:00:00 +0000 (17:00 +0000)]
Reverted part of yesterday's work to make FObj simpler, added more commenting in FObj.

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

20 years agoPR:
Glen Mazza [Sat, 22 May 2004 21:44:38 +0000 (21:44 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Made propertyList member variable of fo.FObj protected (instead of public).
Property value queries routed through FObj instead of PropertyList.

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

20 years agoSwitched from handleAttrs() to more intuitive processNode() and (for FO namespace...
Glen Mazza [Sat, 22 May 2004 03:59:53 +0000 (03:59 +0000)]
Switched from handleAttrs() to more intuitive processNode() and (for FO namespace) addProperties() methods.

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

20 years agoAs I do more testing I'm narrowing down problems with markers, and I'm trying to...
Chris Bowditch [Thu, 20 May 2004 16:12:41 +0000 (16:12 +0000)]
As I do more testing I'm narrowing down problems with markers, and I'm trying to keep status up to date for others to follow

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

20 years agofixed problem with top/bottom borders on regular blocks
Chris Bowditch [Thu, 20 May 2004 08:11:31 +0000 (08:11 +0000)]
fixed problem with top/bottom borders on regular blocks

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

20 years agoSpelled out FO element maker classes in order to make its toString()
Glen Mazza [Wed, 19 May 2004 22:37:53 +0000 (22:37 +0000)]
Spelled out FO element maker classes in order to make its toString()
readable during debugging (without needing to provide individual toString() overrides).

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

20 years agoupdate markers todo item as re-parenting was not an accurate description
Chris Bowditch [Wed, 19 May 2004 11:30:51 +0000 (11:30 +0000)]
update markers todo item as re-parenting was not an accurate description

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

20 years agoadded more friendly message when Jimi/JAI is not present
Chris Bowditch [Tue, 18 May 2004 16:01:42 +0000 (16:01 +0000)]
added more friendly message when Jimi/JAI is not present

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

20 years agoFolded the layout strategy into apps.Document.
Glen Mazza [Tue, 18 May 2004 11:42:08 +0000 (11:42 +0000)]
Folded the layout strategy into apps.Document.

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

20 years agoadded ipd property to block element
Chris Bowditch [Tue, 18 May 2004 10:12:38 +0000 (10:12 +0000)]
added ipd property to block element

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

20 years agoupdated status: we can finally cross one item off the todo list
Chris Bowditch [Tue, 18 May 2004 09:11:27 +0000 (09:11 +0000)]
updated status: we can finally cross one item off the todo list

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

20 years agoPR:
Glen Mazza [Sat, 15 May 2004 21:52:00 +0000 (21:52 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
Moved FOUserAgent, FObj initialization from AddLMVisitor to constructors of respective LayoutManagers.

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

20 years agofixes problem that prevented proportional-column-width function working
Chris Bowditch [Thu, 13 May 2004 10:32:48 +0000 (10:32 +0000)]
fixes problem that prevented proportional-column-width function working

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

20 years agoRemoved the getLogger() and setLogger() from FOUserAgent; replaced with Commons Logging
Glen Mazza [Wed, 12 May 2004 23:19:53 +0000 (23:19 +0000)]
Removed the getLogger() and setLogger() from FOUserAgent; replaced with Commons Logging
equivalents in places where previously used.

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

20 years agoString->int conversion and a few other simplifications to fo.Region* classes.
Glen Mazza [Sun, 9 May 2004 20:45:15 +0000 (20:45 +0000)]
String->int conversion and a few other simplifications to fo.Region* classes.

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