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

Filling table with data in docx breaks on certain documents #5

Closed
deinlandel opened this issue Oct 1, 2014 · 5 comments
Closed

Filling table with data in docx breaks on certain documents #5

deinlandel opened this issue Oct 1, 2014 · 5 comments

Comments

@deinlandel
Copy link

Example of the document:
https://db.tt/DOEZpKTW

In this sample, "##band=ride " will not be parsed by DocxFormatter because, although it was entered as a single piece of text, it was split by microsoft word into multiple "text" elements ("##","band", ...). And so DocxFormatter.RegexpFinder fails to detect this text as matching band name pattern "##band=([A-z_0-9]+) *"

@tinhol
Copy link
Contributor

tinhol commented Oct 1, 2014

Hello.

You are right, we have such issue in our internal ticket system. We have already solved the same issue with basic aliases (${}) and plan to fix it for band names. This change will come soon.

For now there is basic workaround - you have to open document in Office, erase band name alias and print in from scratch. In most cases Office generates single Text element.

Please let me know if you need more help with it.

Thank you.

tinhol added a commit that referenced this issue Oct 16, 2014
Filling table with data in docx breaks on certain documents #5
@tinhol
Copy link
Contributor

tinhol commented Oct 16, 2014

Hello.

Please note, that the issue has been resolved in master branch (so you can build working version).
Also, we are going to make a new release in October.

Thank you.

@tinhol tinhol closed this as completed Oct 16, 2014
@deinlandel
Copy link
Author

Thanks! Will try the new realease as soon as it becomes available.

@tinhol
Copy link
Contributor

tinhol commented Oct 25, 2014

Please note, that new version is available in maven central. Version 1.0.33.

@deinlandel
Copy link
Author

Many thanks. Will give it a try.

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

No branches or pull requests

2 participants