The Aspose.Words.Settings namespace contains classes and enums that are used when specifying various settings and options stored in a document. These are mail merge, write protection, compatibility and other settings.
Classes | |
class | CompatibilityOptions |
Contains compatibility options (that is, the user preferences entered on the Compatibility tab of the Options dialog in Microsoft Word). To learn more, visit the Detect File Format and Check Format Compatibility documentation article. More... | |
class | HyphenationOptions |
Allows to configure document hyphenation options. To learn more, visit the Working with Hyphenation documentation article. More... | |
class | MailMergeSettings |
Specifies all of the mail merge information for a document. To learn more, visit the Mail Merge and Reporting documentation article. More... | |
class | Odso |
Specifies the Office Data Source Object (ODSO) settings for a mail merge data source. To learn more, visit the Mail Merge and Reporting documentation article. More... | |
class | OdsoFieldMapData |
Specifies how a column in the external data source shall be mapped to the predefined merge fields within the document. To learn more, visit the Mail Merge and Reporting documentation article. More... | |
class | OdsoFieldMapDataCollection |
A typed collection of the OdsoFieldMapData objects. To learn more, visit the Mail Merge and Reporting documentation article. More... | |
class | OdsoRecipientData |
Represents information about a single record within an external data source that is to be excluded from the mail merge. To learn more, visit the Mail Merge and Reporting documentation article. More... | |
class | OdsoRecipientDataCollection |
A typed collection of OdsoRecipientDataTo learn more, visit the Mail Merge and Reporting documentation article. More... | |
class | ViewOptions |
Provides various options that control how a document is shown in Microsoft Word. To learn more, visit the Work with Options and Appearance of Word Documents documentation article. More... | |
class | WriteProtection |
Specifies write protection settings for a document. To learn more, visit the Protect or Encrypt a Document documentation article. More... | |
Enumerations | |
enum class | Compatibility |
Specifies names of compatibility options. More... | |
enum class | MailMergeCheckErrors |
Specifies how Microsoft Word will report errors detected during mail merge. More... | |
enum class | MailMergeDataType |
Specifies the type of an external mail merge data source. More... | |
enum class | MailMergeDestination |
Specifies the possible results which may be generated when a mail merge is carried out on a document. More... | |
enum class | MailMergeMainDocumentType |
Specifies the possible types for a mail merge source document. More... | |
enum class | MsWordVersion |
Allows Aspose.Wods to mimic MS Word version-specific application behavior. More... | |
enum class | MultiplePagesType |
Specifies how document is printed out. More... | |
enum class | OdsoDataSourceType |
Specifies the type of the external data source to be connected to as part of the ODSO connection information. More... | |
enum class | OdsoFieldMappingType |
Specifies the possible types used to indicate if a given mail merge field has been mapped to a column in the given external data source. More... | |
enum class | ViewType |
Possible values for the view mode in Microsoft Word. More... | |
enum class | ZoomType |
Possible values for how large or small the document appears on the screen in Microsoft Word. More... | |
|
strong |
Specifies names of compatibility options.
|
strong |
Specifies how Microsoft Word will report errors detected during mail merge.
Enumerator | |
---|---|
Simulate | Simulate the merge and report errors in a new document. |
PauseOnError | Complete the merge and pause to report errors. |
CollectErrors | Complete the merge and report errors in a new document. |
Default | Equals to the PauseOnError value. |
|
strong |
Specifies the type of an external mail merge data source.
Enumerator | |
---|---|
None | No mail merge data source is specified. |
TextFile | Specifies that a given document has been connected to a text file via the Dynamic Data Exchange (DDE) system. |
Database | Specifies that a given document has been connected to an Access database via the Dynamic Data Exchange (DDE) system. |
Spreadsheet | Specifies that a given document has been connected to an Excel spreadsheet via the Dynamic Data Exchange (DDE) system. |
Query | Specifies that a given document has been connected to an external data source using an external query tool. |
Odbc | Specifies that a given document has been connected to an external data source via the Open Database Connectivity interface. |
Native | Specifies that a given document has been connected to an external data source via the Office Data Source Object (ODSO) interface. |
Default | Equals to None. |
|
strong |
Specifies the possible results which may be generated when a mail merge is carried out on a document.
Enumerator | |
---|---|
NewDocument | Specifies that conforming hosting applications shall generate new documents by populating the fields within a given document with data from the specified external data source. |
Printer | Specifies that conforming hosting applications shall print the documents that result from populating the fields within a given document with external data from the specified external data source. |
Specifies that conforming hosting applications shall generate emails using the documents that result from populating the fields within a given document with data from the specified external data source. | |
Fax | Specifies that conforming hosting applications shall generate faxes using the documents that result from populating the fields within a given document with data from the specified external data source. |
Default | Equals to the NewDocument value. |
|
strong |
Specifies the possible types for a mail merge source document.
Enumerator | |
---|---|
NotAMergeDocument | This document is not a mail merge document. |
FormLetters | Specifies that the mail merge source document is of the form letter type. |
MailingLabels | Specifies that the mail merge source document is of the mailing label type. |
Envelopes | Specifies that the mail merge source document is of the envelope type. |
Catalog | Specifies that the mail merge source document is of the catalog type. |
Specifies that the mail merge source document is of the e-mail message type. | |
Fax | Specifies that the mail merge source document is of the fax type. |
Default | Equals to NotAMergeDocument |
|
strong |
Allows Aspose.Wods to mimic MS Word version-specific application behavior.
|
strong |
Specifies how document is printed out.
Enumerator | |
---|---|
Normal | Normal printing, no multiple pages specified. |
MirrorMargins | Swaps left and right margins on facing pages. |
TwoPagesPerSheet | Prints two pages per sheet. |
BookFoldPrinting | Specifies whether to print the document as a book fold. |
BookFoldPrintingReverse | Specifies whether to print the document as a reverse book fold. |
Default | Default value is Normal |
|
strong |
Specifies the type of the external data source to be connected to as part of the ODSO connection information.
The OOXML specification is very vague for this enum. I guess it might correspond to the WdMergeSubType enumeration http://msdn.microsoft.com/en-us/library/bb237801.aspx.
Enumerator | |
---|---|
Text | Specifies that a given document has been connected to a text file. Possibly wdMergeSubTypeOther. |
Database | Specifies that a given document has been connected to a database. Possibly wdMergeSubTypeAccess. |
AddressBook | Specifies that a given document has been connected to an address book of contacts. Possibly wdMergeSubTypeOAL. |
Document1 | Specifies that a given document has been connected to another document format supported by the producing application. Possibly wdMergeSubTypeOLEDBWord. |
Document2 | Specifies that a given document has been connected to another document format supported by the producing application. Possibly wdMergeSubTypeWorks. |
Native | Specifies that a given document has been connected to another document format native to the producing application. Possibly wdMergeSubTypeOLEDBText. |
Specifies that a given document has been connected to an e-mail application. Possibly wdMergeSubTypeOutlook. | |
None | The type of the external data source is not specified. Possibly wdMergeSubTypeWord. |
Legacy | Specifies that a given document has been connected to a legacy document format supported by the producing application Possibly wdMergeSubTypeWord2000. |
Master | Specifies that a given document has been connected to a data source which aggregates other data sources. |
Default | Equals to None. |
|
strong |
Specifies the possible types used to indicate if a given mail merge field has been mapped to a column in the given external data source.
Enumerator | |
---|---|
Column | Specifies that the mail merge field has been mapped to a column in the given external data source. |
Null | Specifies that the mail merge field has not been mapped to a column in the given external data source. |
Default | Equals to Null. |
|
strong |
Possible values for the view mode in Microsoft Word.
Shows how to set a custom zoom factor, which older versions of Microsoft Word will apply to a document upon loading.
|
strong |
Possible values for how large or small the document appears on the screen in Microsoft Word.
Enumerator | |
---|---|
Custom | Zoom percentage is set explicitly. It is not recalculated automatically when control size changes. |
None | Indicates to use the explicit zoom percentage. Same as Custom. |
FullPage | Zoom percentage is automatically recalculated to fit one full page. |
PageWidth | Zoom percentage is automatically recalculated to fit page width. |
TextFit | Zoom percentage is automatically recalculated to fit text. |