【发布时间】:2020-02-11 09:28:09
【问题描述】:
我在一张图片的证书文件上写了一段文字,但我试图在图像上斜着写文字。即使更改了文本所在容器的参考方向,我也无法更改它。
<xsl:template match="graphicBack">
<fo:block absolute-position="absolute">
<fo:block-container position="absolute">
<fo:external-graphic xmlns:fo="http://www.w3.org/1999/XSL/Format" scaling="uniform" content-width="210mm" content-height="296.99mm">
<xsl:attribute name="src" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:value-of select="var" />
</xsl:attribute>
</fo:external-graphic>
</fo:block-container>
<fo:block-container absolute-position="absolute" left="20mm" top="200mm">
<fo:block color="#CC6133" font-family="Courier" font-style="normal" display-align="center" font-size="300px">
COPY
</fo:block>
</fo:block-container>
</fo:block>
</xsl:template>
【问题讨论】:
-
你把
fo:reference-orientation="45"属性放在哪里了?
标签: xslt xslt-2.0 document xsl-fo