SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface IEmbeddedPart

    A document part carried on the model, together with the parts its own markup references.

    Some of what a spreadsheet contains is not one part but a small tree of them. A chart's markup names a style definition, a color definition, the shapes drawn on top of it, sometimes a whole embedded workbook holding its data; a form control names the part describing what kind of control it is. Each is named by relationship id, so a reference that does not come back makes the document unreadable rather than merely plainer. The whole subtree is carried rather than an enumerated few of it, which is what makes that impossible: nothing referenced can be missing, whether or not this version knows what it was for.

    The same shape describes every level, id and type being the edge from the part that references it.

    interface IEmbeddedPart {
        contentType?: string;
        id: string;
        name?: string;
        parts?: IEmbeddedPart[];
        resource?: IResource;
        type: string;
        xml?: string;
    }
    Index
    contentType?: string

    The content type.

    Carried because it cannot be derived: style1.xml and colors1.xml are both .xml and are different types, and a reader that gets this wrong is handed a part it cannot interpret.

    id: string

    The relationship id the referencing markup cites this part by.

    name?: string

    What the part was called where it was read from, so it can be called that again.

    parts?: IEmbeddedPart[]

    The parts this one's markup references.

    resource?: IResource

    The content, for a part that is not markup — an embedded workbook, an image.

    type: string

    The relationship type URI.

    xml?: string

    The markup, for a part that has any.

    Opaque: held as it was read and replayed unchanged, since what it describes has no model yet.