OdsoDataSourceType

Inheritance: java.lang.Object

public class OdsoDataSourceType

Specifies the type of the external data source to be connected to as part of the ODSO connection information.

Remarks:

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.

Fields

FieldDescription
ADDRESS_BOOKSpecifies that a given document has been connected to an address book of contacts.
DATABASESpecifies that a given document has been connected to a database.
DEFAULTEquals to NONE.
DOCUMENT_1Specifies that a given document has been connected to another document format supported by the producing application.
DOCUMENT_2Specifies that a given document has been connected to another document format supported by the producing application.
EMAILSpecifies that a given document has been connected to an e-mail application.
LEGACYSpecifies that a given document has been connected to a legacy document format supported by the producing application Possibly wdMergeSubTypeWord2000.
MASTERSpecifies that a given document has been connected to a data source which aggregates other data sources.
NATIVESpecifies that a given document has been connected to another document format native to the producing application.
NONEThe type of the external data source is not specified.
TEXTSpecifies that a given document has been connected to a text file.
length

Methods

MethodDescription
fromName(String odsoDataSourceTypeName)
getName(int odsoDataSourceType)
getValues()
toString(int odsoDataSourceType)

ADDRESS_BOOK

public static int ADDRESS_BOOK

Specifies that a given document has been connected to an address book of contacts. Possibly wdMergeSubTypeOAL.

DATABASE

public static int DATABASE

Specifies that a given document has been connected to a database. Possibly wdMergeSubTypeAccess.

DEFAULT

public static int DEFAULT

Equals to NONE.

DOCUMENT_1

public static int DOCUMENT_1

Specifies that a given document has been connected to another document format supported by the producing application. Possibly wdMergeSubTypeOLEDBWord.

DOCUMENT_2

public static int DOCUMENT_2

Specifies that a given document has been connected to another document format supported by the producing application. Possibly wdMergeSubTypeWorks.

EMAIL

public static int EMAIL

Specifies that a given document has been connected to an e-mail application. Possibly wdMergeSubTypeOutlook.

LEGACY

public static int LEGACY

Specifies that a given document has been connected to a legacy document format supported by the producing application Possibly wdMergeSubTypeWord2000.

MASTER

public static int MASTER

Specifies that a given document has been connected to a data source which aggregates other data sources.

NATIVE

public static int NATIVE

Specifies that a given document has been connected to another document format native to the producing application. Possibly wdMergeSubTypeOLEDBText

NONE

public static int NONE

The type of the external data source is not specified. Possibly wdMergeSubTypeWord.

TEXT

public static int TEXT

Specifies that a given document has been connected to a text file. Possibly wdMergeSubTypeOther.

length

public static int length

fromName(String odsoDataSourceTypeName)

public static int fromName(String odsoDataSourceTypeName)

Parameters:

ParameterTypeDescription
odsoDataSourceTypeNamejava.lang.String

Returns: int

getName(int odsoDataSourceType)

public static String getName(int odsoDataSourceType)

Parameters:

ParameterTypeDescription
odsoDataSourceTypeint

Returns: java.lang.String

getValues()

public static int[] getValues()

Returns: int[]

toString(int odsoDataSourceType)

public static String toString(int odsoDataSourceType)

Parameters:

ParameterTypeDescription
odsoDataSourceTypeint

Returns: java.lang.String