目錄 / Table of Contents

Class OdfAutoFitOptions

Namespace
OdfKit.Styles
Assembly
OdfKit.dll

Configures bounded automatic width and height calculations. 設定具資源上限的自動寬度與高度計算。

public sealed class OdfAutoFitOptions
Inheritance
OdfAutoFitOptions
Inherited Members

Constructors

OdfAutoFitOptions()

public OdfAutoFitOptions()

Properties

DefaultColumnWidth

Gets or sets the fallback column width used while calculating wrapped row height. 取得或設定計算換行列高時使用的後備欄寬。

public OdfLength DefaultColumnWidth { get; set; }

Property Value

OdfLength

DefaultFontFamily

Gets or sets the fallback font family. 取得或設定後備字型家族。

public string DefaultFontFamily { get; set; }

Property Value

string

DefaultFontSizePoints

Gets or sets the fallback font size in points. 取得或設定後備字型大小(點)。

public double DefaultFontSizePoints { get; set; }

Property Value

double

HorizontalPadding

Gets or sets the fallback horizontal padding per cell. 取得或設定每個儲存格的後備水平留白。

public OdfLength HorizontalPadding { get; set; }

Property Value

OdfLength

MaximumCells

Gets or sets the maximum cells inspected by one operation. 取得或設定單次作業最多檢查的儲存格數。

public int MaximumCells { get; set; }

Property Value

int

MaximumColumnWidth

Gets or sets the maximum column width. 取得或設定最大欄寬。

public OdfLength MaximumColumnWidth { get; set; }

Property Value

OdfLength

MaximumEmbeddedFontBytes

Gets or sets the maximum total embedded font bytes registered by one layout operation. 取得或設定單次排版作業最多註冊的內嵌字型總位元組數。

public long MaximumEmbeddedFontBytes { get; set; }

Property Value

long

MaximumEmbeddedFonts

Gets or sets the maximum embedded fonts registered by one layout operation. 取得或設定單次排版作業最多註冊的內嵌字型數。

public int MaximumEmbeddedFonts { get; set; }

Property Value

int

MaximumMeasurementCacheEntries

Gets or sets the maximum operation-scoped measurement cache entries. 取得或設定單次作業量測快取的最大項目數。

public int MaximumMeasurementCacheEntries { get; set; }

Property Value

int

MaximumRichTextRuns

Gets or sets the maximum rich-text runs inspected by one operation. 取得或設定單次作業最多檢查的富文字片段數。

public int MaximumRichTextRuns { get; set; }

Property Value

int

MaximumRowHeight

Gets or sets the maximum row height. 取得或設定最大列高。

public OdfLength MaximumRowHeight { get; set; }

Property Value

OdfLength

MaximumTextElements

Gets or sets the maximum text elements inspected by one operation. 取得或設定單次作業最多檢查的文字元素數。

public int MaximumTextElements { get; set; }

Property Value

int

MaximumTextElementsPerBlock

Gets or sets the maximum text elements inspected in one text block. 取得或設定單一文字區塊最多檢查的文字元素數。

public int MaximumTextElementsPerBlock { get; set; }

Property Value

int

MinimumColumnWidth

Gets or sets the minimum column width. 取得或設定最小欄寬。

public OdfLength MinimumColumnWidth { get; set; }

Property Value

OdfLength

MinimumRowHeight

Gets or sets the minimum row height. 取得或設定最小列高。

public OdfLength MinimumRowHeight { get; set; }

Property Value

OdfLength

Mode

Gets or sets the measurement mode. 取得或設定量測模式。

public OdfAutoFitMode Mode { get; set; }

Property Value

OdfAutoFitMode

ResizeTextBoxHeight

Gets or sets whether automatic text-box layout may change its height. 取得或設定文字框自動排版是否可變更高度。

public bool ResizeTextBoxHeight { get; set; }

Property Value

bool

ResizeTextBoxWidth

Gets or sets whether automatic text-box layout may change its width. 取得或設定文字框自動排版是否可變更寬度。

public bool ResizeTextBoxWidth { get; set; }

Property Value

bool

TextMeasurer

Gets or sets the precise measurer used by Precise. 取得或設定 Precise 使用的精確量測器。

public IOdfTextLayoutMeasurer? TextMeasurer { get; set; }

Property Value

IOdfTextLayoutMeasurer

UseEmbeddedFonts

Gets or sets whether precise layout registers fonts embedded in the document. 取得或設定精確排版是否註冊文件內嵌字型。

public bool UseEmbeddedFonts { get; set; }

Property Value

bool

Remarks

Use an isolated document font context; the process-wide default context is rejected. 請使用文件專屬字型情境;處理程序共用的預設情境會被拒絕。

VerticalPadding

Gets or sets the fallback vertical padding per cell. 取得或設定每個儲存格的後備垂直留白。

public OdfLength VerticalPadding { get; set; }

Property Value

OdfLength