|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--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()
| Method Detail |
<static> string addCustomXMLPart(customPartXml)
customPartXML - Either A) an XMLDOM object that is the custom part to be added to the active Open XML package, or B)The string serialization of the XML to be added as a custom part to the active Open XML package. ( The XML must be well-formed. )
<static> string convertFilenameToImageDir(filename)
filename - the name to be converted
<static> Object createXMLDOM(xmlstring)
xmlString - the string to be loaded into a XMLDOM object. The string must be serialized, well-formed XML.
<static> void deleteCustomXMLPart(customXMLPartId)
customXMLPartId - the id of the custom part to be deleted from the active Open XML package.
<static> string embedOLE(tmpPath, title, url, usr, pwd)
tmpPath - the directory (including path) where the local copy of object to be embedded will be saved.
url - the url for the file to be downloaded and embedded
pwd - password for MarkLogic Server url connects with
filename - the name of the file to be embedded. tmpPath + filename should be the name and path of file on client.
user - username for MarkLogic Server url connects with
<static> Object getConfiguration()
<static> Microsoft.XMLDOM object getCustomXMLPart(customXMLPartId)
customXMLPartId - the id of the custom part to be fetched from the active package
<static> Array getCustomXMLPartIds()
<static> string getPresentationName()
<static> string getPresentationPath()
<static> string getTempPath()
<static> string getVersion()
<static> string insertImage(url,user,pwd)
url - a url to XQuery module that will return the image when evaluated
user - username for the MarkLogic Server the picuri connects with
pwd - password for the MarkLogic Server the picuri connects with
<static> string insertJSONTable(table)
table - the JSON representation of the table to be inserted
<static> string insertSlide(tmpPath, filename, slideidx, url, user, pwd,retain)
tmpPath - the directory (including path) where the local copy of presentation will be saved.
filename - the name of the .pptx file
url - the url of the .pptx to be downloaded
user - the username of the MarkLogic Server the url connects with
pwd - the password of the MarkLogic Server the url connects with
retain - true or false setting determines whether background style of copied slide will be retained when copied to active presentation
slideIdx - the index of the slide within the source powerpoint file to be copied
<static> string insertText(text)
text - text to inser
<static> string openPPTX(tmpPath, docuri, url, user, pwd)
tmpPath - the directory (including path) where the local copy of presentation will be saved.
docuri - the uri of the .pptx within MarkLogic
url - the url for fetching the .pptx to be downloaded
user - the username for the MarkLogic Server the url connects with
pwd - the password for the MarkLogic Server the url connects with
<static> string saveActivePresentation(filename, url, user, pwd)
filename - the name of the file (including path) to be saved to MarkLogic
url - the url on MarkLogic that the client calls to upload the presentation
user - username for MarkLogic Server url connects with
pwd - password for MarkLogic Server url connects with
<static> string saveActivePresentationAndImages(saveasdir, saveasname, url, user, pwd)
saveasdir - the name of the directory (including path) where to save the local copies
saveasname - the name to save the .pptx as (no path)
url - the url on MarkLogic that the client calls to upload the Presentation and images to MarkLogic
user - username for MarkLogic Server url connects with
pwd - password for MarkLogic Server url connects with
<static> string saveImages(imgdir, url, user, pwd)
imgdir - the name of the directory (including path) where to save the images on the client system
url - the url on MarkLogic that the client calls to upload the image directory and contents to MarkLogic
user - username for MarkLogic Server url connects with
pwd - password for MarkLogic Server url connects with
<static> string saveLocalCopy(filename)
filename - the filename (including path) to save Presentation as on client system
<static> string useSaveFileDialog()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||