Microsoft Word Report Language and Culture-Based Configuration

When a Microsoft Word report button is clicked, your application creates a report based on the session’s culture and language.  For example, if they are French (Canada), your application determines the overridden properties from WordReport.fr.word and ReportDefault.fr-CA.word report configuration files.  These overridden properties may be specified with cultural or language dependent values.  In this situation, your application applies the substitution values.

PageHeight

Culture

Cultural Dependent Value

Substitution

Canada or the U.S

CulturalDefaultForLandscape

11 in

Other culture

CulturalDefaultForLandscape

297 mm (A4 size)

Canada or the U.S

CulturalDefaultForProtrait

8.5 in

Other culture

CulturalDefaultForProtrait

210 mm (A4 size)

PageWidth

Culture

Cultural Dependent Value

Substitution

Canada or the U.S

CulturalDefaultForLandscape

297 mm (A4 size)

Other culture

CulturalDefaultForLandscape

11 in

Canada or the U.S

CulturalDefaultForPortrait

210 mm (A4 size)

Other culture

CulturalDefaultForPortrait

8.5 in

ReportDirection

Language

Cultural Dependent Value

Substitution

Language with left to right text direction

LanguageDefault

LeftToRight

Language with right to left text direction

LanguageDefault

RightToLeft

TextDirection

Language

Cultural Dependent Value

Substitution

Language with left to right text direction

LanguageDefault

LeftToRight

Language with right to left text direction

LanguageDefault

RightToLeft

 

See Also

Customizing Microsoft Word Report Configuration Files

Text Substitution Parameters for Titles, Headers, Footers and Columns

Microsoft Word Report Alignment Configuration

Microsoft Word Report Language and Culture-Based Configuration

Customizing Microsoft Word Report Code