Control Characters

The Encodian population engine supports the insertion of common control characters often found in documents.

Insert a Page Break

Example Document: Encodian - Template Syntax - Control - Page Break.docx

Example JSON Data:

{
"members": [
{
"listFirstName": "Efren",
"listLastName": "Gaskill",
"age": 45,
"homeTown": "Clearwater"
},
{
"listFirstName": "Sanly",
"listLastName": "Keyme",
"age": 19,
"homeTown": "Kensington"
},
{
"listFirstName": "Mark",
"listLastName": "Nigma",
"age": 36,
"homeTown": "Silver Spring"
}
]
}

The template contains the following Control Character which informs the engine where to insert the page break:

<<[ControlChar.PageBreak]>>

1.png

This generates the following output:

2.png

Control Character Support

Character
Syntax
ColumnBreak
<<[ControlChar.ColumnBreak]>>
LineBreak
<<[ControlChar.LineBreak]>>
LineFeed
<<[ControlChar.LineFeed]>>
NonBreakingSpace
<<[ControlChar.NonBreakingSpace]>>
PageBreak
<<[ControlChar.PageBreak]>>
ParagraphBreak
<<[ControlChar.ParagraphBreak]>>
SectionBreak
<<[ControlChar.SectionBreak]>>
Tab
<<[ControlChar.Tab]>>

 

 

Syntax Support

Please refer to our Template Design forum where our support team can help with template syntax / you can see solutions to common use cases.

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk