Open
Description
I had a simple block that covered an entire page, and was cloned N times right at the start before substitution variables were filled in with data:
${PAGE}
...content with ${variables}...
<page break>
${/PAGE}
Opening as a template, cloning, putting in data and saving working great.
Then I tried adding some formatting to the source document, starting by setting the entire document to Arial, and the ${PAGE}
tags are no longer recognised at all.
Looking in the template source, the lines with the tags had font formatting applied, so I removed that (using the ctrl-space technique that has been around since MS Word 2.0). This gives me a source now without the formatting, that looks like this (saved from MS Word):
<?xml ...?>
<w:document ...>
<w:body>
<w:p ...>
<w:r>
<w:t>${PAGE}</w:t>
</w:r>
</w:p>
...content...
<w:r w:rsidR="00D212DB">
<w:lastRenderedPageBreak/>
<w:t>${/PAGE}</w:t>
</w:r>
...
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Metadata
Metadata
Assignees
Labels
No labels