Jeremias Maerki
7272aa03a5
Applied Apache License Version 2.0 by following the instructions at 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
20 years ago
Glen Mazza
a34a524357
Some simplification of FOText object.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197383 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
f50eed8c26
Use the new property expressions. Clients must use Length when retrieving
a length and must delay the call to Length.getValue() until the
baselength has been assigned by the LayoutManagers.
PR: 26778 (second half)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197382 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
9cd4e0f5bf
Made redundant by the expresion tree.
PR: 26778
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197381 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
0d2974463c
Support for percentages in property expression.
The different length properties all implement a Length interface
and all clients of the property subsystem must use the Length interface
when retrieving lengths.
The two different numerics (absolute and relative) both implement a
Numeric interface and all property calculations are done in terms of
the Numeric interface.
Lengths can be cast to numeric and can thus participate in expresions and
numerics can be cast to length (when dimension is 1) and can thus be used
as a length by the clients.
The call to Length.getValue() will cause relative lengths to be resolved
against their base length, and care must be taken to ensure that
getLength() is only called after all baselength has been assigned to the
FO elements.
PR: 26778 (first part).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197380 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
d50328798e
Simplefy the huge merge loop and allow compilation with jdk1.3.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197342 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
c409a7a8c3
Fix javadocs warnings caused by the recent moves of property classes and
makers.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197329 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
ea2af72a4d
Support for "margin" shorthands for margin-[left,right].
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197326 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Finn Bock
0bae902287
Add support for setting margin-[top,botton,left,right] by specifying
the "margin" shorthand property.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197324 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jeremias Maerki
7a21b4837f
Style fixes only.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197319 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
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
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
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
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
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
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
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
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
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
8045793e72
switch from Property.getPropName() to Property.getPropId(); comments added to
PropertySets.java to clarify makeSparseIndices() method.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197156 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Herweg
c1a16a8cfb
added support for fo:footnote
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197155 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
11d7cfb5ed
Bug 25810 (Patch by Finn Bock) -- Support for inherit attribute value.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197151 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
4e534c3b2e
Bug 25990 (Patch by Finn Bock) errors in String->int conversions found.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197148 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
54744303eb
More String->int conversion.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197147 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
cf2de28c0a
More String->int conversions.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197146 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
00320cae41
Last of string->int conversions (more structural improvements still can be
done in PropertyList from Finn's patch, however). Made Constants values
inherent to CompoundDatatype class.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197144 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
252b0c3890
Switch from strings->ints in Property.setSubprop() (from Finn Bock).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197142 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
d338e77db7
COMPOUND_MASK/PROPERTY_MASK bug fixed in PropertyList.java (patch by Finn Bock).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197141 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
16a91d8613
More String->Int Conversions.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197115 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
fe1eef55be
More String-->int conversions. Work primarily from Finn Bock's patch.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197114 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
4fc95297b8
More String->Int conversion; also removed member variable passing (namespace,
element) within private functions. (Also made more methods private until external
use determined.)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197113 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
935fee4a69
More string-->int conversions.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197112 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
5e492e7afc
more String->int conversions.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197111 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
95a11bcf42
String->Int conversion: removed String version of PropertyList.get()
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197110 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Bernard West
d5bb298dba
Remove unused imports to quieten Eclipse.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197099 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
b2b0ad72f1
FOPropertyMapping.GetPropertyId() modified to also be able to return
(base + compound) ID value for a "base.compound" string; more String->Int
conversions in Leader.java.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197097 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Glen Mazza
e80e494cd5
Bug 25803 (patch by Simon Pepping): Fix bug occurring when a compound property
is specified (e.g. "leader-length.maximum") before its base property (e.g. "leader-length").
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197095 13f79535-47bb-0310-9956-ffa450edef68
20 years ago