ITextStoreACP interface (textstor.h)
The ITextStoreACP interface is implemented by the application and is used by the TSF manager to manipulate text streams or text stores in TSF. An application can obtain an instance of this interface with a call to the ITfDocumentMgr::CreateContext method. The interface ID is IID_ITextStoreACP.
This interface exposes text stores through an application character position (ACP) format. Applications that use an anchor-based format should use ITextStoreAnchor.
Inheritance
The ITextStoreACP interface inherits from the IUnknown interface. ITextStoreACP also has these types of members:
Methods
The ITextStoreACP interface has these methods.
ITextStoreACP::AdviseSink The ITextStoreACP::AdviseSink method installs a new advise sink from the ITextStoreACPSink interface or modifies an existing advise sink. The sink interface is specified by the punk parameter. |
ITextStoreACP::FindNextAttrTransition The ITextStoreACP::FindNextAttrTransition method determines the character position where a transition occurs in an attribute value. The specified attribute to check is application-dependent. |
ITextStoreACP::GetACPFromPoint The ITextStoreACP::GetACPFromPoint method converts a point in screen coordinates to an application character position. |
ITextStoreACP::GetActiveView The ITextStoreACP::GetActiveView method returns a TsViewCookie data type that specifies the current active view. |
ITextStoreACP::GetEmbedded Gets an embedded document. (ITextStoreACP.GetEmbedded) |
ITextStoreACP::GetEndACP The ITextStoreACP::GetEndACP method returns the number of characters in a document. |
ITextStoreACP::GetFormattedText The ITextStoreACP::GetFormattedText method returns formatted text data about a specified text string. The caller must have a read/write lock on the document before calling this method. |
ITextStoreACP::GetScreenExt The ITextStoreACP::GetScreenExt method returns the bounding box screen coordinates of the display surface where the text stream is rendered. |
ITextStoreACP::GetSelection The ITextStoreACP::GetSelection method returns the character position of a text selection in a document. This method supports multiple text selections. The caller must have a read-only lock on the document before calling this method. |
ITextStoreACP::GetStatus The ITextStoreACP::GetStatus method obtains the document status. The document status is returned through the TS_STATUS structure. |
ITextStoreACP::GetText The ITextStoreACP::GetText method returns information about text at a specified character position. This method returns the visible and hidden text and indicates if embedded data is attached to the text. |
ITextStoreACP::GetTextExt The ITextStoreACP::GetTextExt method returns the bounding box, in screen coordinates, of the text at a specified character position. The caller must have a read-only lock on the document before calling this method. |
ITextStoreACP::GetWnd The ITextStoreACP::GetWnd method returns the handle to a window that corresponds to the current document. |
ITextStoreACP::InsertEmbedded Inserts an embedded object at the specified character. (ITextStoreACP.InsertEmbedded) |
ITextStoreACP::InsertEmbeddedAtSelection The ITextStoreACP::InsertEmbeddedAtSelection method inserts an IDataObject object at the insertion point or selection. The client that calls this method must have a read/write lock before inserting an IDataObject object into the document. |
ITextStoreACP::InsertTextAtSelection The ITextStoreACP::InsertTextAtSelection method inserts text at the insertion point or selection. A caller must have a read/write lock on the document before inserting text. |
ITextStoreACP::QueryInsert The ITextStoreACP::QueryInsert method determines whether the specified start and end character positions are valid. |
ITextStoreACP::QueryInsertEmbedded Gets a value indicating whether the specified object can be inserted into the document. (ITextStoreACP.QueryInsertEmbedded) |
ITextStoreACP::RequestAttrsAtPosition Gets text attributes at the specified character position. (ITextStoreACP.RequestAttrsAtPosition) |
ITextStoreACP::RequestAttrsTransitioningAtPosition Gets text attributes transitioning at the specified character position. (ITextStoreACP.RequestAttrsTransitioningAtPosition) |
ITextStoreACP::RequestLock The ITextStoreACP::RequestLock method is called by the TSF manager to provide a document lock in order to modify the document. This method calls the ITextStoreACPSink::OnLockGranted method to create the document lock. |
ITextStoreACP::RequestSupportedAttrs Get the attributes that are supported in the document. (ITextStoreACP.RequestSupportedAttrs) |
ITextStoreACP::RetrieveRequestedAttrs Gets the attributes returned by a call to an attribute request method. (ITextStoreACP.RetrieveRequestedAttrs) |
ITextStoreACP::SetSelection The ITextStoreACP::SetSelection method selects text within the document. The application must have a read/write lock on the document before calling this method. |
ITextStoreACP::SetText The ITextStoreACP::SetText method sets the text selection to the supplied character positions. |
ITextStoreACP::UnadviseSink The ITextStoreACP::UnadviseSink method is called by an application to indicate that it no longer requires notifications from the TSF manager. The TSF manager will release the sink interface and stop notifications. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | textstor.h |
Redistributable | TSF 1.0 on Windows 2000 Professional |