Table of Contents

Class OdfExternalLinkManager

Namespace
OdfKit.Spreadsheet
Assembly
OdfKit.dll

Manages the external document loading delegate and local cache for cross-document spreadsheet formula references. 管理試算表跨文件公式引用的外部文件載入委派與本地快取。

public sealed class OdfExternalLinkManager
Inheritance
OdfExternalLinkManager
Inherited Members

Constructors

OdfExternalLinkManager()

public OdfExternalLinkManager()

Properties

DocumentResolver

Gets or sets the external document loading delegate. The parameter is the document identifier from the formula reference, such as file:///other.ods. 取得或設定外部文件載入委派。參數為公式參照中的文件識別碼,例如 file:///other.ods

public Func<string, SpreadsheetDocument?>? DocumentResolver { get; set; }

Property Value

Func<string, SpreadsheetDocument>

Methods

ClearCache()

Clears all external cell caches. 清除所有外部儲存格快取。

public void ClearCache()

SetCachedValue(string, string, OdfCellAddress, object?)

Sets a cached external cell value. 設定外部儲存格快取值。

public void SetCachedValue(string documentId, string sheetName, OdfCellAddress address, object? value)

Parameters

documentId string

The external document identifier. / 外部文件識別碼。

sheetName string

The external sheet name. / 外部工作表名稱。

address OdfCellAddress

The external cell address. / 外部儲存格位址。

value object

The cached value. / 快取值。