#define global IID_ITextRange2 "{C241F5E2-7206-11D8-A2C7-00A0D1D6C6B3}"
#usecom global ITextRange2 IID_ITextRange2 "{}"
#comfunc global ITextRange2_GetCch 68 var
#comfunc global ITextRange2_GetCells 69 sptr
#comfunc global ITextRange2_GetColumn 70 sptr
#comfunc global ITextRange2_GetCount 71 var
#comfunc global ITextRange2_GetDuplicate2 72 sptr
#comfunc global ITextRange2_GetFont2 73 sptr
#comfunc global ITextRange2_SetFont2 74 sptr
#comfunc global ITextRange2_GetFormattedText2 75 sptr
#comfunc global ITextRange2_SetFormattedText2 76 sptr
#comfunc global ITextRange2_GetGravity 77 var
#comfunc global ITextRange2_SetGravity 78 int
#comfunc global ITextRange2_GetPara2 79 sptr
#comfunc global ITextRange2_SetPara2 80 sptr
#comfunc global ITextRange2_GetRow 81 sptr
#comfunc global ITextRange2_GetStartPara 82 var
#comfunc global ITextRange2_GetTable 83 sptr
#comfunc global ITextRange2_GetURL 84 var
#comfunc global ITextRange2_SetURL 85 wstr
#comfunc global ITextRange2_AddSubrange 86 int,int,int
#comfunc global ITextRange2_BuildUpMath 87 int
#comfunc global ITextRange2_DeleteSubrange 88 int,int
#comfunc global ITextRange2_Find 89 sptr,int,int,var
#comfunc global ITextRange2_GetChar2 90 var,int
#comfunc global ITextRange2_GetDropCap 91 var,var
#comfunc global ITextRange2_GetInlineObject 92 var,var,var,var,var,var,var,var,var
#comfunc global ITextRange2_GetProperty 93 int,var
#comfunc global ITextRange2_GetRect 94 int,var,var,var,var,var
#comfunc global ITextRange2_GetSubrange 95 int,var,var
#comfunc global ITextRange2_GetText2 96 int,var
#comfunc global ITextRange2_HexToUnicode 97
#comfunc global ITextRange2_InsertTable 98 int,int,int
#comfunc global ITextRange2_Linearize 99 int
#comfunc global ITextRange2_SetActiveSubrange 100 int,int
#comfunc global ITextRange2_SetDropCap 101 int,int
#comfunc global ITextRange2_SetProperty 102 int,int
#comfunc global ITextRange2_SetText2 103 int,wstr
#comfunc global ITextRange2_UnicodeToHex 104
#comfunc global ITextRange2_SetInlineObject 105 int,int,int,int,int,int,int,int
#comfunc global ITextRange2_GetMathFunctionType 106 wstr,var
#comfunc global ITextRange2_InsertImage 107 int,int,int,int,wstr,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_ITextRange2 "{C241F5E2-7206-11D8-A2C7-00A0D1D6C6B3}"
#usecom global ITextRange2 IID_ITextRange2 "{}"
#comfunc global ITextRange2_GetCch 68 sptr
#comfunc global ITextRange2_GetCells 69 sptr
#comfunc global ITextRange2_GetColumn 70 sptr
#comfunc global ITextRange2_GetCount 71 sptr
#comfunc global ITextRange2_GetDuplicate2 72 sptr
#comfunc global ITextRange2_GetFont2 73 sptr
#comfunc global ITextRange2_SetFont2 74 sptr
#comfunc global ITextRange2_GetFormattedText2 75 sptr
#comfunc global ITextRange2_SetFormattedText2 76 sptr
#comfunc global ITextRange2_GetGravity 77 sptr
#comfunc global ITextRange2_SetGravity 78 int
#comfunc global ITextRange2_GetPara2 79 sptr
#comfunc global ITextRange2_SetPara2 80 sptr
#comfunc global ITextRange2_GetRow 81 sptr
#comfunc global ITextRange2_GetStartPara 82 sptr
#comfunc global ITextRange2_GetTable 83 sptr
#comfunc global ITextRange2_GetURL 84 sptr
#comfunc global ITextRange2_SetURL 85 wstr
#comfunc global ITextRange2_AddSubrange 86 int,int,int
#comfunc global ITextRange2_BuildUpMath 87 int
#comfunc global ITextRange2_DeleteSubrange 88 int,int
#comfunc global ITextRange2_Find 89 sptr,int,int,sptr
#comfunc global ITextRange2_GetChar2 90 sptr,int
#comfunc global ITextRange2_GetDropCap 91 sptr,sptr
#comfunc global ITextRange2_GetInlineObject 92 sptr,sptr,sptr,sptr,sptr,sptr,sptr,sptr,sptr
#comfunc global ITextRange2_GetProperty 93 int,sptr
#comfunc global ITextRange2_GetRect 94 int,sptr,sptr,sptr,sptr,sptr
#comfunc global ITextRange2_GetSubrange 95 int,sptr,sptr
#comfunc global ITextRange2_GetText2 96 int,sptr
#comfunc global ITextRange2_HexToUnicode 97
#comfunc global ITextRange2_InsertTable 98 int,int,int
#comfunc global ITextRange2_Linearize 99 int
#comfunc global ITextRange2_SetActiveSubrange 100 int,int
#comfunc global ITextRange2_SetDropCap 101 int,int
#comfunc global ITextRange2_SetProperty 102 int,int
#comfunc global ITextRange2_SetText2 103 int,wstr
#comfunc global ITextRange2_UnicodeToHex 104
#comfunc global ITextRange2_SetInlineObject 105 int,int,int,int,int,int,int,int
#comfunc global ITextRange2_GetMathFunctionType 106 wstr,sptr
#comfunc global ITextRange2_InsertImage 107 int,int,int,int,wstr,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。