ReactOS 0.4.16-dev-401-g45b008d
ITfRange Interface Reference
Inheritance diagram for ITfRange:
Collaboration diagram for ITfRange:

Classes

struct  TF_HALTCOND
 

Public Types

enum  TfGravity { TF_GRAVITY_BACKWARD = 0 , TF_GRAVITY_FORWARD = 1 }
 
enum  TfShiftDir { TF_SD_BACKWARD = 0 , TF_SD_FORWARD = 1 }
 
typedef struct ITfRange::TF_HALTCOND TF_HALTCOND
 
- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 

Public Member Functions

HRESULT GetText ([in] TfEditCookie ec, [in] DWORD dwFlags, [out, size_is(cchMax), length_is(*pcch)] WCHAR *pchText, [in] ULONG cchMax, [out] ULONG *pcch)
 
HRESULT SetText ([in] TfEditCookie ec, [in] DWORD dwFlags, [in, size_is(cch), unique] const WCHAR *pchText, [in] LONG cch)
 
HRESULT GetFormattedText ([in] TfEditCookie ec, [out] IDataObject **ppDataObject)
 
HRESULT GetEmbedded ([in] TfEditCookie ec, [in] REFGUID rguidService, [in] REFIID riid, [out, iid_is(riid)] IUnknown **ppunk)
 
HRESULT InsertEmbedded ([in] TfEditCookie ec, [in] DWORD dwFlags, [in] IDataObject *pDataObject)
 
HRESULT ShiftStart ([in] TfEditCookie ec, [in] LONG cchReq, [out] LONG *pcch, [in, unique] const TF_HALTCOND *pHalt)
 
HRESULT ShiftEnd ([in] TfEditCookie ec, [in] LONG cchReq, [out] LONG *pcch, [in, unique] const TF_HALTCOND *pHalt)
 
HRESULT ShiftStartToRange ([in] TfEditCookie ec, [in] ITfRange *pRange, [in] TfAnchor aPos)
 
HRESULT ShiftEndToRange ([in] TfEditCookie ec, [in] ITfRange *pRange, [in] TfAnchor aPos)
 
HRESULT ShiftStartRegion ([in] TfEditCookie ec, [in] TfShiftDir dir, [out] BOOL *pfNoRegion)
 
HRESULT ShiftEndRegion ([in] TfEditCookie ec, [in] TfShiftDir dir, [out] BOOL *pfNoRegion)
 
HRESULT IsEmpty ([in] TfEditCookie ec, [out] BOOL *pfEmpty)
 
HRESULT Collapse ([in] TfEditCookie ec, [in] TfAnchor aPos)
 
HRESULT IsEqualStart ([in] TfEditCookie ec, [in] ITfRange *pWith, [in] TfAnchor aPos, [out] BOOL *pfEqual)
 
HRESULT IsEqualEnd ([in] TfEditCookie ec, [in] ITfRange *pWith, [in] TfAnchor aPos, [out] BOOL *pfEqual)
 
HRESULT CompareStart ([in] TfEditCookie ec, [in] ITfRange *pWith, [in] TfAnchor aPos, [out] LONG *plResult)
 
HRESULT CompareEnd ([in] TfEditCookie ec, [in] ITfRange *pWith, [in] TfAnchor aPos, [out] LONG *plResult)
 
HRESULT AdjustForInsert ([in] TfEditCookie ec, [in] ULONG cchInsert, [out] BOOL *pfInsertOk)
 
HRESULT GetGravity ([out] TfGravity *pgStart, [out] TfGravity *pgEnd)
 
HRESULT SetGravity ([in] TfEditCookie ec, [in] TfGravity gStart, [in] TfGravity gEnd)
 
HRESULT Clone ([out] ITfRange **ppClone)
 
HRESULT GetContext ([out] ITfContext **ppContext)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 

Public Attributes

const WCHAR TF_CHAR_EMBEDDED = TS_CHAR_EMBEDDED
 
const DWORD TF_HF_OBJECT = 1
 
const DWORD TF_TF_MOVESTART = 1
 
const DWORD TF_TF_IGNOREEND = 2
 
const DWORD TF_ST_CORRECTION = 1
 
const DWORD TF_IE_CORRECTION = 1
 

Detailed Description

Definition at line 1311 of file msctf.idl.

Member Typedef Documentation

◆ TF_HALTCOND

Member Enumeration Documentation

◆ TfGravity

Enumerator
TF_GRAVITY_BACKWARD 
TF_GRAVITY_FORWARD 

Definition at line 1315 of file msctf.idl.

@ TF_GRAVITY_FORWARD
Definition: msctf.idl:1315
@ TF_GRAVITY_BACKWARD
Definition: msctf.idl:1315

◆ TfShiftDir

Enumerator
TF_SD_BACKWARD 
TF_SD_FORWARD 

Definition at line 1317 of file msctf.idl.

@ TF_SD_FORWARD
Definition: msctf.idl:1317
@ TF_SD_BACKWARD
Definition: msctf.idl:1317

Member Function Documentation

◆ AdjustForInsert()

HRESULT ITfRange::AdjustForInsert ( [in] TfEditCookie  ec,
[in] ULONG  cchInsert,
[out] BOOL pfInsertOk 
)

