OdsoDataSourceType

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

ValueDescription
TEXTSpecifies that a given document has been connected to a text file.
DATABASESpecifies that a given document has been connected to a database.
ADDRESS_BOOKSpecifies that a given document has been connected to an address book of contacts.
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.
NATIVESpecifies that a given document has been connected to another document format native to the producing application.
EMAILSpecifies that a given document has been connected to an e-mail application.
NONEThe type of the external data source is not specified.
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.
DEFAULTEquals to OdsoDataSourceType.NONE.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of OdsoDataSourceType values.

Methods

SignatureDescription
getName(odsoDataSourceType: int) → StringReturns JAVA_STYLE string representation of integer OdsoDataSourceType value.
toString(odsoDataSourceType: int) → StringReturns DotNetStyle string representation of integer OdsoDataSourceType value.
fromName(odsoDataSourceTypeName: String) → intReturns integer representation by OdsoDataSourceType name.
getValues() → int[]Returns array of OdsoDataSourceType values.

See Also