Table of Contents

Class CitationEditingExtensions

Namespace
DocWright.Dom.Editing
Assembly
DocWright.Dom.dll

Phase 172 (WQ-0153): a document's sources, its citation style, citations and a bibliography, as Word's References

Citations & Bibliography edits them. The sources live in the document's b:Sources custom XML part (added, with its properties part and relationships, as Word adds it); a citation is a CITATION field in a citation content control; a bibliography is a BIBLIOGRAPHY field whose result is a paragraph per source. Each is one undo step.

public static class CitationEditingExtensions
Inheritance
CitationEditingExtensions
Inherited Members

Methods

AddSource(WordDocument, DocumentPosition, BibliographySource)

Adds a source to the document's list (Word's Create Source, Manage Sources > Copy). One undo step.

ChangeSource(WordDocument, DocumentPosition, BibliographySource)

Replaces a source (Word's Edit Source), by its tag; its citations and bibliography are updated. One undo step.

InsertBibliography(WordDocument, DocumentPosition)

Inserts the bibliography at a position (Word's Bibliography > Insert Bibliography): a BIBLIOGRAPHY field whose result is a paragraph per source in the document's style (the Bibliography style, a hanging indent). One undo step.

InsertCitation(WordDocument, DocumentPosition, CitationRequest)

Inserts a citation of a source at a position (Word's Insert Citation): a CITATION field in a citation content control, its result the citation in the document's style. One undo step.

ReadSources(WordDocument)

The document's sources and style.

RemoveSource(WordDocument, DocumentPosition, string)

Removes a source no citation names (Word's Manage Sources > Delete). One undo step.

SetBibliographyStyle(WordDocument, DocumentPosition, BibliographyStyle)

Sets the document's citation style (Word's References > Style); every citation and bibliography follows. One undo step.