You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package is REALLY good, and works like a charm!
Our use case is we are printing reports from a database into word files. We ask the client to produce their own tpl file, upload to our system, they can then choose to create a batch of reports using the said tpl file.
Each docx file produced typically includes a cover sheet followed by a loop which iterates on average 20 times. The client requires that each loop be printed on a single page which would basically result in 1 cover page followed by 20 subsequent pages, 1 for each loop iteration.
To achieve this, the opening loop tag starts at the top of a page and we then ask the client to enter the content for each loop followed by a page break with the closing tag at the top of the subsequent page in the tpl.
This is a working solution, but is not ideal and for the non-tech savy they are finding this difficult to grasp. It can also result in a trailing empty page at the end of the produced document.
It would be great if the loop could have some attributes attached to dictate this eg:
With something like occupy-full-page attribute this could instruct the loop to essentially place a page break at the end of the loop automatically meaning each loop iteration would start at the top of a new page each time, or in other words have the affect of occupying a full page, even if the report did not fill the full page.
The text was updated successfully, but these errors were encountered:
It has already been reported in #182, so I'm closing this one. Everything that if are the {# is given to the angular parser so I don't want to add anything after the {#.
This package is REALLY good, and works like a charm!
Our use case is we are printing reports from a database into word files. We ask the client to produce their own tpl file, upload to our system, they can then choose to create a batch of reports using the said tpl file.
Each docx file produced typically includes a cover sheet followed by a loop which iterates on average 20 times. The client requires that each loop be printed on a single page which would basically result in 1 cover page followed by 20 subsequent pages, 1 for each loop iteration.
To achieve this, the opening loop tag starts at the top of a page and we then ask the client to enter the content for each loop followed by a page break with the closing tag at the top of the subsequent page in the tpl.
This is a working solution, but is not ideal and for the non-tech savy they are finding this difficult to grasp. It can also result in a trailing empty page at the end of the produced document.
It would be great if the loop could have some attributes attached to dictate this eg:
With something like
occupy-full-page
attribute this could instruct the loop to essentially place a page break at the end of the loop automatically meaning each loop iteration would start at the top of a new page each time, or in other words have the affect of occupying a full page, even if the report did not fill the full page.The text was updated successfully, but these errors were encountered: