com.aspose.words
Class OdsoDataSourceType

java.lang.Object
    extended by com.aspose.words.OdsoDataSourceType

public class OdsoDataSourceType 
extends java.lang.Object

Utility class containing constants. 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.

See Also:
Odso.DataSourceType

Field Summary
static final intTEXT = 0
           Specifies that a given document has been connected to a text file. Possibly wdMergeSubTypeOther.
static final intDATABASE = 1
           Specifies that a given document has been connected to a database. Possibly wdMergeSubTypeAccess.
static final intADDRESS_BOOK = 2
           Specifies that a given document has been connected to an address book of contacts. Possibly wdMergeSubTypeOAL.
static final intDOCUMENT_1 = 3
           Specifies that a given document has been connected to another document format supported by the producing application. Possibly wdMergeSubTypeOLEDBWord.
static final intDOCUMENT_2 = 4
           Specifies that a given document has been connected to another document format supported by the producing application. Possibly wdMergeSubTypeWorks.
static final intNATIVE = 5
           Specifies that a given document has been connected to another document format native to the producing application. Possibly wdMergeSubTypeOLEDBText
static final intEMAIL = 6
           Specifies that a given document has been connected to an e-mail application. Possibly wdMergeSubTypeOutlook.
static final intNONE = 7
           The type of the external data source is not specified. Possibly wdMergeSubTypeWord.
static final intLEGACY = 8
           Specifies that a given document has been connected to a legacy document format supported by the producing application Possibly wdMergeSubTypeWord2000.
static final intMASTER = 9
           Specifies that a given document has been connected to a data source which aggregates other data sources.
static final intDEFAULT = 7
           Equals to NONE.
 

Field Detail

TEXT = 0

public static final int TEXT
Specifies that a given document has been connected to a text file. Possibly wdMergeSubTypeOther.

DATABASE = 1

public static final int DATABASE
Specifies that a given document has been connected to a database. Possibly wdMergeSubTypeAccess.

ADDRESS_BOOK = 2

public static final int ADDRESS_BOOK
Specifies that a given document has been connected to an address book of contacts. Possibly wdMergeSubTypeOAL.

DOCUMENT_1 = 3

public static final int DOCUMENT_1
Specifies that a given document has been connected to another document format supported by the producing application. Possibly wdMergeSubTypeOLEDBWord.

DOCUMENT_2 = 4

public static final int DOCUMENT_2
Specifies that a given document has been connected to another document format supported by the producing application. Possibly wdMergeSubTypeWorks.

NATIVE = 5

public static final int NATIVE
Specifies that a given document has been connected to another document format native to the producing application. Possibly wdMergeSubTypeOLEDBText

EMAIL = 6

public static final int EMAIL
Specifies that a given document has been connected to an e-mail application. Possibly wdMergeSubTypeOutlook.

NONE = 7

public static final int NONE
The type of the external data source is not specified. Possibly wdMergeSubTypeWord.

LEGACY = 8

public static final int LEGACY
Specifies that a given document has been connected to a legacy document format supported by the producing application Possibly wdMergeSubTypeWord2000.

MASTER = 9

public static final int MASTER
Specifies that a given document has been connected to a data source which aggregates other data sources.

DEFAULT = 7

public static final int DEFAULT
Equals to NONE.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.