OdsoDataSourceType
Overview
OdsoDataSourceType is an enum in Aspose.Words FOSS for Java.
Specifies the type of the external data source to be connected to as part of the ODSO connection information.
Edition status of its 16 listed members (a property and its accessor methods are listed separately, overloads once): 16 not yet exercised by a verified example.
This enum declares 4 methods for OdsoDataSourceType objects in Java programs.
Available methods include: fromName, getName, getValues, toString.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: values.
Values
| Value | Description |
|---|---|
TEXT | Specifies that a given document has been connected to a text file. |
DATABASE | Specifies that a given document has been connected to a database. |
ADDRESS_BOOK | Specifies that a given document has been connected to an address book of contacts. |
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. |
NATIVE | Specifies that a given document has been connected to another document format native to the producing application. |
EMAIL | Specifies that a given document has been connected to an e-mail application. |
NONE | The type of the external data source is not specified. |
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 OdsoDataSourceType.NONE. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of OdsoDataSourceType values. |
Methods
| Signature | Description |
|---|---|
getName(odsoDataSourceType: int) → String | Returns JAVA_STYLE string representation of integer OdsoDataSourceType value. |
toString(odsoDataSourceType: int) → String | Returns DotNetStyle string representation of integer OdsoDataSourceType value. |
fromName(odsoDataSourceTypeName: String) → int | Returns integer representation by OdsoDataSourceType name. |
getValues() → int[] | Returns array of OdsoDataSourceType values. |