docx
    Preparing search index...

    Class Bibliography

    A bibliography: the list of the document's sources, in the style of its citations, as Word's References > Bibliography inserts it. It lists every source of the document's bibliography, cited or not, and Word writes it again when it updates the document's fields, or when the style is changed.

    The document needs its sources: give it bibliography: createBibliography({ sources }).

    // As Word's built-in "References" bibliography: a heading, then the list
    new Bibliography({ title: "References" });

    Hierarchy (View Summary)

    Index
    fileChild: symbol = ...

    Marker property identifying this as a FileChild

    • get writtenAs(): readonly BaseXmlComponent[] | undefined
      Internal

      The components written in this one's place, one after another, when it can't be written as a single element, such as a run with another run in its children. Undefined when it is written as itself.

      Returns readonly BaseXmlComponent[] | undefined