Jeremias Maerki
31be421a7d
Move FOTreeListener registration and removal into getContentHandler() to fix SAX use case as demonstrated in ExampleXML2PDF.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197318 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jeremias Maerki
d97e438bb2
Simple proxying ContentHandler.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197317 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
8168c2009a
Re-enable toString() for the properties which wrap another object.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197316 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
896bf03de4
Support getObject(), used by Property.toString().
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197315 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
5f0d4d36b5
Phase 3 (last) of bug 26434.
- Move the property classes to fop.fo.properties.
PR: 26434
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197314 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
ffed5ad6fc
Removed unused import.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197313 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
d9a8ac8671
Phase 2 of bug 26434.
- Roll the datatypes logic into the property classes.
PR: 26434.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197312 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
6609bd3aaa
Move the handmade makers into package fop.fo.properties.
PR: 26434
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197311 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
4d542ca172
Phase 1 of 26434.
- Unnest Property.Maker into fop.fo.properties.PropertyMaker.
- Move the handmade makers into package fop.fo.properties.
PR: 26434
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197310 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Herweg
99c6c148a3
fixed runtime error while reading PR_BORDER_WIDTH or PR_BORDER_STYLE
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197304 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
cfc8cdf4a5
Handle SPACE_START trait for block areas.
PR: 25802.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197296 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
f7d98d929d
Hardcoded start-indent to 24pt no longer needed because SPACE_START trait
it set by the start-indent property.
PR: 25802.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197295 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
1001667e6a
Set the SPACE_START and SPACE_END traits and adjust the height to take
border and padding into account.
PR: 25802.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197294 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
1d19c99049
A hack to calculate the startIndent and endIndent based on either margin
or startIndent.
PR: 25802.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197293 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
7311385301
Added getBPPaddingAndBorder() to return the border and padding length in
the BP direction.
PR: 25802.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197292 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
a8f34d5db9
Added addMargins() to set the SPACE_* traits.
PR: 25802.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197291 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
f2100a3f64
Added SPACE_START and SPACE_END traits.
PR: 25802.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197290 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
08eb5423ff
Fix a NPE when the last shorthand was not detected.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197289 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Herweg
5b61bf19a1
improved support for margin-top and margin-bottom in fo:region-XXX
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197283 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Herweg
3f36d62392
Removed call of JFOR's WhiteSpaceCollapser; now this is done by FOP
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197275 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Herweg
677c70837d
Submitted by Lucas Bruand to JFOR: escape all characters > 127 instead of 255
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197274 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Herweg
e20809388a
added support for white-space-treatment and linefeed-treatment by deferring the processing of some FOs until execution of endBlock
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197273 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
33da9f62d9
Fix missing shorthands.
PR: 26423
Submitted by: Simon Pepping
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197260 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
053d3333cd
Switching from passing the FOUserAgent for several of the image
functions to its internal Avalon logger instead. (Only object used within
FOUserAgent parameter, plus this library is also used for the PDFTranscoder, plus
FOUserAgent not always available from everywhere anymore.) Holding off making
a complete switch in this package (FOUserAgent still used in a few more
places, albeit only its logger is being requested)
until others comment.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197259 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
9197111b1a
Fix a 'javadoc' warning about missing @see target.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197258 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Herweg
a092afbe06
fixed wrong datatype in overriden method
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197250 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
26c09dd520
Fix javadoc warnings caused by unknown @see targets.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197249 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
acddbbd618
Fix javadoc warnings.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197248 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jeremias Maerki
a916b92ce8
Fixed a bug where I got a NoClassDefFoundError when I'm using a build-local.properties where I set optional.lib.dir to an absolute Windows path. These absolute paths weren't removed somehow resulting in NoClassDefFound errors due to a illegal Class-Path entry in fop.jar's manifest.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197247 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
6dfbb9e9a3
Applied Thomas DeWeese's latest patch for the PDF transcoder.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197244 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
093b961c05
Fix typo in comments.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197243 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
be1f71ec06
Update changes on code-generated property makers.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197242 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
3b281f55b1
Abandon codegenerated property makers and use bean-like makers instead.
- ShorthandParsers are made stateless.
- Makers for compound properties inherts from new CompoundPropertyMaker
class and overrides makeNewProperty.
- FOPropertyMapping is no longer generated but is handcoded.
- get() and findProperty() methods are moved from PropertyList to the
property makers.
PR: 25873
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197241 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
ee19f90546
Match the version string is apps.Version.
PR: 25691
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197240 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
34a2ba9cfd
Add dependant jars to the classloader.
Don't check for org.apache.fop.apps.Options, it does not exists anymore.
PR: 25691
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197239 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
cab2e10693
Use PDFNumber.doubleOut to format the floats in a transformation matrix.
This avoids scientific notation which is not supporter by pdf.
PR: 25880
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197238 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Herweg
e7ac16fa59
Submitted by: Marc Wilhelm Kuester; added support for fo:list in fo:footnote; ensured Word displays footnote, not endnote
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197228 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
820a3663ec
Fix a NPE caused by avalonization of logging.
Support for 'results' attribute on 'test' element, used by NIST suite.
Explicit close the output file, otherwise the file has a length of 0
when the files are compared (on windows).
Added -d option to enable debug output.
PR: 25691
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197227 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
abcbd4469a
Block height/width elaboration for XML Renderer--Patch by Finn Bock.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197222 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
080cc41469
FOPropertyMapping.java no longer autogenerated, moved from fop.fo.properties
to fo package in preparation for new property maker implementation.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197221 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
cb4ba1c672
Interfaces now in alphabetical order and detached from generic interfaces
in autogenerated fo.properties.*; patch from Finn Bock--unneeded method in
PropertyInfo.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197220 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
4cefdf3759
Updated team page--moved Finn, Andreas, Chris and Peter to active status;
set Victor and Keiron to inactive status, removed "former contributor"
section in favor of going back to giving credit within source files.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197219 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Herweg
a134b2d6f8
replaced string constants with int constants
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197215 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
98279b1a59
Bug 25873 (from Finn Bock): Minor code cleanup issues.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197214 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
c5bb1aa00e
Moved the interfaces into the Constants class on a trial basis (we may still
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
20 years ago
Glen Mazza
183522ca7e
Further simplifications to file.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197212 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
21495bf1f4
(Property Interface consolidation) Removed a redundancy in interface
definitions:
from here (for several of the interfaces):
public interface KeepWithNext {
public interface WithinPage extends GenericKeep.Enums.WithinPage { }
public interface WithinLine extends GenericKeep.Enums.WithinLine { }
public interface WithinColumn extends GenericKeep.Enums.WithinColumn { } }
to here:
public interface KeepWithNext extends GenericKeep.Enums { }
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197211 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
efb5a0a413
More String->Int conversions (ones I've missed previously.) Appears I've finally
converted all of them. From Finn Bock's patch.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197159 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
dfc80ad70f
static boolean array inheritableProperty[] added, to reduce processing costs
of lookups to see if a property is inheritable. Work based on Finn Bock's patch.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197158 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
6766f9e6c4
News page updates.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197157 13f79535-47bb-0310-9956-ffa450edef68
20 years ago