|
|
|
IMarkupPointer2 Interface |
|
IID_IMarkupPointer2 |
{3050F675-98B5-11CF-BB82-00AA00BDCE0B} |
|
This interface provides methods that move a markup pointer within a markup container and gather information about the contents of the container.
|
|
Methods in VTable order |
|
|
IUnknown Methods |
Description |
|
QueryInterface |
Returns pointers to supported interfaces. |
|
AddRef |
Increments reference count. |
|
Release |
Decrements reference count. |
|
IMarkupPointer Methods |
Description |
|
OwningDoc |
Retrieves the top-level document associated with this object. |
|
Gravity |
Retrieves the gravity attribute of this pointer. |
|
SetGravity |
Sets the gravity attribute of this pointer. |
|
Cling |
Retrieves the cling attribute for this markup pointer. |
|
SetCling |
Sets or resets the cling attribute of a markup pointer. |
|
Unposition |
Resets the position of the pointer. |
|
IsPositioned |
Checks the position of the pointer. |
|
GetContainer |
Retrieves the container associated with this markup pointer. |
|
MoveAdjacentToElement |
Moves the pointer adjacent to an element. |
|
MoveToPointer |
Moves this pointer to another pointer's location. |
|
MoveToContainer |
Moves the pointer to a markup container. |
|
Left |
Inspects the content of the container to the left of the markup pointer and optionally moves the pointer one position to the left. |
|
Right |
Inspects the content of the container to the right of the markup pointer and optionally moves the pointer one position to the right. |
|
CurrentScope |
Retrieves the IHTMLElement positioned in this pointer. |
|
IsLeftOf |
Checks to see whether this pointer's position is to the left of another pointer's position. |
|
IsLeftOfOrEqualTo |
Checks to see whether this pointer's position is to the left of or is equal to another pointer's position. |
|
IsRightOf |
Checks to see whether this pointer's position is to the right of another pointer's position. |
|
IsRightOfOrEqualTo |
Checks to see whether this pointer's position is to the right of or is equal to another pointer's position. |
|
IsEqualTo |
Checks to see whether this pointer's position is equal to another pointer's position. |
|
MoveUnit |
Moves the pointer one unit. |
|
FindText |
Searches for specified text, from the current pointer's position to another pointer's position. |
|
IMarkupPointer2 Methods |
Description |
|
IsAtWordBreak |
Determines if the markup pointer is positioned at a word break. |
|
GetMarkupPosition |
Retrieves the position of a markup pointer. |
|
MoveToMarkupPosition |
Moves a markup pointer to a given position in a given markup container. |
|
MoveUnitBounded |
Moves a markup pointer to a specified location in a specified direction, but not past another given markup pointer. |
|
IsInsideURL |
Determines if a markup pointer is located inside of, at the beginning of, or at the end of text that is formatted as a URL. |
|
MoveToContent |
Moves a markup pointer to a particular element in a markup container. |
|
OwningDoc |
|
FUNCTION
IMarkupPointer2_OwningDoc ( _ |
|
Gravity |
|
FUNCTION
IMarkupPointer2_Gravity ( _ |
|
SetGravity |
|
FUNCTION
IMarkupPointer2_SetGravity ( _ |
|
Cling |
|
FUNCTION
IMarkupPointer2_Cling ( _ |
|
SetCling |
|
FUNCTION
IMarkupPointer2_SetCling ( _ |
|
Unposition |
|
FUNCTION
IMarkupPointer2_Unposition ( _ |
|
IsPositioned |
|
FUNCTION
IMarkupPointer2_IsPositioned ( _ |
|
GetContainer |
|
FUNCTION
IMarkupPointer2_GetContainer ( _ |
|
MoveAdjacentToElement |
|
FUNCTION
IMarkupPointer2_MoveAdjacentToElement ( _ |
|
MoveToPointer |
|
FUNCTION
IMarkupPointer2_MoveToPointer ( _ |
|
MoveToContainer |
|
FUNCTION
IMarkupPointer2_MoveToContainer ( _ |
|
Left |
|
DECLARE FUNCTION Proto_IMarkupPointer2_Left ( _
FUNCTION
IMarkupPointer2_Left ( _ LOCAL pchText AS DWORD LOCAL bstrlen AS LONG CALL DWORD @@pthis[14] USING Proto_IMarkupPointer2_Left (pthis, fMove, pContext, ppElement, pcch, pchText) TO HRESULT IF ISTRUE pchText THEN bstrlen = lstrlenW(BYVAL pchText) strText = PEEK$(pchText, bstrlen * 2) END IF CoTaskMemFree
pchText |
|
Right |
|
DECLARE FUNCTION Proto_IMarkupPointer2_Right ( _
FUNCTION
IMarkupPointer2_Right ( _ LOCAL pchText AS DWORD LOCAL bstrlen AS LONG CALL DWORD @@pthis[15] USING Proto_IMarkupPointer2_Right (pthis, fMove, pContext, ppElement, pcch, pchText) TO HRESULT IF ISTRUE pchText THEN bstrlen = lstrlenW(BYVAL pchText) strText = PEEK$(pchText, bstrlen * 2) END IF CoTaskMemFree
pchText |
|
CurrentScope |
|
FUNCTION
IMarkupPointer2_CurrentScope ( _ |
|
IsLeftOf |
|
FUNCTION
IMarkupPointer2_IsLeftOf ( _ |
|
IsLeftOfOrEqualTo |
|
FUNCTION
IMarkupPointer2_IsLeftOfOrEqualTo ( _ |
|
IsRightOf |
|
FUNCTION
IMarkupPointer2_IsRightOf ( _ |
|
IsRightOfOrEqualTo |
|
FUNCTION
IMarkupPointer2_IsRightOfOrEqualTo ( _ |
|
IsEqualTo |
|
FUNCTION
IMarkupPointer2_IsEqualTo ( _ |
|
MoveUnit |
|
FUNCTION
IMarkupPointer2_MoveUnit ( _ |
|
FindText |
|
FUNCTION
IMarkupPointer2_FindText ( _
strFindText = UCODE$(strFindText) &
$NUL |
|
IsAtWordBreak |
|
FUNCTION
IMarkupPointer2_IsAtWordBreak ( _ |
|
GetMarkupPosition |
|
FUNCTION
IMarkupPointer2_GetMarkupPosition ( _ |
|
MoveToMarkupPosition |
|
FUNCTION
IMarkupPointer2_MoveToMarkupPosition ( _ |
|
MoveUnitBounded |
|
FUNCTION
IMarkupPointer2_MoveUnitBounded ( _ |
|
IsInsideURL |
|
FUNCTION
IMarkupPointer2_IsInsideURL ( _ |
|
MoveToContent |
|
FUNCTION
IMarkupPointer2_MoveToContent ( _ |
Page last updated on Monday, 03 April 2006 20:00:32 +0200