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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад