Difference between revisions of "Tutorial/Word documents from templates"
Jump to navigation
Jump to search
old>Admin |
m (25 revisions imported) |
||
(7 intermediate revisions by one other user not shown) | |||
Line 57: | Line 57: | ||
=== Special considerations === | === Special considerations === | ||
Named styling is not supported, but can work with a workaround. | Named styling is not supported, but can work with a workaround. | ||
Line 62: | Line 63: | ||
# Paste into main template and save file | # Paste into main template and save file | ||
# Remove content and save again | # Remove content and save again | ||
== Trouble shooting == | |||
=== Table page flow === | |||
Word does not respect table setting for page flow, so table rows break in undesired ways | |||
# Create a new empty table with one cell (without borders) | |||
# Rightclick cell and disable "Allow row to break across pages" / "Tillad opdeling af række" | |||
# Paste the old table into the new table | |||
[[File:RowControl.PNG]] |
Latest revision as of 11:55, 10 December 2021
Basic template
Checklist
- [Solution] > "Advanced" > Template: "Add"
- Copy template tags from popup: "Template field tokens" > "Office"
- Prepare file on local PC
- Copy placeholder tags from backend
- Save in safe location so you dont need to download when updating later
- [Solution] > "Advanced" > Template: "Add"
- Set content type to "MS Word" or "PDF"
- Upload file
- If solution has more than 1 export template
- Check that solution has [Solution] > "Advanced" >"Template selector" enabled
Trouble shooting
Content from Tempus Serva is not displayed inside tags
- Disable spelling/grammar
- Take care not to edit the text inside tags
- Select the whole tag before applying styling
- Paste tags from notepad or other program without text styling
Subtemplates
Subtemplates can be used for special fields that support the notion.
- Complex question
The whole sub template is injected into the tag, as if it had been normal data.
Complex questions
Supported tag names
${FIELDLABEL} ${FIELDHELP} ${CHOICEIMAGE} ${CHOICELABEL} ${CHOICETEXT} ${ANSWERLABEL} ${ANSWERTEXT} ${PICTURE} ${COMMENT}
Complex questions
Supported tag names in first template
${FIELDLABEL} ${FIELDHELP}
Supported tag names in second template
${LOCATION} ${CHOICEIMAGE} ${CHOICELABEL} ${CHOICETEXT} ${ANSWERLABEL} ${ANSWERTEXT}
Special considerations
Named styling is not supported, but can work with a workaround.
- Copy styled content from subtemplate
- Paste into main template and save file
- Remove content and save again
Trouble shooting
Table page flow
Word does not respect table setting for page flow, so table rows break in undesired ways
- Create a new empty table with one cell (without borders)
- Rightclick cell and disable "Allow row to break across pages" / "Tillad opdeling af række"
- Paste the old table into the new table