Class odf.OdfSchemaImpl
Defined in: OdfSchema.js.
Constructor Attributes | Constructor Name and Description |
---|---|
A collection of query interfaces to determine attributes about a node such as whether it
can contain text content, or is a field.
|
Method Attributes | Method Name and Description |
---|---|
Return a list of all known ODF fields.
|
|
isField(namespaceURI, localName)
Returns true if the supplied namespace + localName is an ODT field.
|
|
isTextContainer(namespaceURI, localName)
Returns true if the supplied namespace + localName can contain selectable/editable text
content.
|
Class Detail
odf.OdfSchemaImpl()
A collection of query interfaces to determine attributes about a node such as whether it
can contain text content, or is a field. This should be accessed via the singleton
instance "odf.OdfSchema".
Method Detail
{!Array.}
getFields()
Return a list of all known ODF fields. These are prefixed with the standard prefixes.
E.g., ["text:author-name"]
- Returns:
- {!Array.}
{!boolean}
isField(namespaceURI, localName)
Returns true if the supplied namespace + localName is an ODT field.
- Parameters:
- {!string} namespaceURI
- {!string} localName
- Returns:
- {!boolean}
{!boolean}
isTextContainer(namespaceURI, localName)
Returns true if the supplied namespace + localName can contain selectable/editable text
content.
- Parameters:
- {!string} namespaceURI
- {!string} localName
- Returns:
- {!boolean}