Comments (8)
使用动态模板方式,追加内容,如不同的表格。
http://deepoove.com/poi-tl/#_%E6%A8%A1%E6%9D%BF%E7%94%9F%E6%88%90%E6%A8%A1%E6%9D%BF
from poi-tl.
使用动态模板方式,追加内容,如不同的表格。 http://deepoove.com/poi-tl/#_%E6%A8%A1%E6%9D%BF%E7%94%9F%E6%88%90%E6%A8%A1%E6%9D%BF
嗯。谢谢。有查看过技术文档。文档中的场景是针对相同表格作扩展定制;我的场景里面多了1个表格拆分。
from poi-tl.
可以拼接不同的表格的,甚至是段落等。本质是doc的一部分,详细参见Documents.DocumentBuilder。我们这边用到的场景根据json配置文件动态生成一部分文档
from poi-tl.
我使用的AbstractRenderPolicy,完全自己控制生成表格和样式,不过我的场景是生成多个表格,每个表格中间插入一个空行。
from poi-tl.
from poi-tl.
@fwk1010 @cuitz 请教一个问题,table 的方法中,没有拿到当前table所在paragraph的;如果使用XPFDocument创建表格,默认就放在文件的最后一行了,不是很符合预期。我想把它贴在当前表格下面。
from poi-tl.
https://stackoverflow.com/questions/46337263/apache-poi-word-best-way-to-add-text-after-table
from poi-tl.
there's another way that render the whole table and then copy and edit the tables.
https://stackoverflow.com/questions/58014683/copy-table-from-templates-with-fixed-place-using-apache-poi
from poi-tl.
Related Issues (20)
- 插入自定义附件无法打开 HOT 1
- poi-tl使用模板生成的折线图能否设置纵坐标的刻度值?
- 根据条件动态删除表格行 HOT 2
- CVE-2023-6378、CVE-2022-44729 这两个漏洞是否可以升级一下? HOT 1
- 填充带有括号的标签,填充不上。 HOT 6
- 图片签章问题 HOT 1
- 设置某个表格在新的一页生成,而不是紧跟着前面的内容 HOT 1
- 单系列图表组合不支持
- 关于文章标题嵌套的问题,遍历树形结构(list嵌套list) HOT 1
- LoopRowTableRenderPolicy插件中SpringEL的使用问题 HOT 7
- 请问如何实现表格多行循环 HOT 1
- Markdown tag inside block pairs is not working HOT 2
- 怎么在表格中循环插入表格数据 HOT 1
- 文本内容中的换行符未被正确渲染为不同的段落
- 渲染标签失败
- 报表标签渲染失败
- poi-tl再发新版本时,能把poi-tl-plugin-markdown的版本改成1.0.4版本吗?
- paragraph.getCTP().removeR(2),发生java.lang.IndexOutOfBoundsException HOT 1
- 如何渲染模板中的公式 HOT 1
- 是否支持导出word中的表格实现每页都输出表头信息? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from poi-tl.