Word Reports
Replacing Text
Basic Tasks > Replacing Text

When replacing text in your Word document template, intelligent defaults are used to format the string.  Any tag can be used for the replacement such as {InvoiceDate} or [InvoiceNumber].  See the Overriding Defaults topic for overridding the defaults.  Here are the supported types and the defaults:

 

.NET Type

Output

bool

TrueText or FalseText

byte

ToString

char

ToString

decimal

ToString(“c”)

double

ToString

enum

ToString and insert spaces

float

ToString

int

ToString

long

ToString

short

ToString

unit

ToString

ulong

ToString

ushort

ToString

string

ToString

DateTime

ShortDate