ホーム › UI.Controls.RichEdit › ITextDocument2
ITextDocument2
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 44
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
| vtbl | メソッド |
|---|---|
| 26 | HRESULT GetCaretType(INT* pValue) |
| 27 | HRESULT SetCaretType(INT Value) |
| 28 | HRESULT GetDisplays(ITextDisplays** ppDisplays) |
| 29 | HRESULT GetDocumentFont(ITextFont2** ppFont) |
| 30 | HRESULT SetDocumentFont(ITextFont2* pFont) |
| 31 | HRESULT GetDocumentPara(ITextPara2** ppPara) |
| 32 | HRESULT SetDocumentPara(ITextPara2* pPara) |
| 33 | HRESULT GetEastAsianFlags(tomConstants* pFlags) |
| 34 | HRESULT GetGenerator(LPWSTR* pbstr) |
| 35 | HRESULT SetIMEInProgress(INT Value) |
| 36 | HRESULT GetNotificationMode(INT* pValue) |
| 37 | HRESULT SetNotificationMode(INT Value) |
| 38 | HRESULT GetSelection2(ITextSelection2** ppSel) |
| 39 | HRESULT GetStoryRanges2(ITextStoryRanges2** ppStories) |
| 40 | HRESULT GetTypographyOptions(INT* pOptions) |
| 41 | HRESULT GetVersion(INT* pValue) |
| 42 | HRESULT GetWindow(LONGLONG* pHwnd) |
| 43 | HRESULT AttachMsgFilter(IUnknown* pFilter) |
| 44 | HRESULT CheckTextLimit(INT cch, INT* pcch) |
| 45 | HRESULT GetCallManager(IUnknown** ppVoid) |
| 46 | HRESULT GetClientRect(tomConstants Type, INT* pLeft, INT* pTop, INT* pRight, INT* pBottom) |
| 47 | HRESULT GetEffectColor(INT Index, INT* pValue) |
| 48 | HRESULT GetImmContext(LONGLONG* pContext) |
| 49 | HRESULT GetPreferredFont(INT cp, INT CharRep, INT Options, INT curCharRep, INT curFontSize, LPWSTR* pbstr, INT* pPitchAndFamily, INT* pNewFontSize) |
| 50 | HRESULT GetProperty(INT Type, INT* pValue) |
| 51 | HRESULT GetStrings(ITextStrings** ppStrs) |
| 52 | HRESULT Notify(INT Notify) |
| 53 | HRESULT Range2(INT cpActive, INT cpAnchor, ITextRange2** ppRange) |
| 54 | HRESULT RangeFromPoint2(INT x, INT y, INT Type, ITextRange2** ppRange) |
| 55 | HRESULT ReleaseCallManager(IUnknown* pVoid) |
| 56 | HRESULT ReleaseImmContext(LONGLONG Context) |
| 57 | HRESULT SetEffectColor(INT Index, INT Value) |
| 58 | HRESULT SetProperty(INT Type, INT Value) |
| 59 | HRESULT SetTypographyOptions(INT Options, INT Mask) |
| 60 | HRESULT SysBeep() |
| 61 | HRESULT Update(INT Value) |
| 62 | HRESULT UpdateWindow() |
| 63 | HRESULT GetMathProperties(INT* pOptions) |
| 64 | HRESULT SetMathProperties(INT Options, INT Mask) |
| 65 | HRESULT GetActiveStory(ITextStory** ppStory) |
| 66 | HRESULT SetActiveStory(ITextStory* pStory) |
| 67 | HRESULT GetMainStory(ITextStory** ppStory) |
| 68 | HRESULT GetNewStory(ITextStory** ppStory) |
| 69 | HRESULT GetStory(INT Index, ITextStory** ppStory) |