I need to generate some word documents which may need to repeat a table multiple times. Originally I create the template in OpenOffice and saved it as an .odt file. The .odt template generates the files exactly as I expect. Saving the template as a .docx file generates the following error:
TinyButStrong Error in block's definition [QuoteOptions_sub1...]:
at least one tag corresponding to table:table-row is not found.
Check opening tags, closing tags and embedding levels.
|
I'm assuming the problem is with the .docx template file as the code works when using the .odt template file.
The template syntax looks like the follow inside a table.
[QuoteOptions;block=begin;sub1=lines]
[QuoteOptions.optionName]
[QuoteOptions.optionUnitPrice]
[QuoteOptions.optionPrice]
[QuoteOptions_sub1;block=table:table-row]
[QuoteOptions_sub1.Category]
[QuoteOptions_sub1.Service]
[QuoteOptions_sub1.Length]
[QuoteOptions_sub1.Width]
[QuoteOptions_sub1.Sqft]
[QuoteOptions_sub1.Originals]
[QuoteOptions_sub1.Copies]
[QuoteOptions_sub1.TotalCopies]
[QuoteOptions_sub1.UnitPrice]
[QuoteOptions_sub1.TotalPrice]
[QuoteOptions;block=end]
|
Any ideas what might be wrong? Thanks