Table of Contents

Class OdfParagraphStyleProxy

Namespace
OdfKit.Styles
Assembly
OdfKit.dll

Provides the OdfParagraphStyleProxy API. 實作文字段落的樣式代理 Facade,提供對齊、行距與縮排等高階樣式屬性讀寫。

public sealed class OdfParagraphStyleProxy
Inheritance
OdfParagraphStyleProxy
Inherited Members

Constructors

OdfParagraphStyleProxy(OdfParagraph)

Performs odf paragraph style proxy. 初始化 OdfParagraphStyleProxy 類別的新執行個體。

public OdfParagraphStyleProxy(OdfParagraph paragraph)

Parameters

paragraph OdfParagraph

目標段落

Properties

Alignment

Provides the member member. 取得或設定段落的水平對齊方式。

public string? Alignment { get; set; }

Property Value

string

LineSpacing

Provides the member member. 取得或設定段落的行高/行距(對應 fo:line-height 屬性)。

public string? LineSpacing { get; set; }

Property Value

string

MarginBottom

Provides the member member. 取得或設定段落下方間距(對應 fo:margin-bottom 屬性)。

public string? MarginBottom { get; set; }

Property Value

string

MarginLeft

Provides the member member. 取得或設定段落的左邊界縮排距離(對應 fo:margin-left 屬性)。

public string? MarginLeft { get; set; }

Property Value

string

MarginRight

Provides the member member. 取得或設定段落的右邊界縮排距離(對應 fo:margin-right 屬性)。

public string? MarginRight { get; set; }

Property Value

string

MarginTop

Provides the member member. 取得或設定段落上方間距(對應 fo:margin-top 屬性)。

public string? MarginTop { get; set; }

Property Value

string

TextIndent

Provides the member member. 取得或設定段落首行縮排(對應 fo:text-indent 屬性)。

public string? TextIndent { get; set; }

Property Value

string