Skip to content

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.


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? ​

optional notes?: ExtractedNotes

The slide's speaker notes, or undefined when it has none. Carried as a ready <p:notes> part body plus its external hyperlink 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: object[]

Internal slide-to-slide links: the rId used in xml → 1-based source slide number.

rId ​

rId: number

sourceSlideNumber ​

sourceSlideNumber: number


xml ​

xml: string

Standalone <p:sld> part body (XML declaration + namespaces included).