Share via


ITextStoreAnchorSink 介面 (textstor.h)

ITextStoreAnchorSink 介面是由 TSF 管理員實作,並由錨點型應用程式用來在發生特定事件時通知管理員。 管理員會呼叫 ITextStoreAnchor::AdviseSink 來安裝此建議接收。

介面標識碼IID_ITextStoreAnchorSink。

繼承

ITextStoreAnchorSink 介面繼承自 IUnknown 介面。 ITextStoreAnchorSink 也有下列類型的成員:

方法

ITextStoreAnchorSink 介面具有這些方法。

 
ITextStoreAnchorSink::OnAttrsChange

當一或多個文字屬性的值變更時,會呼叫 ITextStoreAnchorSink::OnAttrsChange 方法。
ITextStoreAnchorSink::OnEndEditTransaction

ITextStoreAnchorSink::OnEndEditTransaction 方法
ITextStoreAnchorSink::OnLayoutChange

當畫面) 上的版面配置 (文件變更時,會呼叫 ITextStoreAnchorSink::OnLayoutChange 方法。
ITextStoreAnchorSink::OnLockGranted

ITextStoreAnchorSink::OnLockGranted 方法
ITextStoreAnchorSink::OnSelectionChange

當文字數據流內的選取範圍變更時,會呼叫 ITextStoreAnchorSink::OnSelectionChange 方法。 每當 ITextStoreAnchor::GetSelection 的傳回值變更時,應該呼叫這個方法。
ITextStoreAnchorSink::OnStartEditTransaction

ITextStoreAnchorSink::OnStartEditTransaction 方法
ITextStoreAnchorSink::OnStatusChange

ITextStoreAnchorSink::OnStatusChange 方法
ITextStoreAnchorSink::OnTextChange

ITextStoreAnchorSink::OnTextChange 方法

規格需求

需求
最低支援的用戶端 Windows 2000 專業版 [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 Windows 2000 Server [傳統型應用程式 |UWP 應用程式]
目標平台 Windows
標頭 textstor.h
可轉散發套件 Windows 2000 專業版上的 TSF 1.0

另請參閱

檔鎖定

ITextStoreAnchor

ITextStoreAnchor::AdviseSink

IUnknown

文字存放區