XML technologies / XSL-FO / Reference / Attributes in XSL-FO / intrinsic-scale-value

(Excerpt from "XSL-FO ― Die Referenz" by 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

Recommendation section: 7.30.9

Category: 7.29 Writing-mode-related Properties

Description

This attribute specifies a base value for a <fo:scaling-value-citation> element that outputs an image’s scaling factor. With a base of 50% and an actual factor of 100%, the element outputs 200%. A base of 100% leaves the factor unchanged, since 100% is the default base.

Values

Percentage

a percentage consisting of a possibly negative decimal number and a percent sign (%), used as the base for the scaling factor to output

Inherited:

yes

Default value: 100%

XSL-FO version: 1.1

Allowed in:

<fo:scaling-value-citation>

This element retrieves the scaling factor of the referenced fo:external-graphic.

Support:

Conformance level

Antenna House

FOP

RenderX XEP

Altsoft XML2PDF

Compart DocBridge

Extended

Y

N

-

N

N

XSL-FO example:

<fo:root font-family="Arial" font-size="10pt" line-height="1.2em" 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">
<fo:layout-master-set>
<fo:simple-page-master master-name="Inhalt-Seiten" margin="0mm 0mm 0mm
                      0mm" page-height="150mm" page-width="148mm">
<fo:region-body margin="10mm 15mm 10mm
                        25mm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="Inhalt-Seiten" font-size="10pt">
<fo:flow flow-name="xsl-region-body">
<fo:block-container margin-bottom="1em">
<fo:block>
<fo:external-graphic id="bild1" src="data2type-logo.TIF" content-height="100%" scaling="uniform"/>
</fo:block>
<fo:block>
Scaling (Basis
                200%): 
<fo:scaling-value-citation ref-id="bild1" intrinsic-scale-value="200%"/>
%
</fo:block>
<fo:block>
Scaling: 
<fo:scaling-value-citation ref-id="bild1"/>
%
</fo:block>
</fo:block-container>
<fo:block-container margin-bottom="1em">
<fo:block>
<fo:external-graphic id="bild2" src="data2type-logo.TIF" content-height="100%" content-width="25%" scaling="uniform"/>
</fo:block>
<fo:block>
Scaling (Basis 100%): 
<fo:scaling-value-citation ref-id="bild2" intrinsic-scale-value="100%"/>
%
</fo:block>
<fo:block>
Scaling: 
<fo:scaling-value-citation ref-id="bild2"/>
%
</fo:block>
</fo:block-container>
<fo:block-container margin-bottom="1em">
<fo:block>
<fo:external-graphic id="bild3" src="data2type-logo.TIF" content-height="100%" content-width="25%" scaling="non-uniform"/>
</fo:block>
<fo:block>
Scaling (Basis
                50%): 
<fo:scaling-value-citation ref-id="bild3" intrinsic-scale-value="50%"/>
%
</fo:block>
<fo:block>
Scaling: 
<fo:scaling-value-citation ref-id="bild3"/>
%
</fo:block>
</fo:block-container>
<fo:block-container margin-bottom="1em">
<fo:block>
<fo:external-graphic id="bild4" src="data2type-logo.TIF" content-height="25%" content-width="100%" scaling="non-uniform"/>
</fo:block>
<fo:block>
Höhe (Basis 10%): 
<fo:scaling-value-citation ref-id="bild4" scale-option="height" intrinsic-scale-value="10%"/>
%
</fo:block>
<fo:block>
Breite (Basis
                10%): 
<fo:scaling-value-citation ref-id="bild4" scale-option="width" intrinsic-scale-value="10%"/>
%
</fo:block>
<fo:block>
Höhe: 
<fo:scaling-value-citation ref-id="bild4" scale-option="height"/>
%
</fo:block>
<fo:block>
Breite: 
<fo:scaling-value-citation ref-id="bild4" scale-option="width"/>
%
</fo:block>
</fo:block-container>
</fo:flow>
</fo:page-sequence>
</fo:root>

Download the examples

In the output:

Excerpt from the W3C Recommendation:

More information online about

Rendering of the property in the XSL-FO reference

back to top