William Victor Mote
fd7b116780
remove unused import
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196839 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
97d951521c
move fo/flow/ListItemBody.getItemLayoutManager() to layoutmgr/AddLMVisitor.getListItemBodyLayoutManager()
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196838 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
e2e87bec61
move fo/flow/Leader.getAllocIPD() to layoutmgr/AddLMVisitor.getLeaderAllocIPD()
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196837 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
443169f250
remove unneeded field fo/flow/Leader.leaderArea
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196836 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
9c658bd06f
1. move fo/flow/InstreamForeignObject.getInlineArea() to layoutmgr/AddLMVisitor.getIFOInlineArea()
2. remove unneeded field fo/flow/InstreamForeignObject.areaCurrent
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196835 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
d1fbbb88d1
move fo/flow/ExternalGraphic.getInlineArea() to layoutmgr/AddLMVisitor.getExternalGraphicInlineArea()
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196834 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
efffa4ddf0
move fo/flow/Character.getInlineArea() to layoutmgr/AddLMVisitor.getCharacterInlineArea()
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196833 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
b221e8cfc7
make area/CTM.getCTMandRelDims() more general by decoupling it from fo/PropertyManager
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196832 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
4df83a2c29
move property resolution logic from area/CTM.getCTMandRelDims() back to fo/PropertyManager
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196831 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
536527c37a
add workaround for property absolute-position not implemented
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196830 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
8847eaaeb1
move fo/PropertyManager.getCTMandRelDims() to area/CTM.getCTMandRelDims(), adding PropertyManager as a parameter, and making the method static.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196829 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
30d70cec7b
clean up some gump javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196828 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
8557c71491
move fo/FOUserAgent to apps/FOUserAgent, as it manages configuration information for the application as a whole
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196827 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
3d3636f668
1. move renderer initialization work from FOTreeHandler to Driver
2. clean up related FOTreeHandler constructor
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196826 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
325d7e5440
style changes only
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196825 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
aaa1b68a47
style/javadoc changes only
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196824 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
aff9b324f9
1. remove unused field
2. some checkstyle/javadoc changes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196823 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
0b26ea2542
style/javadoc changes only
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196822 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
dcc9f741f5
move extensions/Outline.getData() to layoutmgr/LayoutManagerLS.createBookmarkData()
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196821 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
c2363f421d
move extensions/BookmarkData to area/extensions/BookmarkData
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196820 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Glen Mazza
f0afd5ca2b
Examples 8-11 added to check:
1) implementation of border properties (border-color,
border-width, border-style, etc.) at the fo:table-row and fo:table-column level.
2) border property conflict resolutions as defined in CSS2 standard at
http://www.w3.org/TR/REC-CSS2/tables.html#border-conflict-resolution
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196819 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
b9e6c74ed4
move logic for creating bookmarks/outlines in the area tree from extensions/Bookmarks to layoutmgr/LayoutManagerLS
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196818 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
d43ad404c0
move control/Document to apps/Document
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196817 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
f221f760a4
style/javadoc changes only
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196816 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
ea3eecb391
move startup of laying out a PageSequence from PageSequence.format() and Document.foPageSequenceComplete to the LayoutStrategy implementation (layoutmgr/LayoutManagerLS)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196815 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
b15c07b568
move some fields and methods from Driver to Document
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196814 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Glen Mazza
15fd129709
Deprecated (since mid-2001) setRenderer(rendererClassName, version) method removed.
Fix to Bug 22561: Driver.run() incorrectly setting output type to PDF for the structure (MIF and RTF) types.
Submitted by: Michael Cosby (michael at cosby dot dhs dot org).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196813 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
07c09d4368
more FO Tree isolation work
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196812 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
f57272a7c4
create fo/FOTreeControl interface, and make control/Document implement it, to further encapsulate the FO Tree
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196811 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
eeaa58076b
remove unused interface
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196810 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
23c8e89aeb
1. Remove fo/FOTreeExternal and layoutmgr/LMFOTreeExternal (in favor of Visitor concept, see item 2)
2. Add fo/FOTreeVisitor and layoutmgr/AddLMVisitor
3. Remove all occurrences of addLayoutManager in fo/FObj subclasses, replacing them with equivalent methods in AddLMVisitor
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196809 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
47daa474f7
1. tie Document to fo.FOTreeBuilder and fo.pagination.Root
2. add getDocument() method to FONode (using this.parent for all nodes except Root)
3. start using getDocument() to gain access to font collections stored in Document
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196808 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Glen Mazza
903caae011
Removed error message when logger not explicitly set; Driver will continue to use ConsoleLogger as default in such circumstances. (Allows for coding simple command-line processes without needing to explicitly code in Avalon ConsoleLoggers)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196806 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
f0d0d58442
add back test to make sure a renderer is present, which is needed for StructureRenderers
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196805 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
943250a3d1
get generated font files to use new Typeface class name
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196804 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
8e0c356d56
1. integrate Document and LayoutStrategy into workflow
2. make Document a child of Driver and start integrating this hierarchy
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196803 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
7de2ca0a5e
move font constants from control.Document to fonts.Font
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196802 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
38c5bcb274
1. add infrastructure for LayoutStrategy
2. add infrastructure for move of layoutmgr logic out of fo package
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196801 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
a9a3ea1493
move layout.FontState to fonts.Font
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196800 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
dbb70a6873
move fonts.Font to fonts.Typeface (in preparation for moving layout.FontState to fonts.Font)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196799 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
1041ea8c48
1. create control package
2. move layout.FontInfo to control.Document
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196798 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Glen Mazza
dfadcfe581
$Id$ added to get header printed at top of file.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196797 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Glen Mazza
35cae00736
Created a simple example using the DOM Level 2 API for testing/demonstrating FOP's
DOM Document-processing capabilities.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196796 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
951e31cb43
clean up documentation of new code and some checkstyle problems
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196795 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Glen Mazza
8880ae5b8e
1.) CommandLineStarter removed, its functionality placed directly into Fop.main().
Fop.main() now responsible for taking command-line input as provided from
CommandLineOptions, and activating a Driver instance with that data.
2.) Minor cleanup of error messages in CommandLineOptions.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196794 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Glen Mazza
f2233a9242
1. FOPTaskStarter separated from Starter class (was not using latter's InputHandler).
2. CommandLineStarter made a top-level class, and abstract Starter class removed.
(only one starter being used for command line, regardless of renderer.)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196793 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Glen Mazza
69eea3085a
Renamed apps.FOInputHandler to apps.FOFileHandler to reduce confusion with the new FOInputHandler in the fo package.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196792 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
33d8eb8cac
move render.pdf.FontReader to fonts.FontReader
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196791 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
6b7838777f
move the "common" property classes from layout to fo.properties, renaming them with a "Common" prefix
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196790 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
b6dcb1e72d
1. convert fo.FOTreeHandler to fire events when it completes a PageSequence or document object
2. move logic that starts layout from fo.FOTreeHandler to apps.Driver.
3. add logic to apps.Driver to handle the events fired from fo.FOTreeHandler
4. end result is that FOTreeHandler now allows other objects to handle page-sequence and document objects in a manner similar to the way SAX allows them to handle XML elements.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196788 13f79535-47bb-0310-9956-ffa450edef68
21 years ago