Class MLA

Object
   |
   +--MLA

class MLA

Defined in MarkLogicPowerPointAddin.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> string convertFilenameToImageDir(filename)
           Converts .pptx filename to image directory name.
<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> string embedOLE(tmpPath, title, url, usr, pwd)
           Embeds OLE into the Presentation.
<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> string getPresentationName()
           Returns the name being used for the active Presentation on the client system.
<static> string getPresentationPath()
           Returns the path being used for the active Presentation on the client system.
<static> string getTempPath()
           Returns the path being used for the /temp dir on the client system.
<static> string getVersion()
           Returns version of MarkLogicPowerPointAddin.js library.
<static> string insertImage(url,user,pwd)
           Inserts image into the Presentation.
<static> string insertJSONTable(table)
           Inserts JSON string as table in Active Presentation.
<static> string insertSlide(tmpPath, filename, slideidx, url, user, pwd,retain)
           Inserts slide, identified by slideIdx, into the active presentation at current slide position.
<static> string insertText(text)
           Inserts text into the Presentation at cursor position.
<static> string openPPTX(tmpPath, docuri, url, user, pwd)
           Opens .pptx into PowerPoint from local copy saved to client from MarkLogic.
<static> string saveActivePresentation(filename, url, user, pwd)
           Saves active Presentation to MarkLogic from client system.
<static> string saveActivePresentationAndImages(saveasdir, saveasname, url, user, pwd)
           Saves Presentation on client as .pptx.
<static> string saveImages(imgdir, url, user, pwd)
           Saves directory of images on client.
<static> string saveLocalCopy(filename)
           Saves .pptx for active Presentation on the client system.
<static> string useSaveFileDialog()
           Launches Windows form on client as simple SaveAs text box.

Constructor Detail

MLA

MLA()

Method Detail

addCustomXMLPart

<static> string addCustomXMLPart(customPartXml)

convertFilenameToImageDir

<static> string convertFilenameToImageDir(filename)

createXMLDOM

<static> Object createXMLDOM(xmlstring)

deleteCustomXMLPart

<static> void deleteCustomXMLPart(customXMLPartId)

embedOLE

<static> string embedOLE(tmpPath, title, url, usr, pwd)

getConfiguration

<static> Object getConfiguration()

getCustomXMLPart

<static> Microsoft.XMLDOM object getCustomXMLPart(customXMLPartId)

getCustomXMLPartIds

<static> Array getCustomXMLPartIds()

getPresentationName

<static> string getPresentationName()

getPresentationPath

<static> string getPresentationPath()

getTempPath

<static> string getTempPath()

getVersion

<static> string getVersion()

insertImage

<static> string insertImage(url,user,pwd)

insertJSONTable

<static> string insertJSONTable(table)

insertSlide

<static> string insertSlide(tmpPath, filename, slideidx, url, user, pwd,retain)

insertText

<static> string insertText(text)

openPPTX

<static> string openPPTX(tmpPath, docuri, url, user, pwd)

saveActivePresentation

<static> string saveActivePresentation(filename, url, user, pwd)

saveActivePresentationAndImages

<static> string saveActivePresentationAndImages(saveasdir, saveasname, url, user, pwd)

saveImages

<static> string saveImages(imgdir, url, user, pwd)

saveLocalCopy

<static> string saveLocalCopy(filename)

useSaveFileDialog

<static> string useSaveFileDialog()


Documentation generated by JSDoc on Wed Sep 16 10:20:21 2009