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

20 years agoapplied Luca Furini's patch from bug #28314
Chris Bowditch [Mon, 26 Apr 2004 14:28:30 +0000 (14:28 +0000)]
applied Luca Furini's patch from bug #28314
fixes problems with justification on last line in a block.

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

20 years agoFor area.Blocks created in BlockLayoutManager.getParentArea(), I set the
Glen Mazza [Sun, 25 Apr 2004 04:45:28 +0000 (04:45 +0000)]
For area.Blocks created in BlockLayoutManager.getParentArea(), I set the
width of the Block to that of its parent block.

This fixes a layout problem where

<fo:table-cell><fo:block border-bottom="1pt solid black">some text</ ></ >

was causing a line to draw across the entire page, because the cell width present in
fo:table-cell's Block was not copied into the inner fo:block's Block.  (This problem did not
occur if the border-bottom attribute was set in fo:table-cell.)

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

20 years agoUpdated news page.
Glen Mazza [Sat, 24 Apr 2004 19:37:22 +0000 (19:37 +0000)]
Updated news page.

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

20 years agoRemoved currently unused Document object from the LayoutStrategy (the latter
Glen Mazza [Sat, 24 Apr 2004 07:03:56 +0000 (07:03 +0000)]
Removed currently unused Document object from the LayoutStrategy (the latter
class is already a child of Document, and a two-way interface appears unneeded.)

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

20 years agoMore apps.Document->fonts.FontInfo conversion.
Glen Mazza [Sat, 24 Apr 2004 06:08:13 +0000 (06:08 +0000)]
More apps.Document->fonts.FontInfo conversion.

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

20 years agoPDFRenderer does not presently support out-of-order rendering (e.g.,
Glen Mazza [Sat, 24 Apr 2004 05:15:35 +0000 (05:15 +0000)]
PDFRenderer does not presently support out-of-order rendering (e.g.,
a 10 page document that has an "ending page" fo:page-number-citation in use
will have page 10 printed first, then pages 1-9).  Turning this value to false
has the pages generate in correct order.

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

20 years agoLogger "LogFactory.getLog(PDFObject.class.getPackage().getName())" was
Glen Mazza [Fri, 23 Apr 2004 03:05:11 +0000 (03:05 +0000)]
Logger "LogFactory.getLog(PDFObject.class.getPackage().getName())" was
causing null pointer exceptions when the Ant task is run (although not with
command-line usage); switched to "LogFactory.getLog(PDFObject.class.getName())",
which works for both command-line and Ant task.

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

20 years agoUnneeded imports removed.
Glen Mazza [Thu, 22 Apr 2004 21:56:09 +0000 (21:56 +0000)]
Unneeded imports removed.

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

20 years agoPR:
Glen Mazza [Thu, 22 Apr 2004 21:38:41 +0000 (21:38 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

Patch #28525 applied -- new FontInfo class.

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

20 years agoNew FontInfo class (original design was from Layout.FontInfo, and was removed
Glen Mazza [Wed, 21 Apr 2004 23:08:51 +0000 (23:08 +0000)]
New FontInfo class (original design was from Layout.FontInfo, and was removed
and placed into the Document class last year).  This class is to be an encapsulation
of the Font information within apps.Document, also to be used in Transcoder and other
non-XSL-specific classes and packages instead of an apps.Document object, in those
cases where the latter either presents too much information and/or is not relevant
for referenced class' task.  Currently not used, pending new patch in Bugzilla.

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

20 years agoRemaining changes done with Avalon->Commons Logging conversion. (Bug 28237)
Glen Mazza [Sun, 18 Apr 2004 22:39:02 +0000 (22:39 +0000)]
Remaining changes done with Avalon->Commons Logging conversion.  (Bug 28237)

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

20 years agoApparent off-by-one error fixed for initial-page-number property:
Glen Mazza [Sun, 18 Apr 2004 02:50:46 +0000 (02:50 +0000)]
Apparent off-by-one error fixed for initial-page-number property:

http://www.w3.org/TR/2003/WD-xsl11-20031217/#initial-page-number

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

20 years agoMore consolidation of pagination examples.
Glen Mazza [Sun, 18 Apr 2004 02:01:24 +0000 (02:01 +0000)]
More consolidation of pagination examples.

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

20 years agoUsed standard Java exception-printing method "printStackTrace(PrintStream)"
Glen Mazza [Wed, 14 Apr 2004 22:57:10 +0000 (22:57 +0000)]
Used standard Java exception-printing method "printStackTrace(PrintStream)"
instead of Avalon equivalent.

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

20 years agoReturned documentation on how to do Avalon logging; documentation now in two sections.
Glen Mazza [Sun, 11 Apr 2004 21:53:41 +0000 (21:53 +0000)]
Returned documentation on how to do Avalon logging; documentation now in two sections.

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

20 years ago3/4ths of Simon's patch committed at the moment, with minor changes
Glen Mazza [Fri, 9 Apr 2004 03:05:40 +0000 (03:05 +0000)]
3/4ths of Simon's patch committed at the moment, with minor changes
made.

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

20 years agoadded Luca Furini to contributor section
Chris Bowditch [Thu, 8 Apr 2004 13:17:15 +0000 (13:17 +0000)]
added Luca Furini to contributor section

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

20 years ago<sigh> line endings got mucked up by last commit.
Chris Bowditch [Wed, 7 Apr 2004 14:39:43 +0000 (14:39 +0000)]
<sigh> line endings got mucked up by last commit.

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

20 years agoapplied Luca Furini's patch to fix justification bug 28208
Chris Bowditch [Wed, 7 Apr 2004 14:24:17 +0000 (14:24 +0000)]
applied Luca Furini's patch to fix justification bug 28208

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

20 years agoComments added.
Glen Mazza [Tue, 6 Apr 2004 22:50:44 +0000 (22:50 +0000)]
Comments added.

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

20 years agotesting commit access
Andreas L. Delmelle [Sun, 4 Apr 2004 14:27:23 +0000 (14:27 +0000)]
testing commit access

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