Table of Contents

Class OdfBibliography

Namespace
OdfKit.Text
Assembly
OdfKit.dll

Represents a bibliography in an ODF document. 表示 ODF 文件中的文獻目錄。

public class OdfBibliography : OdfIndex
Inheritance
OdfBibliography
Inherited Members

Constructors

OdfBibliography(OdfNode, TextDocument)

Initializes a new instance of the OdfBibliography class. 初始化 OdfBibliography 類別的新執行個體。

public OdfBibliography(OdfNode node, TextDocument doc)

Parameters

node OdfNode

The OdfNode of the bibliography. / 文獻目錄的 OdfNode 節點。

doc TextDocument

The owning text document. / 所屬的文字文件。

Methods

AddEntryTemplate(string, string)

Adds an entry template for the bibliography. 新增文獻目錄專案範本。

public OdfBibliographyTemplateBuilder AddEntryTemplate(string bibType, string styleName)

Parameters

bibType string

The bibliography type. / 文獻類型。

styleName string

The style name. / 樣式名稱。

Returns

OdfBibliographyTemplateBuilder

An OdfBibliographyTemplateBuilder instance for constructing the bibliography template. / 用於建構文獻範本的 OdfBibliographyTemplateBuilder 執行個體。

GetSourceLocalName()

Gets the XML local name of the bibliography source node. 取得文獻目錄來源節點的 XML 本地名稱。

protected override string GetSourceLocalName()

Returns

string

The XML local name. / XML 本地名稱。

Update()

Updates the content of the bibliography. 更新文獻目錄的內容。

public override void Update()