【发布时间】:2016-11-12 19:42:18
【问题描述】:
应用程序在代码中创建 OpenDocument 电子表格(ods 文件)。 有些行包含更大字体的标题。 如果在 LibreOffice 中打开,它们只会部分可见。
所有行都有相同的样式 ro1 具有 style:use-optimal-row-height="true"
设置:
<style:style style:name="ro1" style:family="table-row">
<style:table-row-properties style:use-optimal-row-height="true" fo:break-before="auto"/>
</style:style>
此设置不会增加标题行高度。所有行具有相同的高度。
如何强制 Libreoffice Calc 和 Excel 为打开的表格上的标题行选择最佳高度?
在文件创建过程中,很难手动计算行高。
【问题讨论】:
标签: excel libreoffice-calc ods opendocument