Win32 API 日本語リファレンス
ホームUI.Controls.RichEdit › ITextRow

ITextRow

COMIDispatch (デュアル)
IDispatch を実装(デュアルインターフェース)。HSP では comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。
IIDc241f5ef-7206-11d8-a2c7-00a0d1d6c6b3継承元IDispatch呼び出し名前(IDispatch) または vtbl自前メソッド開始 vtbl7

メソッド 46

vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。

vtbl 7 HRESULT GetAlignment(INT* pValue)
pValueINT*out行の配置を示す値を受け取る。
vtbl 8 HRESULT SetAlignment(INT Value)
ValueINTin行の配置を示す値を指定する。
vtbl 9 HRESULT GetCellCount(INT* pValue)
pValueINT*out行内のセル数を示す値を受け取る。
vtbl 10 HRESULT SetCellCount(INT Value)
ValueINTin行内のセル数を示す値を指定する。
vtbl 11 HRESULT GetCellCountCache(INT* pValue)
pValueINT*outキャッシュされたセル数を示す値を受け取る。
vtbl 12 HRESULT SetCellCountCache(INT Value)
ValueINTinキャッシュされたセル数を示す値を指定する。
vtbl 13 HRESULT GetCellIndex(INT* pValue)
pValueINT*out現在のセルのインデックスを示す値を受け取る。
vtbl 14 HRESULT SetCellIndex(INT Value)
ValueINTin現在のセルのインデックスを示す値を指定する。
vtbl 15 HRESULT GetCellMargin(INT* pValue)
pValueINT*outセルの余白を示す値を受け取る。
vtbl 16 HRESULT SetCellMargin(INT Value)
ValueINTinセルの余白を示す値を指定する。
vtbl 17 HRESULT GetHeight(INT* pValue)
pValueINT*out行の高さを示す値を受け取る。
vtbl 18 HRESULT SetHeight(INT Value)
ValueINTin行の高さを示す値を指定する。
vtbl 19 HRESULT GetIndent(INT* pValue)
pValueINT*out行のインデントを示す値を受け取る。
vtbl 20 HRESULT SetIndent(INT Value)
ValueINTin行のインデントを示す値を指定する。
vtbl 21 HRESULT GetKeepTogether(INT* pValue)
pValueINT*out行を分割しない設定を示す値を受け取る。
vtbl 22 HRESULT SetKeepTogether(INT Value)
ValueINTin行を分割しない設定を示す値を指定する。
vtbl 23 HRESULT GetKeepWithNext(INT* pValue)
pValueINT*out次の行と一緒に保持する設定を示す値を受け取る。
vtbl 24 HRESULT SetKeepWithNext(INT Value)
ValueINTin次の行と一緒に保持する設定を示す値を指定する。
vtbl 25 HRESULT GetNestLevel(INT* pValue)
pValueINT*out表の入れ子レベルを受け取る。
vtbl 26 HRESULT GetRTL(INT* pValue)
pValueINT*out右から左方向の設定を示す値を受け取る。
vtbl 27 HRESULT SetRTL(INT Value)
ValueINTin右から左方向の設定を示す値を指定する。
vtbl 28 HRESULT GetCellAlignment(INT* pValue)
pValueINT*outセルの垂直配置を示す値を受け取る。
vtbl 29 HRESULT SetCellAlignment(INT Value)
ValueINTinセルの垂直配置を示す値を指定する。
vtbl 30 HRESULT GetCellColorBack(INT* pValue)
pValueINT*outセルの背景色を示す値を受け取る。
vtbl 31 HRESULT SetCellColorBack(INT Value)
ValueINTinセルの背景色を示す値を指定する。
vtbl 32 HRESULT GetCellColorFore(INT* pValue)
pValueINT*outセルの前景色を示す値を受け取る。
vtbl 33 HRESULT SetCellColorFore(INT Value)
ValueINTinセルの前景色を示す値を指定する。
vtbl 34 HRESULT GetCellMergeFlags(INT* pValue)
pValueINT*outセルの結合フラグを示す値を受け取る。
vtbl 35 HRESULT SetCellMergeFlags(INT Value)
ValueINTinセルの結合フラグを示す値を指定する。
vtbl 36 HRESULT GetCellShading(INT* pValue)
pValueINT*outセルの網掛け濃度を示す値を受け取る。
vtbl 37 HRESULT SetCellShading(INT Value)
ValueINTinセルの網掛け濃度を示す値を指定する。
vtbl 38 HRESULT GetCellVerticalText(INT* pValue)
pValueINT*outセルの縦書き設定を示す値を受け取る。
vtbl 39 HRESULT SetCellVerticalText(INT Value)
ValueINTinセルの縦書き設定を示す値を指定する。
vtbl 40 HRESULT GetCellWidth(INT* pValue)
pValueINT*outセルの幅を示す値を受け取る。
vtbl 41 HRESULT SetCellWidth(INT Value)
ValueINTinセルの幅を示す値を指定する。
vtbl 42 HRESULT GetCellBorderColors(INT* pcrLeft, INT* pcrTop, INT* pcrRight, INT* pcrBottom)
pcrLeftINT*out左罫線の色(COLORREF)を受け取る。
pcrTopINT*out上罫線の色(COLORREF)を受け取る。
pcrRightINT*out右罫線の色(COLORREF)を受け取る。
pcrBottomINT*out下罫線の色(COLORREF)を受け取る。
vtbl 43 HRESULT GetCellBorderWidths(INT* pduLeft, INT* pduTop, INT* pduRight, INT* pduBottom)
pduLeftINT*out左罫線の幅を受け取る。
pduTopINT*out上罫線の幅を受け取る。
pduRightINT*out右罫線の幅を受け取る。
pduBottomINT*out下罫線の幅を受け取る。
vtbl 44 HRESULT SetCellBorderColors(INT crLeft, INT crTop, INT crRight, INT crBottom)
crLeftINTin左罫線の色(COLORREF)を指定する。
crTopINTin上罫線の色(COLORREF)を指定する。
crRightINTin右罫線の色(COLORREF)を指定する。
crBottomINTin下罫線の色(COLORREF)を指定する。
vtbl 45 HRESULT SetCellBorderWidths(INT duLeft, INT duTop, INT duRight, INT duBottom)
duLeftINTin左罫線の幅を指定する。
duTopINTin上罫線の幅を指定する。
duRightINTin右罫線の幅を指定する。
duBottomINTin下罫線の幅を指定する。
vtbl 46 HRESULT Apply(INT cRow, tomConstants Flags)
cRowINTin適用する行数を指定する。
FlagstomConstantsin適用方法を制御するフラグ(tomConstants)を指定する。
vtbl 47 HRESULT CanChange(INT* pValue)
pValueINT*out行を変更できるかどうかを示す値を受け取る。
vtbl 48 HRESULT GetProperty(INT Type, INT* pValue)
TypeINTin取得するプロパティの種別を指定する。
pValueINT*out取得したプロパティ値を受け取る。
vtbl 49 HRESULT Insert(INT cRow)
cRowINTin挿入する行数を指定する。
vtbl 50 HRESULT IsEqual(ITextRow* pRow, INT* pB)
pRowITextRow*inoptional比較対象の ITextRow へのポインタである。
pBINT*out両者が等しいかどうかを示す値を受け取る。
vtbl 51 HRESULT Reset(INT Value)
ValueINTinリセットの方法を示す値を指定する。
vtbl 52 HRESULT SetProperty(INT Type, INT Value)
TypeINTin設定するプロパティの種別を指定する。
ValueINTin設定するプロパティ値を指定する。

