Open XML SDK for JavaScript
ReturnThe Open XML SDK for JavaScript is a light-weight JavaScript API that enables you to create, modify, or query Open XML documents. It is useful in the following scenarios:
- Client-side Open XML applications that run in the browser
- Server-side applications using Node.js
- Windows 8 “Windows Store” applications
- Apps for Office Client 2013
- Apps for SharePoint 2013
You must be familiar with the Open Packaging Conventions (OPC) in order to use the Open XML SDK for JavaScript. If you need a refresher on OPC, you can watch the screen-casts on OPC (#7 and #8 in the screen-cast series Introduction to Open XML). You may also be interested in reading the MSDN article Essentials of the Open Packaging Conventions.
Download: Open XML SDK for JavaScript
Table of Contents
-
Guide
- Overview of Scenarios for the Open XML SDK for JavaScript
- Overview of the Open XML SDK for JavaScript API
- Document Generation Demo
- Linq to XML for JavaScript
- Pre-initialized Open XML Element and Attribute Names
- Accessing Parts using Convenience Functions
- Uploading and Downloading Documents using HTML5
- Use of Flash to Enable Uploading and Downloading Documents
- Customizing the Upload/Download Buttons when using Flash
- Using Template Documents
- Accessing Spreadsheets
-
OpenXmlPackage
- new OpenXmlPackage(base64)
- new OpenXmlPackage(flatOpc)
- addPart
- addRelationship
- deletePart
- deleteRelationship
- getContentType
- getPartById
- getPartByRelationshipType
- getPartByUri
- getParts
- getPartsByContentType
- getPartsByRelationshipType
- getRelationshipById
- getRelationships
- getRelationshipsByContentType
- getRelationshipsByRelationshipType
- saveToBase64
- saveToFlatOpc
- OpenXmlPart