office-addins

Powerpoint presentation file reports to be corrupted after it was copied to a sharepoint online server

大城市里の小女人 提交于 2020-08-05 08:37:33
问题 Our company develops and distributes a Powerpoint Add-In. From the AddIn I add CustomXml parts (referenced to the presentation and the slide as well) to a Powerpoint presentation via DocumentFormat.OpenXml SDK V 2.10. Everything is OK with the file. Then I copy the file to a SharePoint online. It doesn't matter, if I copy via our WebDAV path, a SharePoint website on a browser or the latest possibility via OneDrive. Subsequently the behavior of that file varies: Powerpoint opens the file

office addin dev 2016 and newer: how to add insert new page / slide button in the task pane app

六眼飞鱼酱① 提交于 2020-07-23 06:52:20
问题 I am looking for directions (API reference / samples) to create a insert new page buttons along with Slide number grid view for quick navigation to slides in Powerpoint 2013 and newer additions with an addin For this I guess we would need the Office JS Api to i) Read the current number of slides, ii) Event listeners for add / remove slide iii) Insert / Duplicate particular slide into presentation iv) Navigate to particular slide So, to begin with I started following - https://docs.microsoft

office addin dev 2016 and newer: how to add insert new page / slide button in the task pane app

 ̄綄美尐妖づ 提交于 2020-07-23 06:51:48
问题 I am looking for directions (API reference / samples) to create a insert new page buttons along with Slide number grid view for quick navigation to slides in Powerpoint 2013 and newer additions with an addin For this I guess we would need the Office JS Api to i) Read the current number of slides, ii) Event listeners for add / remove slide iii) Insert / Duplicate particular slide into presentation iv) Navigate to particular slide So, to begin with I started following - https://docs.microsoft

office addin dev 2016 and newer: how to add insert new page / slide button in the task pane app

偶尔善良 提交于 2020-07-23 06:50:24
问题 I am looking for directions (API reference / samples) to create a insert new page buttons along with Slide number grid view for quick navigation to slides in Powerpoint 2013 and newer additions with an addin For this I guess we would need the Office JS Api to i) Read the current number of slides, ii) Event listeners for add / remove slide iii) Insert / Duplicate particular slide into presentation iv) Navigate to particular slide So, to begin with I started following - https://docs.microsoft

How do I add a bookmark within the body of a Word doc using Office JS

我与影子孤独终老i 提交于 2020-07-08 05:53:10
问题 The Office JS has provided the following function in preview, but I couldn't find any example. Here is what I tried but it doesn't seem to work, any idea what I am missing here, since this code inserts the text but the bookmark is not created. Word.run(function (context) { let range = context.document.getSelection(); return context.sync().then(function () { range.insertText(`Test Bookmark`, Word.InsertLocation.replace); let uniqueStr = new Date().getTime(); let bookmarkName = `Test

How do I add a bookmark within the body of a Word doc using Office JS

喜欢而已 提交于 2020-07-08 05:53:09
问题 The Office JS has provided the following function in preview, but I couldn't find any example. Here is what I tried but it doesn't seem to work, any idea what I am missing here, since this code inserts the text but the bookmark is not created. Word.run(function (context) { let range = context.document.getSelection(); return context.sync().then(function () { range.insertText(`Test Bookmark`, Word.InsertLocation.replace); let uniqueStr = new Date().getTime(); let bookmarkName = `Test