Questions tagged [powerpoint-web-addins]
29 questions
0
votes
1 answer
Is it possible to create a new PowerPoint presentation using office-js in the same window?
I use PowerPoint.createPresentation(base64) method in order to create a presentation.
But it is opened in a new window (new tab for web, new instance of PP for desktop). Is it possible to open a presentation in the same window?

emp
- 117
- 2
- 6
0
votes
1 answer
Changes form a master slide are not applied for web Powerpoint
I try to change a text in a shape on a master slide with code:
PowerPoint.run(function(context) {
var masterSlideShape = context.presentation.slideMasters.getItemAt(0).shapes.getItemAt(5);
masterSlideShape .textFrame.textRange.text = 'Some…

emp
- 117
- 2
- 6
0
votes
1 answer
PowerPoint JS API: insert an image and set the title at the same time
I am using Script Lab to build my add-in for PowerPoint on the web. I want to insert some images and encode extra information for each image in the title. The information I want to store depends on the content of the images.
From the example…

IvanaGyro
- 598
- 7
- 25
0
votes
0 answers
Create an installer for a PowerPoint Add-In for Windows
Compared to sideloading an office add-in in MacOS the process in Windows is rather complicated. Too complicated for external beta testers.
I would like to create an installer executable that sideloads the add-in. The add-in is just a static…

Johannes G
- 31
- 2
0
votes
1 answer
How to publish office Addin Manifest file into Ms Store
How to publish a Powerpoint Addin in MS Store?

At Work
- 29
- 2
0
votes
0 answers
OfficeJS PowerPoint question about Slide properties
It seems to me that officeJS powerpoint API is quite limited. Is there a way to get properties of a slide? For example, getting the height and width of a slide?
I have tried
let parentSlide = shape.getParentSlide().load()
await context.sync()
…

OliveAvocado
- 1
- 1
0
votes
1 answer
Is there a way to prevent a content add-in from getting focus when in present mode?
I'm using the office.js (javascript) and powerpoint api and I'm wondering if there is a way to prevent the content add-in element from getting focused while presenting?
While presenting a slide containing my content add-in, a mouse click inside the…

user20000939
- 1
- 1
0
votes
1 answer
Can I edit table in powpoint by office-js now?
I want to reshape all selected items in PowerPoint by office-js.
But all the table's shape.type are "Unsupported" and the code below can not change the table width.
async function resizeSelectedShapes() {
await PowerPoint.run(async (context) => {
…

PaleNeutron
- 2,543
- 4
- 25
- 43
0
votes
0 answers
How can I convert a PowerPoint Add-in (ppam) to XML file
I have a PowerPoint Add-in with ppam format. However, in order to deploy it I need a XML file.
If this is possible, can you please explain the steps?
Thanks in advance.
If the pptm file is the way to go, please let me know. I could try that too...

parisa
- 21
- 1
0
votes
0 answers
How to render videos in PowerPoint slide in Add-ins using Unsplash API (JavaScript)?
const btnClickVideo = async (Videourl:any) => {
console.log("video Onclicked",Videourl)
const resp = await VideoApi.getVideo(Videourl);
console.log("clicked in video")
console.log("video resp", resp);
};
0
votes
0 answers
What is the best way to retrieve all text on a slide using the powerpoint-js API?
I'm looking to collect all of the text that is on a slide using the new office-js APIs obviously focusing on the powerpoint API here. The data I'm looking for is all the way down in:…

Brock Lumbard
- 23
- 4
0
votes
1 answer
How can i open a powerpoint presentation using Powerpoint.createPresentation with a custom title
I'm using PowerPoint.createPresentation to open a new presentation from my officejs addin.
For the PowerPoint.createPresentation i pass the base64 value of another presentation, where i can use Aspose to change the data.
The newly opened…

Sebastian Vasile
- 1
- 2
-1
votes
1 answer
Side loading powerpoint add-in with manifest.xml file on mac
I am working on a mac and have built an add-in for ms powerpoint. Office 365 family
App is deployed on azure.
Everything worked when i sideloaded using npm start and node server / localhost but I am now trying to sideload the add-in just using the…

reautomation
- 9
- 1
-1
votes
2 answers
Handle for close event of PowerPoint app in the add-in (JS)
I was looking for a way to handle the closing event of the PowerPoint when developing an Add-in.
The only ones that were a bit close was the fact that we can detect the visibility change of the add-in with
Office.addin.onVisibilityModeChanged((args)…

user1532809
- 21
- 5