Glen Mazza [Sat, 27 Dec 2003 22:00:38 +0000 (22:00 +0000)]
*Partial* conversion of PropertyList.get(String propName) to new PropertyList.get(int propId) method. This method will remain
overloaded until all calls converted to int constants.
Glen Mazza [Fri, 26 Dec 2003 23:41:47 +0000 (23:41 +0000)]
Property.getPropertyName() switched from returning strings to
integer constants (perh. should be renamed to getPropertyId()?);
change propagated to classes calling this function.
Glen Mazza [Fri, 26 Dec 2003 22:11:17 +0000 (22:11 +0000)]
----------------------------------------------------------------------
Bug #25646 (Patch by Finn Bock): setting SAX Locator (line and column
index of input fo stream) for debugging and better error feedback.
Glen Mazza [Wed, 24 Dec 2003 00:06:14 +0000 (00:06 +0000)]
Removed the elementStringTable HashMap references (never used; was
meant to define element-specific makers for a particular property,
instead of the default make for the property) from fo.FObj and
fo.PropertyList.
Glen Mazza [Mon, 22 Dec 2003 23:23:05 +0000 (23:23 +0000)]
Initial Check-in of PropertySets.java and .xsl. (Similar to Alt-Design's
PropertySets, however uses integer arrays to identify those properties
relevant for an FO.)
Glen Mazza [Mon, 22 Dec 2003 21:50:58 +0000 (21:50 +0000)]
Reversed order of code: add string constant first to HashMap, *then* create
corresponding maker (latter classes weren't having access to the string constant
in their constructors.)
Glen Mazza [Mon, 22 Dec 2003 03:53:31 +0000 (03:53 +0000)]
----------------------------------------------------------------------
More of conversion of strings to integers: Makers now being created via int constants in fo.properties.Constants class.
Temporary string-int conversions currently in Property.java and PropertyList.java, which converts strings from callers into ints for subsequent use.
Glen Mazza [Sat, 20 Dec 2003 17:40:01 +0000 (17:40 +0000)]
Property Makers now being activated via int constants. (Maker classes themselves, as well as code referencing the properties, still need conversion to int's. Also, HashMaps for String and Integer in FOPropertyMapping and FObj temporarily being retained for troubleshooting purposes.) Contribution mainly from Finn Bock (Bug #25480).
Glen Mazza [Mon, 15 Dec 2003 01:07:50 +0000 (01:07 +0000)]
1. Removed the properties.Constants class from automatic generation, and
added Finn Bock's work on Property and Element Constants (currently unused
within application.) The CVS version is now the official one. (The
new constants are not currently being used within the application;
more work is needed.)
2. Build.xml has a new helper XSLTtoJAVA task separate from any of the build
processes to generate the Constants class above (although its output is
expected to fall behind what will be maintained in the CVS version.)
3. Some xml and xsl file renaming to make clearer the purposes of those files.
4. Removed a debug statement from PropertyList.java (forgot to remove from
yesterday's work).
Glen Mazza [Fri, 12 Dec 2003 22:37:39 +0000 (22:37 +0000)]
Moved FontSetup and two helper classes from render.pdf to fonts package.
FontSetup has the PDF fonts as the default, but this class can be extended
if/when another renderer needs its own font setups. (Cannot do this, however,
for AWT's FontSetup at the moment, because its setup() has a different
signature.)
Glen Mazza [Mon, 24 Nov 2003 19:07:35 +0000 (19:07 +0000)]
1.) Chris Bowditch's patch on padding-start implemented. (Changes were
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.
Jeremias Maerki [Sat, 22 Nov 2003 19:48:21 +0000 (19:48 +0000)]
New feature for the Ant task: relativebase="true" uses the directory of each FO-file in a fileset as basedir. This is in contrast to the general basedir parameter.
Submitted by: Joe DeVivo <fop.at.joedevivo.com>
1. add method to LayoutStrategy indicating whether an FO Tree should be built for this strategy
2. add logic in Driver.render() to handle the case of a LayoutStrategy that does not want to build an FO Tree
Glen Mazza [Tue, 11 Nov 2003 13:50:00 +0000 (13:50 +0000)]
Partial implementation of space-after functionality--mostly working, but
some remaining problems:
1.) relying on a static variable to carry space-after value from previous
block to current. (BlockLayoutManager is be instantiated for each block
instead of being in memory for all blocks--bad design?)
2.) The space-after of a block ending at the bottom of the page is not
currently being added to the beginning of the subsequent page.
Glen Mazza [Tue, 11 Nov 2003 04:40:12 +0000 (04:40 +0000)]
fo:block space-before property now activated only on the first Area.Block object used
in rendering the fo:block. (Previous implementation repeated space-before at the
top of every page.) Suggestion from Chris Bowditch.
(Space-after property still needs work: renders at the correct places but
results in subsequent text overrunning region borders.)
Jeremias Maerki [Fri, 7 Nov 2003 22:19:19 +0000 (22:19 +0000)]
Substantial refactoring of the PS transcoder (especially the text painting, less painting using the StrokingTextPainter, therefore more speed and smaller output files)
Addition of an EPS transcoder
Glen Mazza [Tue, 4 Nov 2003 23:59:14 +0000 (23:59 +0000)]
RTF structural renderer moved from root to render.rtf, joining all the other renderers
RTF Library moved from root to render.rtf.rtflib, but kept separate from renderer itself.
See: http://marc.theaimsgroup.com/?l=fop-dev&m=106753338719406&w=2
Glen Mazza [Sat, 1 Nov 2003 21:05:23 +0000 (21:05 +0000)]
1. PDF block background rendering properly offset to account for region
borders and padding.
2. Helper methods added to RegionViewport for quickly determining region
margins, useful for render.* and layoutmgr.* classes.
Glen Mazza [Tue, 28 Oct 2003 04:22:14 +0000 (04:22 +0000)]
renamed org.apache.fop.area.inline.Word to .TextArea (.Text not used to avoid
conflicts with org.w3c.dom.Text)
changed Renderer.renderWord() method to renderText().
Glen Mazza [Sun, 26 Oct 2003 19:29:14 +0000 (19:29 +0000)]
1. TraitSetter modified to provide padding properties for regions.
2. PDFRenderer modified to take into account region borders and region padding
when rendering text. (Possibly temporary solution--may need to move code
to base AbstractRenderer in future.) Work incomplete--will need to also reduce
line length accordingly to account for region borders and padding.
Glen Mazza [Thu, 16 Oct 2003 23:54:21 +0000 (23:54 +0000)]
Patch by Finn Bock applied
(bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23765:
Words not fitting the current line were not appearing on the
subsequent line when trailing spaces were included in
the fo:block.)
fix signature problem in inner class for InlineStackingLayoutManager -- attempt to pass BasicLink as an argument changed the signature of the overridden createArea() method, causing the superclass method to be used in error instead
Glen Mazza [Sat, 11 Oct 2003 14:48:49 +0000 (14:48 +0000)]
Applied Tom DeWeese/Batik Team's SVG patches. New Batik.jar created from latest CVS build, using Batik's "all-jar" target.
PR:
Obtained from:
Submitted by:
Reviewed by: