docx-stamper icon indicating copy to clipboard operation
docx-stamper copied to clipboard

Placeholder styling not preserved when paragraph contains several placeholders

Open sergeym1990 opened this issue 6 years ago • 4 comments

When several placeholder are placed in the same paragraph, styles placed on individual placeholders are ignored. Example:

Template:

image

Result of processing:

image

Is there a way to preverve placeholder styling?

sergeym1990 avatar Jan 31 '19 03:01 sergeym1990

Hi, this is related to #64. It seems that only the style in the first run will be considered.

ImanGharib avatar Jan 31 '19 07:01 ImanGharib

Hi, this is related to #64. It seems that only the style in the first run will be considered.

Thanks for feedback. Do you know if it will be fixed in the future or if it is fundamental limitation?

sergeym1990 avatar Jan 31 '19 07:01 sergeym1990

I can not tell that really, since I am using stamper newly. But as far as I saw the code, it is something to solve in the feature. Unfortunately @thombergs is busy at the time but he has told me that he would take look at PRs and other issues to help us out of them :).

ImanGharib avatar Jan 31 '19 07:01 ImanGharib

should be solved in https://mvnrepository.com/artifact/pro.verron/docx-stamper/1.6.3

caring-coder avatar Mar 10 '23 00:03 caring-coder