aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/AbstractRenderer.java
Commit message (Collapse)AuthorAgeFilesLines
* Commented unnecessary (and unsafe) line.Jeremias Maerki2005-08-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@230809 13f79535-47bb-0310-9956-ffa450edef68
* My work on block content in inline content sofar. Block content inSimon Pepping2005-08-041-14/+19
| | | | | | | | | fo:inline is implemented. Basic rendering of this content is in place. BasicLinkLM uses the new structure for returning new Knuth elements git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@227471 13f79535-47bb-0310-9956-ffa450edef68
* Changes for restoring JDK 1.3 compatibility. Jeremias Maerki2005-07-271-15/+5
| | | | | | | | Submitted by: Robert Bielik <Robert.Bielik.at.gyros.com> (Patch committed with modifications and additional changes for test code) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225486 13f79535-47bb-0310-9956-ffa450edef68
* Made Service a stand-alone class so it can be reused. Jeremias Maerki2005-07-251-39/+15
| | | | | | | | | | Made XMLHandler discoverable through the Service class. Moved XMLHandler collection into new XMLHandlerRegistry class. Adjusted the Renderers and XMLHandler to the above changes. This should make it easier to write certain FOP extensions. The changes were triggered by my work on the FOP extension for Barcode4J for the FOP Trunk. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225143 13f79535-47bb-0310-9956-ffa450edef68
* Corrects a small mistake when repositioning the cursor in multi-column ↵Jeremias Maerki2005-07-081-1/+1
| | | | | | layout (see multi-column2.xml) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@209720 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Multiple spans now painted in the right places.Jeremias Maerki2005-06-291-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@202370 13f79535-47bb-0310-9956-ffa450edef68
* Footnote implementation: changes to existing filesLuca Furini2005-05-171-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198637 13f79535-47bb-0310-9956-ffa450edef68
* Merge of branch Temp_KnuthStylePageBreaking back into HEAD.Jeremias Maerki2005-05-131-10/+15
| | | | | | | Temp_KnuthStylePageBreaking branch and HEAD have been tagged prior to the merge, so merging uncommitted work from the branch should be easier. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198627 13f79535-47bb-0310-9956-ffa450edef68
* 1.) More commenting, some simplifications in the Area classes and PSLM.Glen Mazza2005-03-111-3/+3
| | | | | | | 2.) Renamed Area.Flow to NormalFlow, uglier but more in conformance with the Recommendation (normal-flow-reference-area) and more specific/easier to understand. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198477 13f79535-47bb-0310-9956-ffa450edef68
* Fix for adding absolutely positioned block without children.Jeremias Maerki2005-02-071-8/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198386 13f79535-47bb-0310-9956-ffa450edef68
* block-containers improved/fixed. The following features are implemented and ↵Jeremias Maerki2005-01-171-1/+1
| | | | | | | | | | | | testcases exist: left, right, top, bottom, width, height, block-progression-dimension (partial), inline-progression-dimension (partial), borders, padding, indents, reference-orientation. autoheight works only for in-flow BCs ATM. start-indent calculation fixed: uses inherited value if rules in 5.3.2 don't apply. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198272 13f79535-47bb-0310-9956-ffa450edef68
* Removed the "inheritedStartIndent" hack again.Jeremias Maerki2005-01-121-3/+11
| | | | | | | | | Switched to start|end-indent-oriented calculation. Improved line painting in the PDFRenderer. Some improvements in BlockContainerLayoutManager (but still WIP ATM). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198259 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-11-291-2/+5
| | | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: 1.) More cleanup/commenting of AreaTreeHandler. Removed the unused (disabled) manual garbage collection code. 2.) Removed renderContainer from Renderer interface, not required. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198177 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-10-271-4/+3
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Rename of TreeExt interface to somewhat more intuitive OffDocumentItem. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198104 13f79535-47bb-0310-9956-ffa450edef68
* Removal of empty Title subclass, now using LineArea.Glen Mazza2004-09-251-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197975 13f79535-47bb-0310-9956-ffa450edef68
* Calculate the margin offsets (border & padding), by increasingFinn Bock2004-09-231-4/+16
| | | | | | | current[IB]PPosition, in AbstractRenderer instead of in PDFRenderer. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197969 13f79535-47bb-0310-9956-ffa450edef68
* Gets rid of currentBlockIPPosition. Use currentIPPosition instead andFinn Bock2004-09-221-19/+13
| | | | | | | restore it after each block-level area. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197961 13f79535-47bb-0310-9956-ffa450edef68
* Use content ipd/bpd instead of allocation width/height.Finn Bock2004-09-221-10/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197959 13f79535-47bb-0310-9956-ffa450edef68
* Removed unneeded import statements. Makes eclipse happy.Finn Bock2004-09-071-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197933 13f79535-47bb-0310-9956-ffa450edef68
* Removed the redundant Region Class Codes in favor of the FO constantGlen Mazza2004-08-291-6/+6
| | | | | | | identifiers. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197896 13f79535-47bb-0310-9956-ffa450edef68
* Implementing user configuration file.Simon Pepping2004-07-091-1/+10
| | | | | | | | | 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
* 1.) Moving renderer-specific customization variables (producer, creator, ↵Glen Mazza2004-06-231-34/+0
| | | | | | | | | | | 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
* 1. Moved renderer options to within FOUserAgentGlen Mazza2004-06-221-10/+0
| | | | | | | 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
* 1.) Removed the get/setLogger methods from Driver, obsolete with ↵Glen Mazza2004-06-201-1/+1
| | | | | | | | | | 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
* 1. Created own logger for AbstractRenderer, removed logger setter from ↵Glen Mazza2004-06-201-10/+3
| | | | | | | | | 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
* PR:Glen Mazza2004-04-221-2/+2
| | | | | | | | | | | 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
* PR:Glen Mazza2004-03-311-2/+23
| | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Conversion of Avalon to Commons-Logger. (Will still need to update the examples, which I will take care of next; Jeremias will be modifying the PDF libraries for more efficient use of the CL loggers.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197474 13f79535-47bb-0310-9956-ffa450edef68
* Applied Apache License Version 2.0 by following the instructions at ↵Jeremias Maerki2004-02-271-48/+16
| | | | | | http://www.apache.org/dev/apply-license.html. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197384 13f79535-47bb-0310-9956-ffa450edef68
* Changed internal renderInlineXXX() functions from public to protected ↵Glen Mazza2004-02-251-6/+6
| | | | | | access. Removed need for renderers to specifically implement them in Renderer interface. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197370 13f79535-47bb-0310-9956-ffa450edef68
* Removal of Visitor patterns from AbstractRenderer, moving of business logic ↵Glen Mazza2004-02-251-110/+53
| | | | | | from InlineArea to AbstractRenderer. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197368 13f79535-47bb-0310-9956-ffa450edef68
* Do the regiontraits before changes ctm because the ctm only apply for theFinn Bock2004-02-041-2/+2
| | | | | | | region reference area, not the viewport itself. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197328 13f79535-47bb-0310-9956-ffa450edef68
* Handle SPACE_START trait for block areas.Finn Bock2004-01-291-10/+20
| | | | | | | PR: 25802. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197296 13f79535-47bb-0310-9956-ffa450edef68
* Moved the interfaces into the Constants class on a trial basis (we may stillGlen Mazza2004-01-171-1/+2
| | | | | | | | | | | | choose to remove them in favor of strictly using Constants.) Two interfaces (span and position) were removed because of conflicts with other class names. The interface generation was moved into Constants.xsl, which is run manually via the XsltToJava ant task and its output is then checked in. As a result, no more autogeneration of these interfaces at build time will be done. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197213 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Chris Bowditch's patch on padding-start implemented. (Changes wereGlen Mazza2003-11-241-76/+76
| | | | | | | | | | | | | | extended to implement part of padding-end as well.) 2.) Switched from TOP/BOTTOM/LEFT/RIGHT to BEFORE/AFTER/START/END in CommonBorderAndPadding--this is more appropriate for BlockLayout, also the various places calling it already were either (1) commenting on the need to switch to the above, or (2) placing the results of the above functions using the former constants into variables emphasizing the latter. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197023 13f79535-47bb-0310-9956-ffa450edef68
* Layout changed to account for fo:region-body borders and padding whenGlen Mazza2003-11-011-5/+5
| | | | | | | | | determining printable width and height for each page. Various method nitpicks also fixed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196974 13f79535-47bb-0310-9956-ffa450edef68
* renamed org.apache.fop.area.inline.Word to .TextArea (.Text not used to avoidGlen Mazza2003-10-281-9/+9
| | | | | | | | conflicts with org.w3c.dom.Text) changed Renderer.renderWord() method to renderText(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196973 13f79535-47bb-0310-9956-ffa450edef68
* Add possibility to set creation date.Joerg Pietschmann2003-09-191-2/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196924 13f79535-47bb-0310-9956-ffa450edef68
* Change to have the fo:region-body display "on top" in cases of overlap with ↵Glen Mazza2003-09-141-2/+6
| | | | | | the other fo:regions. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196908 13f79535-47bb-0310-9956-ffa450edef68
* add InlineAreaVisitor interface to make Area Tree more independent of RenderingWilliam Victor Mote2003-09-101-3/+76
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196900 13f79535-47bb-0310-9956-ffa450edef68
* clean up some gump javadoc warningsWilliam Victor Mote2003-09-011-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196883 13f79535-47bb-0310-9956-ffa450edef68
* 1. Partial implementation of fo:region-xxx and background-color propertyGlen Mazza2003-09-011-7/+6
| | | | | | | | | | | | | | | in AWTRenderer. 2. ColorType has a new getAWTColor() method, also alpha() function renamed to getAlpha(). Definition of Alpha values switched to make consistent with java.awt.Color (i.e., 0 is transparent and 1 is opaque). 3. AbstractRenderer's handleViewportTraits() renamed to handleRegionTraits() to lesson confusion (FOP has three types of viewports-- Page, Region, and Block--handleViewportTraits() was only good for Region.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196878 13f79535-47bb-0310-9956-ffa450edef68
* move renderXML() from apps/FOUserAgent to render/AbstractRendererWilliam Victor Mote2003-08-281-0/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196868 13f79535-47bb-0310-9956-ffa450edef68
* move setDefaultXMLHandler() and addXMLHandler() from apps/FOUserAgent to ↵William Victor Mote2003-08-281-0/+26
| | | | | | render/AbstractRenderer git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196867 13f79535-47bb-0310-9956-ffa450edef68
* remove region code from /area/RegionReference in favor of those in ↵William Victor Mote2003-08-271-6/+7
| | | | | | fo/pagination/Region git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196864 13f79535-47bb-0310-9956-ffa450edef68
* move fo/FOUserAgent to apps/FOUserAgent, as it manages configuration ↵William Victor Mote2003-08-221-1/+1
| | | | | | 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
* more FO Tree isolation workWilliam Victor Mote2003-08-191-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196812 13f79535-47bb-0310-9956-ffa450edef68
* 1. create control packageWilliam Victor Mote2003-08-141-2/+2
| | | | | | | 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
* 1. To facilitate comprehension of the Renderer classes, added the remaining ↵Glen Mazza2003-08-071-3/+28
| | | | | | | | | | three methods in the Renderer interface to AbstractRenderer: startRenderer(), stopRenderer(), and setupFontInfo(). SetupFontInfo() remains abstract, the other two have blank definitions. 2. Removed the blank definitions of startRenderer() and stopRenderer() from PrintRenderer, these are now defined in AbstractRenderer. 3. Member string variables "producer" and "creator" were added to AbstractRenderer and are now populated by its setProducer() and setCreator() methods; removed these functions from the several subclasses that were handling these strings equivalently. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196776 13f79535-47bb-0310-9956-ffa450edef68
* javadoc changes to clean up gump warnings.William Victor Mote2003-04-251-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196344 13f79535-47bb-0310-9956-ffa450edef68
* javadoc changes to clean up gump warnings.William Victor Mote2003-04-241-15/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196335 13f79535-47bb-0310-9956-ffa450edef68