◆ Clone()

HRESULT ITfRange::Clone ( [out] ITfRange **  ppClone)

◆ Collapse()

HRESULT ITfRange::Collapse ( [in] TfEditCookie  ec,
[in] TfAnchor  aPos 
)

◆ CompareEnd()

HRESULT ITfRange::CompareEnd ( [in] TfEditCookie  ec,
[in] ITfRange pWith,
[in] TfAnchor  aPos,
[out] LONG plResult 
)

◆ CompareStart()

HRESULT ITfRange::CompareStart ( [in] TfEditCookie  ec,
[in] ITfRange pWith,
[in] TfAnchor  aPos,
[out] LONG plResult 
)

◆ GetContext()

HRESULT ITfRange::GetContext ( [out] ITfContext **  ppContext)

◆ GetEmbedded()

HRESULT ITfRange::GetEmbedded ( [in] TfEditCookie  ec,
[in] REFGUID  rguidService,
[in] REFIID  riid,
[out, iid_is(riid)] IUnknown **  ppunk 
)

◆ GetFormattedText()

HRESULT ITfRange::GetFormattedText ( [in] TfEditCookie  ec,
[out] IDataObject **  ppDataObject 
)

◆ GetGravity()

HRESULT ITfRange::GetGravity ( [out] TfGravity pgStart,
[out] TfGravity pgEnd 
)

◆ GetText()

HRESULT ITfRange::GetText ( [in] TfEditCookie  ec,
[in] DWORD  dwFlags,
[out, size_is(cchMax), length_is(*pcch)] WCHAR pchText,
[in] ULONG  cchMax,
[out] ULONG pcch 
)

◆ InsertEmbedded()

HRESULT ITfRange::InsertEmbedded ( [in] TfEditCookie  ec,
[in] DWORD  dwFlags,
[in] IDataObject pDataObject 
)

◆ IsEmpty()

HRESULT ITfRange::IsEmpty ( [in] TfEditCookie  ec,
[out] BOOL pfEmpty 
)

◆ IsEqualEnd()

HRESULT ITfRange::IsEqualEnd ( [in] TfEditCookie  ec,
[in] ITfRange pWith,
[in] TfAnchor  aPos,
[out] BOOL pfEqual 
)

◆ IsEqualStart()

HRESULT ITfRange::IsEqualStart ( [in] TfEditCookie  ec,
[in] ITfRange pWith,
[in] TfAnchor  aPos,
[out] BOOL pfEqual 
)

◆ SetGravity()

HRESULT ITfRange::SetGravity ( [in] TfEditCookie  ec,
[in] TfGravity  gStart,
[in] TfGravity  gEnd 
)

◆ SetText()

HRESULT ITfRange::SetText ( [in] TfEditCookie  ec,
[in] DWORD  dwFlags,
[in, size_is(cch), unique] const WCHAR pchText,
[in] LONG  cch 
)

◆ ShiftEnd()

HRESULT ITfRange::ShiftEnd ( [in] TfEditCookie  ec,
[in] LONG  cchReq,
[out] LONG pcch,
[in, unique] const TF_HALTCOND pHalt 
)

◆ ShiftEndRegion()

HRESULT ITfRange::ShiftEndRegion ( [in] TfEditCookie  ec,
[in] TfShiftDir  dir,
[out] BOOL pfNoRegion 
)

◆ ShiftEndToRange()

HRESULT ITfRange::ShiftEndToRange ( [in] TfEditCookie  ec,
[in] ITfRange pRange,
[in] TfAnchor  aPos 
)

◆ ShiftStart()

HRESULT ITfRange::ShiftStart ( [in] TfEditCookie  ec,
[in] LONG  cchReq,
[out] LONG pcch,
[in, unique] const TF_HALTCOND pHalt 
)

◆ ShiftStartRegion()

HRESULT ITfRange::ShiftStartRegion ( [in] TfEditCookie  ec,
[in] TfShiftDir  dir,
[out] BOOL pfNoRegion 
)

◆ ShiftStartToRange()

HRESULT ITfRange::ShiftStartToRange ( [in] TfEditCookie  ec,
[in] ITfRange pRange,
[in] TfAnchor  aPos 
)

Member Data Documentation

◆ TF_CHAR_EMBEDDED

const WCHAR ITfRange::TF_CHAR_EMBEDDED = TS_CHAR_EMBEDDED

Definition at line 1313 of file msctf.idl.

◆ TF_HF_OBJECT

const DWORD ITfRange::TF_HF_OBJECT = 1

Definition at line 1319 of file msctf.idl.

◆ TF_IE_CORRECTION

const DWORD ITfRange::TF_IE_CORRECTION = 1

Definition at line 1323 of file msctf.idl.

◆ TF_ST_CORRECTION

const DWORD ITfRange::TF_ST_CORRECTION = 1

Definition at line 1322 of file msctf.idl.

◆ TF_TF_IGNOREEND

const DWORD ITfRange::TF_TF_IGNOREEND = 2

Definition at line 1321 of file msctf.idl.

◆ TF_TF_MOVESTART

const DWORD ITfRange::TF_TF_MOVESTART = 1

Definition at line 1320 of file msctf.idl.


The documentation for this interface was generated from the following file: