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.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197053 13f79535-47bb-0310-9956-ffa450edef68
Obtained from:
Submitted by:
Reviewed by:
1.) renamed enumgen.xsl to longer but hopefully clearer
prop-val-enum-interfaces.xsl
2.) Moved Constants.java from fo.properties to fo package, to reduce the
need for layout and renderers to import directly from the properties package.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197048 13f79535-47bb-0310-9956-ffa450edef68
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.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197047 13f79535-47bb-0310-9956-ffa450edef68
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).
1. Moved static element and property structures from PropertyList (previously in former PropertyListBuilder) to FObj
2. Renamed FObj "properties" instance variable to "propertyList" (reduces
confusion on the type of object holding FO property information in the code)
3. Unneeded imports removed (Finn Bock's patch, Bug #25582).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197042 13f79535-47bb-0310-9956-ffa450edef68
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).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197038 13f79535-47bb-0310-9956-ffa450edef68
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.)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197031 13f79535-47bb-0310-9956-ffa450edef68
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.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197023 13f79535-47bb-0310-9956-ffa450edef68
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.