The xf:scaling-reference extension sets the reference when scaling inline graphic objects.
It is applied to fo:instream-foreign-object element.
- type: enum
- values: "line", "block"
Example of usage:
<?xml version="1.0" encoding="utf-8" ?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xf="http://www.ecrion.com/xf/1.0" xmlns:xc="http://www.ecrion.com/2008/xc" xmlns:svg="http://www.w3.org/2000/svg" font-family="Times" font-size="12pt">
<fo:layout-master-set>
<fo:simple-page-master master-name="Letter Page" page-width="8.500in" page-height="11.000in">
<fo:region-body region-name="xsl-region-body" margin="0.700in" />
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="Letter Page">
<fo:flow flow-name="xsl-region-body">
<fo:block><fo:external-graphic src="url(D:\images\Sample.jpeg)" xf:scaling-reference="block" /></fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>