【发布时间】:2013-01-01 11:40:23
【问题描述】:
这是我上一个问题LibreOffice: a XSLT stylesheet to generate a slideshow?的下一集
我现在正在使用 XSLT 生成 content.xml。
可以在 libreoffice/content.xml 中在 text:p 中添加 inline 样式。 xhtml:span 之类的东西(见下文)?
<draw:page draw:master-page-name="">
<draw:frame presentation:style-name="" svg:width="25.199cm"
svg:height="3.506cm" svg:x="1.4cm" svg:y="0.837cm" presentation:class="title">
<draw:text-box>
<text:p>My name is <xhtml:span style="color:red;"><xsl:value-of select="name"/></xhtml:span></text:p>
</draw:text-box>
</draw:frame>
</draw:page>
或者我需要在别处声明所有命名样式吗?
【问题讨论】:
标签: xml styles openoffice.org libreoffice