Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src
template
Readme.md
SimpleDocument.csproj
packages.config
pom.xml
result.docx

Readme.md

Simple Document

Introductory example.

Pass in object to Templater and let it match tag in a Word document. Templater will use reflection to extract public properties and match it with tags detected in the provided template.

Tag format

Tags can have one of three formats:

  • [[tag]]
  • {{tag}}
  • <<tag>>

Reflection rules

Only public properties are analyzed by Templater. Fields, properties or zero argument methods are used for matching tags.

Formatting

Templater will maintain formats such as fonts, styles and color.

You can’t perform that action at this time.