HSP用 COM定義

#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"

出力引数:
#define global IID_ITextRow "{C241F5EF-7206-11D8-A2C7-00A0D1D6C6B3}"
#usecom global ITextRow IID_ITextRow "{}"
#comfunc global ITextRow_GetAlignment         7 var
#comfunc global ITextRow_SetAlignment         8 int
#comfunc global ITextRow_GetCellCount         9 var
#comfunc global ITextRow_SetCellCount         10 int
#comfunc global ITextRow_GetCellCountCache    11 var
#comfunc global ITextRow_SetCellCountCache    12 int
#comfunc global ITextRow_GetCellIndex         13 var
#comfunc global ITextRow_SetCellIndex         14 int
#comfunc global ITextRow_GetCellMargin        15 var
#comfunc global ITextRow_SetCellMargin        16 int
#comfunc global ITextRow_GetHeight            17 var
#comfunc global ITextRow_SetHeight            18 int
#comfunc global ITextRow_GetIndent            19 var
#comfunc global ITextRow_SetIndent            20 int
#comfunc global ITextRow_GetKeepTogether      21 var
#comfunc global ITextRow_SetKeepTogether      22 int
#comfunc global ITextRow_GetKeepWithNext      23 var
#comfunc global ITextRow_SetKeepWithNext      24 int
#comfunc global ITextRow_GetNestLevel         25 var
#comfunc global ITextRow_GetRTL               26 var
#comfunc global ITextRow_SetRTL               27 int
#comfunc global ITextRow_GetCellAlignment     28 var
#comfunc global ITextRow_SetCellAlignment     29 int
#comfunc global ITextRow_GetCellColorBack     30 var
#comfunc global ITextRow_SetCellColorBack     31 int
#comfunc global ITextRow_GetCellColorFore     32 var
#comfunc global ITextRow_SetCellColorFore     33 int
#comfunc global ITextRow_GetCellMergeFlags    34 var
#comfunc global ITextRow_SetCellMergeFlags    35 int
#comfunc global ITextRow_GetCellShading       36 var
#comfunc global ITextRow_SetCellShading       37 int
#comfunc global ITextRow_GetCellVerticalText  38 var
#comfunc global ITextRow_SetCellVerticalText  39 int
#comfunc global ITextRow_GetCellWidth         40 var
#comfunc global ITextRow_SetCellWidth         41 int
#comfunc global ITextRow_GetCellBorderColors  42 var,var,var,var
#comfunc global ITextRow_GetCellBorderWidths  43 var,var,var,var
#comfunc global ITextRow_SetCellBorderColors  44 int,int,int,int
#comfunc global ITextRow_SetCellBorderWidths  45 int,int,int,int
#comfunc global ITextRow_Apply                46 int,int
#comfunc global ITextRow_CanChange            47 var
#comfunc global ITextRow_GetProperty          48 int,var
#comfunc global ITextRow_Insert               49 int
#comfunc global ITextRow_IsEqual              50 sptr,var
#comfunc global ITextRow_Reset                51 int
#comfunc global ITextRow_SetProperty          52 int,int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。