Edit

Share via


Word.Interfaces.TemplateCollectionLoadOptions interface

Contains a collection of Word.Template objects that represent all the templates that are currently available. This collection includes open templates, templates attached to open documents, and global templates loaded in the Templates and Add-ins dialog box. To learn how to access this dialog in the Word UI, see Load or unload a template or add-in program.

Remarks

[ API set: WordApiDesktop 1.3 ]

Properties

$all

Specifying $all for the load options loads all the scalar properties (such as Range.address) but not the navigational properties (such as Range.format.fill.color).

farEastLineBreakLanguage

For EACH ITEM in the collection: Specifies the East Asian language to use when breaking lines of text in the document or template.

farEastLineBreakLevel

For EACH ITEM in the collection: Specifies the line break control level for the document.

fullName

For EACH ITEM in the collection: Returns the name of the template, including the drive or Web path.

hasNoProofing

For EACH ITEM in the collection: Specifies whether the spelling and grammar checker ignores documents based on this template.

justificationMode

For EACH ITEM in the collection: Specifies the character spacing adjustment for the template.

kerningByAlgorithm

For EACH ITEM in the collection: Specifies if Microsoft Word kerns half-width Latin characters and punctuation marks in the document.

languageId

For EACH ITEM in the collection: Specifies a LanguageId value that represents the language in the template.

languageIdFarEast

For EACH ITEM in the collection: Specifies an East Asian language for the language in the template.

name

For EACH ITEM in the collection: Returns only the name of the document template (excluding any path or other ___location information).

noLineBreakAfter

For EACH ITEM in the collection: Specifies the kinsoku characters after which Microsoft Word will not break a line.

noLineBreakBefore

For EACH ITEM in the collection: Specifies the kinsoku characters before which Microsoft Word will not break a line.

path

For EACH ITEM in the collection: Returns the path to the document template.

saved

For EACH ITEM in the collection: Specifies true if the template has not changed since it was last saved, false if Microsoft Word displays a prompt to save changes when the document is closed.

type

For EACH ITEM in the collection: Returns the template type.

Property Details

$all

Specifying $all for the load options loads all the scalar properties (such as Range.address) but not the navigational properties (such as Range.format.fill.color).

$all?: boolean;

Property Value

boolean

farEastLineBreakLanguage

For EACH ITEM in the collection: Specifies the East Asian language to use when breaking lines of text in the document or template.

farEastLineBreakLanguage?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.3 ]

farEastLineBreakLevel

For EACH ITEM in the collection: Specifies the line break control level for the document.

farEastLineBreakLevel?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.3 ]

fullName

For EACH ITEM in the collection: Returns the name of the template, including the drive or Web path.

fullName?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.3 ]

hasNoProofing

For EACH ITEM in the collection: Specifies whether the spelling and grammar checker ignores documents based on this template.

hasNoProofing?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.3 ]

justificationMode

For EACH ITEM in the collection: Specifies the character spacing adjustment for the template.

justificationMode?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.3 ]

kerningByAlgorithm

For EACH ITEM in the collection: Specifies if Microsoft Word kerns half-width Latin characters and punctuation marks in the document.

kerningByAlgorithm?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.3 ]

languageId

For EACH ITEM in the collection: Specifies a LanguageId value that represents the language in the template.

languageId?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.3 ]

languageIdFarEast

For EACH ITEM in the collection: Specifies an East Asian language for the language in the template.

languageIdFarEast?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.3 ]

name

For EACH ITEM in the collection: Returns only the name of the document template (excluding any path or other ___location information).

name?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.3 ]

noLineBreakAfter

For EACH ITEM in the collection: Specifies the kinsoku characters after which Microsoft Word will not break a line.

noLineBreakAfter?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.3 ]

noLineBreakBefore

For EACH ITEM in the collection: Specifies the kinsoku characters before which Microsoft Word will not break a line.

noLineBreakBefore?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.3 ]

path

For EACH ITEM in the collection: Returns the path to the document template.

path?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.3 ]

saved

For EACH ITEM in the collection: Specifies true if the template has not changed since it was last saved, false if Microsoft Word displays a prompt to save changes when the document is closed.

saved?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.3 ]

type

For EACH ITEM in the collection: Returns the template type.

type?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.3 ]