Consider the sample of styled text shown in Figure 5.
请考虑一下图5中所示的样式文本的示例。
Return the string value associated with a particular resource ID. It will be stripped of any styled text information.
返回与特定资源ID相关联的字符串值,它将删除任何样式的文本信息。
So, let's examine two ways of including styled text in your output: the plain way, by directly producing appropriate XML files in PHP, and a more sophisticated way using the Odfpy library in Python.
因此,让我们看看两种在您的输出中包含文本样式的方法:一种是简单方法,直接在php中生成适当的XML文件;另一种更复杂的方法是使用Python中的odfpy库。
应用推荐