Table of Contents

Class OdfRuby

Namespace
OdfKit.Text
Assembly
OdfKit.dll

Represents a ruby layout entry used for East Asian phonetic annotations (furigana-style markup). 表示用於東亞注音(旁註標記)的 ruby 版面配置專案。

public class OdfRuby
Inheritance
OdfRuby
Inherited Members

Constructors

OdfRuby(OdfNode, TextDocument)

Represents a ruby layout entry used for East Asian phonetic annotations (furigana-style markup). 表示用於東亞注音(旁註標記)的 ruby 版面配置專案。

public OdfRuby(OdfNode node, TextDocument doc)

Parameters

node OdfNode

The underlying OdfNode. / 基礎的 OdfNode 節點。

doc TextDocument

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

Properties

Node

Gets the underlying ODF node representing the ruby entry. 取得表示 ruby 專案的基礎 ODF 節點。

public OdfNode Node { get; }

Property Value

OdfNode

RubyAlign

Gets or sets the ruby alignment (e.g. "left", "center", "right", "distribute-letter", "distribute-space"). 取得或設定 ruby 的對齊方式(例如 "left"、"center"、"right"、"distribute-letter"、"distribute-space")。

public string? RubyAlign { get; set; }

Property Value

string

RubyBaseNode

Gets the ruby base node. 取得 ruby 的基底節點。

public OdfNode? RubyBaseNode { get; }

Property Value

OdfNode

RubyBaseStyleName

Gets or sets the style name associated with the ruby base entry. 取得或設定與 ruby 基底專案關聯的樣式名稱。

public string? RubyBaseStyleName { get; set; }

Property Value

string

RubyPosition

Gets or sets the ruby position (e.g. "above" or "below"). 取得或設定 ruby 的位置(例如 "above" 或 "below")。

public string? RubyPosition { get; set; }

Property Value

string

RubyTextNode

Gets the ruby text node. 取得 ruby 的文字節點。

public OdfNode? RubyTextNode { get; }

Property Value

OdfNode

RubyTextStyleName

Gets or sets the style name associated with the ruby text entry. 取得或設定與 ruby 文字專案關聯的樣式名稱。

public string? RubyTextStyleName { get; set; }

Property Value

string

StyleName

Gets or sets the style name associated with the ruby entry. 取得或設定與 ruby 專案關聯的樣式名稱。

public string? StyleName { get; set; }

Property Value

string