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 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
Glen Mazza
ef51d189ae
Changed internal renderInlineXXX() functions from public to protected 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
20 anni fa
Glen Mazza
e88496c498
Removal of Visitor patterns from AbstractRenderer, moving of business logic from InlineArea to AbstractRenderer.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197368 13f79535-47bb-0310-9956-ffa450edef68
20 anni fa
Glen Mazza
bf0b811be7
Formatting cleanup of fo:layout-master-sets in examples.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197361 13f79535-47bb-0310-9956-ffa450edef68
20 anni fa
Glen Mazza
6ee111a719
Modification made for collecting parameters to be compatible (hopefully) with
Win9x. Work from Apache Ant.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197352 13f79535-47bb-0310-9956-ffa450edef68
20 anni fa
Glen Mazza
d2fa99c9d8
1.) Deprecation of most constructors in XSLTInputHandler in favor of JAXP.
2.) Removal of unused transformer member variable in XSLTInputHandler.
3.) Partial modifications -- code from Xalan project -- in order to be
able to handle command line parameters for XSLT stylesheet. (Changes
still needed in XSLTInputHandler.getXMLFilter() -- unsure how to set
parameters to an XMLFilter.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197350 13f79535-47bb-0310-9956-ffa450edef68
20 anni fa
Glen Mazza
10f6dceb5f
Updated fop.bat.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197349 13f79535-47bb-0310-9956-ffa450edef68
20 anni fa
Finn Bock
e76f9185dc
Draw the borders of a BlockViewport before setting the CTM
transformation. This way the viewport is relative to the current CTM
and the content of the Viewport is relative to the viewport CTM.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197348 13f79535-47bb-0310-9956-ffa450edef68
20 anni fa
Finn Bock
50dbe6a571
Set correct ipd/bpd of both the viewport and reference area.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197347 13f79535-47bb-0310-9956-ffa450edef68
20 anni fa
Finn Bock
1bda44b74f
Added '-results' options to set the result ouput directory.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197346 13f79535-47bb-0310-9956-ffa450edef68
20 anni fa
Glen Mazza
56b3acce6c
Modification of ExampleXML2PDF to show a Transformer.setParameter() call.
Fix to xsl stylesheet to show '1.0' instead of just '1' for the version number
(fix from Clay Leeds).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197343 13f79535-47bb-0310-9956-ffa450edef68
20 anni fa
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 anni fa
Joerg Pietschmann
0345bf250f
Fixed the missing table header bug.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197339 13f79535-47bb-0310-9956-ffa450edef68
20 anni fa
Joerg Pietschmann
2a6f2f9996
Don't copy codegen files.
Pass graphics configuration adapter source to javadoc.
Random xdoc directory reference fixes (still incomplete).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197338 13f79535-47bb-0310-9956-ffa450edef68
20 anni fa
Jeremias Maerki
123e26fc11
Fix packaging of all-in-one transcoder JAR (due to changes in Commons IO).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197335 13f79535-47bb-0310-9956-ffa450edef68
20 anni fa
Jeremias Maerki
3e111ddb9f
Adapt to changes in Commons IO's APIs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197334 13f79535-47bb-0310-9956-ffa450edef68
20 anni fa
Jeremias Maerki
a005759e6e
Updating to latest Commons IO snapshot (Reason: API changes).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197333 13f79535-47bb-0310-9956-ffa450edef68
20 anni fa
Finn Bock
4b7e6e7315
Support for text-indent.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197332 13f79535-47bb-0310-9956-ffa450edef68
20 anni fa
Finn Bock
b2e32f4d93
Latest changes about property datatypes.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197331 13f79535-47bb-0310-9956-ffa450edef68
20 anni fa
Glen Mazza
093f9293f3
Added a parameter to the projectteam2fo.xsl example (for subsequent use
in showing a setTransform() call in the samples); also added a needed
library to the examples' build.xml file.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197330 13f79535-47bb-0310-9956-ffa450edef68
20 anni fa
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 anni fa
Finn Bock
7d0370cba2
Do the regiontraits before changes ctm because the ctm only apply for the
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
20 anni fa
Finn Bock
839c986957
Set the ipd and bpd on the region reference area based on the reldims
and use those values those values for layout.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197327 13f79535-47bb-0310-9956-ffa450edef68
20 anni fa
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 anni fa
Finn Bock
1c1df3282a
Added a bpd field so that region reference areas has both ipd (from Area)
and bpd.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197325 13f79535-47bb-0310-9956-ffa450edef68
20 anni fa
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 anni fa
Jeremias Maerki
229bd99542
Copyright year update and enable keyword subst.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197321 13f79535-47bb-0310-9956-ffa450edef68
20 anni fa
Jeremias Maerki
8dcbde441a
Tab char and style fixes only.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197320 13f79535-47bb-0310-9956-ffa450edef68
20 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa