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
Field | Description |
---|---|
ADDRESS_BOOK | Specifies that a given document has been connected to an address book of contacts. |
DATABASE | Specifies that a given document has been connected to a database. |
DEFAULT | Equals to NONE. |
DOCUMENT_1 | Specifies that a given document has been connected to another document format supported by the producing application. |
DOCUMENT_2 | Specifies that a given document has been connected to another document format supported by the producing application. |
Specifies that a given document has been connected to an e-mail application. | |
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. |
NATIVE | Specifies that a given document has been connected to another document format native to the producing application. |
NONE | The type of the external data source is not specified. |
TEXT | Specifies that a given document has been connected to a text file. |
length |
Methods
Method | Description |
---|---|
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.
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:
Parameter | Type | Description |
---|---|---|
odsoDataSourceTypeName | java.lang.String |
Returns: int
getName(int odsoDataSourceType)
public static String getName(int odsoDataSourceType)
Parameters:
Parameter | Type | Description |
---|---|---|
odsoDataSourceType | int |
Returns: java.lang.String
getValues()
public static int[] getValues()
Returns: int[]
toString(int odsoDataSourceType)
public static String toString(int odsoDataSourceType)
Parameters:
Parameter | Type | Description |
---|---|---|
odsoDataSourceType | int |
Returns: java.lang.String