Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

扩展了表格中嵌套子word模版的功能 #106

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aofavx
Copy link

@aofavx aofavx commented Aug 13, 2018

扩展了表格中嵌套子word模版的功能 附demo

@Sayi
Copy link
Owner

Sayi commented Aug 14, 2018

代码XWPFTableCell cell = template.getXWPFDocument().getTables().get(0).getRow(i/cols).getCell(i%cols);这行写的不够通用了,但是没关系,已经能满足你的需求,生成的效果也很好了。做的非常棒。 👍

【生成表格,表格内模板重复】不知道这种场景的需求多不多,如果多的话 我会尝试合并进Master。

@aofavx
Copy link
Author

aofavx commented Aug 16, 2018

不过这样生成后,转pdf 又报他们说的那个java.lang.NumberFormatException: For input string: "" 错误了

@aofavx aofavx closed this Aug 16, 2018
@aofavx aofavx reopened this Aug 16, 2018
@Sayi
Copy link
Owner

Sayi commented Aug 16, 2018

不会的,转pdf问题已经在主干修复了。

@Nikati
Copy link

Nikati commented Jun 23, 2021

不会的,转pdf问题已经在主干修复了。

你好请问是不是支持word转pdf。我在文档里没找到

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants