Docbook 样式表和表格,FOP 错误

发布于 2024-12-11 01:17:27 字数 795 浏览 0 评论 0原文

自从使用 Docbook 以来,我从未遇到过此错误。我查了一下,发现这个错误在过去早些时候已经被修复了(而且我也尝试执行与所解释的相同的步骤)。不幸的是,我还没有设法自己修复它。

这是 FOP 给出的错误消息:

警告:Apache FOP 尚未实现以下功能:table-layout="auto"(在 fo:table 上)(请参阅位置 2:182518)
2011年10月19日11:19:37 org.apache.fop.events.LoggingEventListener processEvent 严重:column-width =“proportional-column-width(1)”中遇到无效属性值:org.apache.fop.fo.expr.PropertyException:
file:/c:/fajlok/teszt/book.fo:2:182518:proportional-column-width() 函数只能在 fo:table 的 table-layout="fixed" 时使用。;属性:'column-width'(参见位置2:182598)
org.apache.fop.fo.expr.PropertyException:
file:/c:/fajlok/teszt/book.fo:2:182518:proportional-column-width() 函数只能在 fo:table 的 table-layout="fixed" 时使用。;属性:'列宽'

基本上它通知我在 FOP 中尚未实现 table-layout="auto" 功能。

I've never experienced this error since I use Docbook. I've looked it up and found out that this error was fixed earlier in the past (and also I gave a try to do the same steps as it was explained). Unfortunately, I haven't managed to fix it on my own yet.

Here is the error message that FOP gives:

WARNING: The following feature isn't implemented by Apache FOP, yet: table-layout="auto" (on fo:table) (See position 2:182518)
2011.10.19. 11:19:37 org.apache.fop.events.LoggingEventListener processEvent
SEVERE: Invalid property value encountered in column-width="proportional-column- width(1)": org.apache.fop.fo.expr.PropertyException:
file:/c:/fajlok/teszt/book.fo:2:182518: proportional-column-width() function may only be used when fo:table has table-layout="fixed".; property:'column-width' (See position 2:182598)
org.apache.fop.fo.expr.PropertyException:
file:/c:/fajlok/teszt/book.fo:2:182518: proportional-column-width() function may only be used when fo:table has table-layout="fixed".; property:'column-width'

Basically it notifies me that in FOP hasn't been implemented the table-layout="auto" feature yet.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ぽ尐不点ル 2024-12-18 01:17:27

我无法确认当 fop1.extensions 设置为“1”时不会看到警告。

我的样式表包含

<xsl:param name="fop1.extensions" select="1"/>

我仍然

The following feature isn't implemented by Apache FOP, yet: table-layout="auto" (on fo:table) (See position 1362:428)

使用 fop 版本 1:1.0.dfsg2-6 (debian sid)

I can't confirm that the warning isn't seen when fop1.extensions is set to "1".

My stylesheet contains

<xsl:param name="fop1.extensions" select="1"/>

And still I get

The following feature isn't implemented by Apache FOP, yet: table-layout="auto" (on fo:table) (See position 1362:428)

I am using fop version 1:1.0.dfsg2-6 (debian sid)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文