Interface: ExtractedSlide
One authored slide, extracted from a generator for injection into an existing package. The slide body XML references its media/hyperlinks by relationship id only, so Presentation.appendSlides preserves each rId and only repoints its target (see SlideSource).
Properties
avMedia
avMedia:
AvMediaItem[]
Embedded audio/video the body references. Each item is one media binary backed by two rels sharing a Target, the ECMA audio/video rel (mediaRid) and the MS-2007 media rel (msMediaRid), plus a separate preview image rel (previewRid). Presentation.appendSlides reproduces this rel graph.
charts
charts:
ExtractedChart[]
Charts the body references, keyed by the rId used in xml. Each carries the chart part XML and its embedded workbook bytes; the chart part's own .rels (workbook reference) is rebuilt by Presentation.appendSlides.
comments?
optionalcomments?:object[]
The slide's legacy review comments, as addComment stored them (x/y in inches), or undefined when it has none. Nothing in xml names them: they live in a comments part of their own, under authors in the deck-wide commentAuthors.xml. Presentation.appendSlides creates the part and merges the authors into the destination's registry.
author
author:
string
date?
optionaldate?:string
initials
initials:
string
text
text:
string
x
x:
number
y
y:
number
hyperlinks
hyperlinks:
object[]
External hyperlink rels, keyed by the rId used in xml.
rId
rId:
number
target
target:
string
media
media:
object[]
Image media the body references, keyed by the rId used in xml.
bytes
bytes:
Uint8Array
contentType
contentType:
string
extn
extn:
string
rId
rId:
number
notes?
optionalnotes?:ExtractedNotes
The slide's speaker notes, or undefined when it has none. Carried as a ready <p:notes> part body plus its hyperlink and slide-link rels; Presentation.appendSlides creates the notes part, wires it to the appended slide, and binds it to a notes master (see ExtractedSlides.notesMaster).
onlineMedia
onlineMedia:
OnlineMediaItem[]
Online (external-link) video the body references. Each item is two external rels sharing one link Target, the ECMA video rel (mediaRid) and the MS-2007 media rel (msMediaRid), with no media binary part. The poster frame is a normal image rel carried by media. Presentation.appendSlides wires the two external rels without reserving a media part or content type.
slideLinks
slideLinks:
object[]
Internal slide-to-slide links: the rId used in xml → 1-based source slide number.
rId
rId:
number
sourceSlideNumber
sourceSlideNumber:
number
transitionSound?
optionaltransitionSound?:object
The transition's start sound (p:sndAc/p:stSnd/p:snd), or undefined when the slide has none. One audio part behind an audio rel, keyed by the rId the body's p:snd r:embed uses. Presentation.appendSlides adds the part and the rel.
bytes
bytes:
Uint8Array
contentType
contentType:
string
extn
extn:
string
rId
rId:
number
xml
xml:
string
Standalone <p:sld> part body (XML declaration + namespaces included).