Class MLA

Object
   |
   +--MLA

class MLA

Defined in MarkLogicPowerPointAddin.js


Nested Class Summary
<static class> MLA.ShapeRangeView
 
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 addPresentationTag(tagName, tagValue)
           Adds tag to active presentation
<static> string addPresentationTags(jsonTags)
           Adds tags (tag names and associated values) to active presentation from jsonSerialization of tags.
<static> string addShape(slideIndex, shapeRangeView)
           Add a shape to the active presentation
<static> string addShapeRangeTag(tagName, tagValue)
           Adds tag to all selected shapes in the active slide
<static> string addShapeTag(slideIndex, shapeName, tagName, tagValue)
           Adds tag to shape.
<static> string addShapeTags(slideIndex, shapeName, jsonTags)
           Adds tags (tag names and associated values) to shape from jsonSerialization of tags.
<static> string addSlide(slideIndex, customLayout)
           Adds a slide to the active presentation.
<static> string addSlideTag(slideIndex, tagName, tagValue)
           Adds tag to slide.
<static> string addSlideTags(slideIndex, jsonTags)
           Adds tags (tag names and associated values) to slide from jsonSerialization of tags.
<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 deletePresentationTag(tagName)
           Deletes tag from active presentation.
<static> string deleteShape(slideIndex, shapeName)
           Deletes a shape from the active slide in the active presentation.
<static> string deleteShapeTag(slideIndex, shapeName, tagName)
           Deletes tag from shape.
<static> string deleteSlide(slideIndex)
           Deletes a slide from the active presentation.
<static> string deleteSlideTag(slideIndex, tagName)
           Deletes tag from slide.
<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 getPresentationSlideCount()
           Returns count of slides for active presentation.
<static> string getPresentationTags()
           Gets the json serialization of tags for the active presentation.
<static> string getShapeRangeCount()
           Returns the count of how many shapes are currently selected in the active slide.
<static> string getShapeRangeName()
           Returns the name of the currently selected shape.
<static> Array getShapeRangeShapeNames()
           Gets the names of all currently selected shapes in the active slide.
<static> ShapeRangeView getShapeRangeView(slideIndex, shapeName)
           Gets a shapeRangeView object
<static> string getSlideIndex()
           Returns index of active slide.
<static> string getSlideName()
           Returns slide name of active slide.
<static> Array getSlideShapeNames(slideIndex)
           Gets the names of all shapes for the slide specified by slideIndex.
<static> string getSlideTags(slideIndex)
           Gets the json serialization of tags for a slide in the active presentation.
<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 jsonParse(jsonString, reviver)
           Deserializes a JSON string into an object.
<static> string jsonStringify(jsObject, replacer)
           Serializes an object as JSON.
<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 setPictureFormat(slideIndex, shapeName, jsonPicFormat)
           Sets the picture attributes for an inserted msoPicture shape.
<static> string setShapeRangeName(slideIndex, origName,newName)
           Sets the name being used for the 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)

addPresentationTag

<static> string addPresentationTag(tagName, tagValue)

addPresentationTags

<static> string addPresentationTags(jsonTags)

addShape

<static> string addShape(slideIndex, shapeRangeView)

addShapeRangeTag

<static> string addShapeRangeTag(tagName, tagValue)

addShapeTag

<static> string addShapeTag(slideIndex, shapeName, tagName, tagValue)

addShapeTags

<static> string addShapeTags(slideIndex, shapeName, jsonTags)

addSlide

<static> string addSlide(slideIndex, customLayout)

addSlideTag

<static> string addSlideTag(slideIndex, tagName, tagValue)

addSlideTags

<static> string addSlideTags(slideIndex, jsonTags)

convertFilenameToImageDir

<static> string convertFilenameToImageDir(filename)

createXMLDOM

<static> Object createXMLDOM(xmlstring)

deleteCustomXMLPart

<static> void deleteCustomXMLPart(customXMLPartId)

deletePresentationTag

<static> string deletePresentationTag(tagName)

deleteShape

<static> string deleteShape(slideIndex, shapeName)

deleteShapeTag

<static> string deleteShapeTag(slideIndex, shapeName, tagName)

deleteSlide

<static> string deleteSlide(slideIndex)

deleteSlideTag

<static> string deleteSlideTag(slideIndex, tagName)

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()

getPresentationSlideCount

<static> string getPresentationSlideCount()

getPresentationTags

<static> string getPresentationTags()

getShapeRangeCount

<static> string getShapeRangeCount()

getShapeRangeName

<static> string getShapeRangeName()

getShapeRangeShapeNames

<static> Array getShapeRangeShapeNames()

getShapeRangeView

<static> ShapeRangeView getShapeRangeView(slideIndex, shapeName)

getSlideIndex

<static> string getSlideIndex()

getSlideName

<static> string getSlideName()

getSlideShapeNames

<static> Array getSlideShapeNames(slideIndex)

getSlideTags

<static> string getSlideTags(slideIndex)

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)

jsonParse

<static> string jsonParse(jsonString, reviver)

jsonStringify

<static> string jsonStringify(jsObject, replacer)

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)

setPictureFormat

<static> string setPictureFormat(slideIndex, shapeName, jsonPicFormat)

setShapeRangeName

<static> string setShapeRangeName(slideIndex, origName,newName)

useSaveFileDialog

<static> string useSaveFileDialog()


Documentation generated by JSDoc on Thu Sep 23 16:38:15 2010