Skip to main content

Slide

PowerPoint.Slide. Import from @reductoai/pptx/officejs.

Slide properties

Slide.applyLayout()

Slide.delete()

Slide.exportAsBase64()

Office.js queues a ClientResult; the facade resolves the Base64 .pptx holding this slide.

Slide.getImageAsBase64()

Office.js queues a ClientResult; the facade resolves a Base64 PNG of the slide.

Slide.moveTo()

Slide.moveToSectionStart()

Extension (VBA Slide.MoveToSectionStart): the slide moves to the start of section sectionIndex.

SlideCollection

PowerPoint.SlideCollection. Import from @reductoai/pptx/officejs.

SlideCollection properties

SlideCollection.add()

Office.js returns nothing; the facade also returns the new slide. Without a layoutId the slide takes the first layout of the (first) master, as Office does.

SlideCollection.exportAsBase64Presentation()

Office.js queues a ClientResult; the facade resolves the Base64 .pptx holding the slides.

SlideCollection.getCount()

SlideCollection.getItem()

SlideCollection.getItemAt()

SlideCollection.getItemOrNullObject()

Office.js null-object variant; inspect isNullObject before other members.

AddSlideOptions

Import from @reductoai/pptx/officejs.

SlideLayout

PowerPoint.SlideLayout. Import from @reductoai/pptx/officejs.

SlideLayout properties

SlideLayout.delete()

Extension (VBA CustomLayout.Delete): throws while a slide uses the layout.

SlideLayoutCollection

PowerPoint.SlideLayoutCollection. Import from @reductoai/pptx/officejs.

SlideLayoutCollection properties

SlideLayoutCollection.add()

Extension (VBA CustomLayouts.Add): a “Custom Layout” at index (default: last) with the master’s title, date, footer and slide number placeholders, which keep the master’s geometry.

SlideLayoutCollection.getCount()

SlideLayoutCollection.getItem()

SlideLayoutCollection.getItemAt()

SlideLayoutCollection.getItemOrNullObject()

Office.js null-object variant; inspect isNullObject before other members.

SlideMaster

PowerPoint.SlideMaster. Import from @reductoai/pptx/officejs.

SlideMaster properties

SlideMaster.getLayoutByName()

Headless helper: the layout whose p:cSld@name is name (Office’s “Blank”, “Title Only”, …).

SlideMasterCollection

PowerPoint.SlideMasterCollection. Import from @reductoai/pptx/officejs.

SlideMasterCollection properties

SlideMasterCollection.getCount()

SlideMasterCollection.getItem()

SlideMasterCollection.getItemAt()

SlideMasterCollection.getItemOrNullObject()

Office.js null-object variant; inspect isNullObject before other members.