ITextStoreACP2 interface (textstor.h)
The ITextStoreACP2 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 CreateContext method. The interface ID is IID_ITextStoreACP2.
This interface exposes text stores through an application character position (ACP) format. Applications that use an anchor-based format should use ITextStoreAnchor.
Inheritance
The ITextStoreACP2 interface inherits from the IUnknown interface. ITextStoreACP2 also has these types of members:
Methods
The ITextStoreACP2 interface has these methods.
ITextStoreACP2::AdviseSink Installs a new advise sink from the ITextStoreACPSink interface or modifies an existing advise sink. The sink interface is specified by the punk parameter. |
ITextStoreACP2::FindNextAttrTransition Determines the character position where a transition occurs in an attribute value. The specified attribute to check is application-dependent. |
ITextStoreACP2::GetACPFromPoint Converts a point in screen coordinates to an application character position. |
ITextStoreACP2::GetActiveView Gets a TsViewCookie that represents the current active view. |
ITextStoreACP2::GetEmbedded Gets an embedded document. (ITextStoreACP2.GetEmbedded) |
ITextStoreACP2::GetEndACP Gets the number of characters in a document. |
ITextStoreACP2::GetFormattedText Gets formatted text data about a specified text string. The caller must have a read/write lock on the document before calling this method. |
ITextStoreACP2::GetScreenExt Gets the bounding box screen coordinates of the display surface where the text stream is rendered. |
ITextStoreACP2::GetSelection Gets 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. |
ITextStoreACP2::GetStatus Gets the document status. The document status is returned through the TS_STATUS structure. |
ITextStoreACP2::GetText Gets info 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. |
ITextStoreACP2::GetTextExt Gets 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. |
ITextStoreACP2::InsertEmbedded Inserts an embedded object at the specified character. (ITextStoreACP2.InsertEmbedded) |
ITextStoreACP2::InsertEmbeddedAtSelection Inserts an IDataObject 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. |
ITextStoreACP2::InsertTextAtSelection Inserts text at the insertion point or selection. A caller must have a read/write lock on the document before inserting text. |
ITextStoreACP2::QueryInsert Determines whether the specified start and end character positions are valid. Use this method to adjust an edit to a document before executing the edit. The method must not return values outside the range of the document. |
ITextStoreACP2::QueryInsertEmbedded Gets a value indicating whether the specified object can be inserted into the document. (ITextStoreACP2.QueryInsertEmbedded) |
ITextStoreACP2::RequestAttrsAtPosition Gets text attributes at the specified character position. (ITextStoreACP2.RequestAttrsAtPosition) |
ITextStoreACP2::RequestAttrsTransitioningAtPosition Gets text attributes transitioning at the specified character position. (ITextStoreACP2.RequestAttrsTransitioningAtPosition) |
ITextStoreACP2::RequestLock Called by the TSF manager to provide a document lock in order to modify the document. This method calls the OnLockGranted method to create the document lock. |
ITextStoreACP2::RequestSupportedAttrs Get the attributes that are supported in the document. (ITextStoreACP2.RequestSupportedAttrs) |
ITextStoreACP2::RetrieveRequestedAttrs Gets the attributes returned by a call to an attribute request method. (ITextStoreACP2.RetrieveRequestedAttrs) |
ITextStoreACP2::SetSelection Selects text within the document. The application must have a read/write lock on the document before calling this method. |
ITextStoreACP2::SetText Sets the text selection to the supplied character positions. |
ITextStoreACP2::UnadviseSink 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 8 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | textstor.h |