Class Index | File Index

Classes


Class odf.OdfSchemaImpl


Defined in: OdfSchema.js.

Class Summary
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 Summary
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}

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Aug 06 2015 04:10:41 GMT+0200 (MESZ)