Class OdsCellPatch
- Namespace
- OdfKit.Spreadsheet
- Assembly
- OdfKit.dll
Describes one bounded cell replacement for OdsSparseEditor. 描述 OdsSparseEditor 的單一有界儲存格取代項目。
public sealed class OdsCellPatch
- Inheritance
-
OdsCellPatch
- Inherited Members
Constructors
OdsCellPatch()
public OdsCellPatch()
Properties
Annotation
Gets or sets an annotation to add or replace, or null to preserve the current annotation. 取得或設定要新增或取代的批注;null 表示保留目前批注。
public OdfCellAnnotation? Annotation { get; set; }
Property Value
AutomaticStyle
Gets or sets a bounded automatic cell style to create and apply. 取得或設定要建立並套用的有界 automatic cell style。
public OdsSparseAutomaticCellStyle? AutomaticStyle { get; set; }
Property Value
Column
Gets or sets the zero-based column index. 取得或設定以零為起點的欄索引。
public int Column { get; set; }
Property Value
ColumnSpan
Gets or sets the number of columns merged from the target cell. 取得或設定自目標儲存格起合併的欄數。
public int ColumnSpan { get; set; }
Property Value
Formula
Gets or sets the replacement ODF formula, or null to preserve the current formula. 取得或設定取代用 ODF 公式;null 表示保留目前公式。
public string? Formula { get; set; }
Property Value
MergeMode
Gets or sets how the patch changes an existing merged range. 取得或設定修補如何變更既有合併範圍。
public OdsSparseMergeMode MergeMode { get; set; }
Property Value
RemoveAnnotation
Gets or sets whether the current cell annotation is removed. 取得或設定是否移除目前的儲存格批注。
public bool RemoveAnnotation { get; set; }
Property Value
Row
Gets or sets the zero-based row index. 取得或設定以零為起點的列索引。
public int Row { get; set; }
Property Value
RowSpan
Gets or sets the number of rows merged from the target cell. 取得或設定自目標儲存格起合併的列數。
public int RowSpan { get; set; }
Property Value
SheetName
Gets or sets the worksheet name. 取得或設定工作表名稱。
public string SheetName { get; set; }
Property Value
StyleName
Gets or sets an existing cell style name, or null to preserve the current style. 取得或設定既有儲存格樣式名稱;null 表示保留目前樣式。
public string? StyleName { get; set; }
Property Value
Text
Gets or sets the replacement text, or null to preserve the current value. 取得或設定取代文字;null 表示保留目前值。
public string? Text { get; set; }