axf:transform
(Auszug aus "XSL-FO ― Die Referenz" von Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
Category Block Extensions >> Transformation
Specifies the block transformation. [CSS3-Transforms] The ‘transform’ Property[no-LT]
Value: | none | <transform-function> [ <transform-function> ]* |
Initial: | none |
Applies to: | transformable objects |
Inherited: | no |
Percentages: | N/A |
Values have the following meanings.
none | Does not transform the block. |
<transform-function> | Performs the specified transformation. The following transformations can be specified.
|
This property is not available with AH Formatter V6.3 Lite.
XSL-FO sample:
| <fo:root xml:lang="en" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:cpfo="http://www.compart.net/xmlns/cpfo" xmlns:svg="http://www.w3.org/2000/svg" xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions"> | |
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| Antenna House, Inc. | |
| ||
| </fo:block> | |
| ||
| ||
| ||
| ||
| Block area transformation | |
| </fo:block> | |
| </fo:block> | |
| ||
| By using axf:transform, angles of block area can be transformed. Specify the angle by rotate, skew, etc. Origin points of block transformation can be specified with axf:transform-origin. | |
| </fo:block> | |
| ||
| If rotate(-15deg) is specified | |
| </fo:block> | |
| ||
| Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam bibendum tincidunt pharetra. | |
| </fo:block> | |
| ||
| If skewX(-45deg) is specified | |
| </fo:block> | |
| ||
| Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam bibendum tincidunt pharetra. | |
| </fo:block> | |
| ||
| If rotate(-15deg), skewX(-45deg) is specified | |
| </fo:block> | |
| ||
| Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam bibendum tincidunt pharetra. | |
| </fo:block> | |
| </fo:flow> | |
| ||
| </fo:root> |
Output:
Tipp der data2type-Redaktion: Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: |