Class MLA

Object
   |
   +--MLA

class MLA

Defined in MarkLogicWordAddin.js


Constructor Summary
MLA()
            The MLA namespace is used for global attribution.
 
Method Summary
<static> String addCustomXMLPart(customPartXml)
           Adds custom part to active Open XML package.
<static> Object createParagraph(textstring)
           Utility function to create a default WordprocessingML paragraph , with no styles, for a given string.
<static> Object createXMLDOM(xmlstring)
           Utility function for creating Microsoft.XMLDOM object from string
<static> void deleteCustomXMLPart(customXMLPartId)
           Deletes custom part from Active Open XML package identified by id.
<static> Microsoft.XMLDOM object getActiveDocStylesXml()
           Returns the Styles.xml for the ActiveDocument as XMLDOM object.
<static> Microsoft.XMLDOM object getActiveDocXml()
           Returns the document.xml for the ActiveDocument as XMLDOM object.
<static> Object getConfiguration()
           Returns MLA.config.
<static> Microsoft.XMLDOM object getCustomXMLPart(customXMLPartId)
           Returns the custom XML part, identified by customXMLPartId, that is part of the active Open XML package.
<static> Array getCustomXMLPartIds()
           Returns ids for custom parts (not built-in) that are part of the active Open XML package.
<static> Array getSelection()
           Returns the XML that represents what is currently selected (highlighted) by the user in the ActiveDocument as an XMLDOM object.
<static> Array getSelectionText(delimiter)
           Returns the text currently selected (highlighted) by the user in the ActiveDocument.
<static> Microsoft.XMLDOM object getSentenceAtCursor()
           Returns the final XML block that represents the Sentence at the current cursor position.
<static> String getVersion()
           Returns version of MarkLogicWordAddin.js library
<static> void insertBlockContent(blockContentXml,stylesXml)
           Inserts block-level xml into the ActiveDocument in Word at the current cursor position, or over the selected range (if selected).
<static> void insertText(textToInsert)
           Inserts text into the ActiveDocument at current cursor position.
<static> void setActiveDocXml(documentXml)
           Inserts document.xml into the ActiveDocument package in Word.

Constructor Detail

MLA

MLA()

Method Detail

addCustomXMLPart

<static> String addCustomXMLPart(customPartXml)

createParagraph

<static> Object createParagraph(textstring)

createXMLDOM

<static> Object createXMLDOM(xmlstring)

deleteCustomXMLPart

<static> void deleteCustomXMLPart(customXMLPartId)

getActiveDocStylesXml

<static> Microsoft.XMLDOM object getActiveDocStylesXml()

getActiveDocXml

<static> Microsoft.XMLDOM object getActiveDocXml()

getConfiguration

<static> Object getConfiguration()

getCustomXMLPart

<static> Microsoft.XMLDOM object getCustomXMLPart(customXMLPartId)

getCustomXMLPartIds

<static> Array getCustomXMLPartIds()

getSelection

<static> Array getSelection()

getSelectionText

<static> Array getSelectionText(delimiter)

getSentenceAtCursor

<static> Microsoft.XMLDOM object getSentenceAtCursor()

getVersion

<static> String getVersion()

insertBlockContent

<static> void insertBlockContent(blockContentXml,stylesXml)

insertText

<static> void insertText(textToInsert)

setActiveDocXml

<static> void setActiveDocXml(documentXml)


Documentation generated by JSDoc on Sun Dec 14 10:43:40 2008