Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将 pdfptable 写入文档,然后使用 onStartPage 事件添加页眉表和页脚表。
我的问题是,如果主表有一个顶部边框,这将被标题部分覆盖。天真的解决方案是在 StartPage 上编写标题,但与标题中的底部边框相同的问题。
我的想法是在EndPage上重写所有表格的边框,但它认为这并不容易。一种解决方案是将标题和主表作为嵌套表插入到另一个表中,但这在我的情况下是不可行的。
在这方面有什么建议/经验吗?