Win32 API 日本語リファレンス
ホームWeb.MsHtml › IHTMLCurrentStyle

IHTMLCurrentStyle

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

メソッド 91

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

vtbl 7 HRESULT get_position(LPWSTR* p)
pLPWSTR*out配置方式(position) を受け取るポインタである。NULL は指定できない。
vtbl 8 HRESULT get_styleFloat(LPWSTR* p)
pLPWSTR*outフロート(float) を受け取るポインタである。NULL は指定できない。
vtbl 9 HRESULT get_color(VARIANT* p)
pVARIANT*out前景色(color) を受け取るポインタである。NULL は指定できない。
vtbl 10 HRESULT get_backgroundColor(VARIANT* p)
pVARIANT*out背景色(background-color) を受け取るポインタである。NULL は指定できない。
vtbl 11 HRESULT get_fontFamily(LPWSTR* p)
pLPWSTR*outフォントファミリ(font-family) を受け取るポインタである。NULL は指定できない。
vtbl 12 HRESULT get_fontStyle(LPWSTR* p)
pLPWSTR*outフォントスタイル(font-style) を受け取るポインタである。NULL は指定できない。
vtbl 13 HRESULT get_fontVariant(LPWSTR* p)
pLPWSTR*outフォントバリアント(font-variant) を受け取るポインタである。NULL は指定できない。
vtbl 14 HRESULT get_fontWeight(VARIANT* p)
pVARIANT*outフォントの太さ(font-weight) を受け取るポインタである。NULL は指定できない。
vtbl 15 HRESULT get_fontSize(VARIANT* p)
pVARIANT*outフォントサイズ(font-size) を受け取るポインタである。NULL は指定できない。
vtbl 16 HRESULT get_backgroundImage(LPWSTR* p)
pLPWSTR*out背景画像(background-image) を受け取るポインタである。NULL は指定できない。
vtbl 17 HRESULT get_backgroundPositionX(VARIANT* p)
pVARIANT*out背景の水平位置(background-position-x) を受け取るポインタである。NULL は指定できない。
vtbl 18 HRESULT get_backgroundPositionY(VARIANT* p)
pVARIANT*out背景の垂直位置(background-position-y) を受け取るポインタである。NULL は指定できない。
vtbl 19 HRESULT get_backgroundRepeat(LPWSTR* p)
pLPWSTR*out背景画像の繰り返し(background-repeat) を受け取るポインタである。NULL は指定できない。
vtbl 20 HRESULT get_borderLeftColor(VARIANT* p)
pVARIANT*out左罫線の色(border-left-color) を受け取るポインタである。NULL は指定できない。
vtbl 21 HRESULT get_borderTopColor(VARIANT* p)
pVARIANT*out上罫線の色(border-top-color) を受け取るポインタである。NULL は指定できない。
vtbl 22 HRESULT get_borderRightColor(VARIANT* p)
pVARIANT*out右罫線の色(border-right-color) を受け取るポインタである。NULL は指定できない。
vtbl 23 HRESULT get_borderBottomColor(VARIANT* p)
pVARIANT*out下罫線の色(border-bottom-color) を受け取るポインタである。NULL は指定できない。
vtbl 24 HRESULT get_borderTopStyle(LPWSTR* p)
pLPWSTR*out上罫線のスタイル(border-top-style) を受け取るポインタである。NULL は指定できない。
vtbl 25 HRESULT get_borderRightStyle(LPWSTR* p)
pLPWSTR*out右罫線のスタイル(border-right-style) を受け取るポインタである。NULL は指定できない。
vtbl 26 HRESULT get_borderBottomStyle(LPWSTR* p)
pLPWSTR*out下罫線のスタイル(border-bottom-style) を受け取るポインタである。NULL は指定できない。
vtbl 27 HRESULT get_borderLeftStyle(LPWSTR* p)
pLPWSTR*out左罫線のスタイル(border-left-style) を受け取るポインタである。NULL は指定できない。
vtbl 28 HRESULT get_borderTopWidth(VARIANT* p)
pVARIANT*out上罫線の幅(border-top-width) を受け取るポインタである。NULL は指定できない。
vtbl 29 HRESULT get_borderRightWidth(VARIANT* p)
pVARIANT*out右罫線の幅(border-right-width) を受け取るポインタである。NULL は指定できない。
vtbl 30 HRESULT get_borderBottomWidth(VARIANT* p)
pVARIANT*out下罫線の幅(border-bottom-width) を受け取るポインタである。NULL は指定できない。
vtbl 31 HRESULT get_borderLeftWidth(VARIANT* p)
pVARIANT*out左罫線の幅(border-left-width) を受け取るポインタである。NULL は指定できない。
vtbl 32 HRESULT get_left(VARIANT* p)
pVARIANT*out左端位置(left) を受け取るポインタである。NULL は指定できない。
vtbl 33 HRESULT get_top(VARIANT* p)
pVARIANT*out上端位置(top) を受け取るポインタである。NULL は指定できない。
vtbl 34 HRESULT get_width(VARIANT* p)
pVARIANT*out幅(width) を受け取るポインタである。NULL は指定できない。
vtbl 35 HRESULT get_height(VARIANT* p)
pVARIANT*out高さ(height) を受け取るポインタである。NULL は指定できない。
vtbl 36 HRESULT get_paddingLeft(VARIANT* p)
pVARIANT*out左パディング(padding-left) を受け取るポインタである。NULL は指定できない。
vtbl 37 HRESULT get_paddingTop(VARIANT* p)
pVARIANT*out上パディング(padding-top) を受け取るポインタである。NULL は指定できない。
vtbl 38 HRESULT get_paddingRight(VARIANT* p)
pVARIANT*out右パディング(padding-right) を受け取るポインタである。NULL は指定できない。
vtbl 39 HRESULT get_paddingBottom(VARIANT* p)
pVARIANT*out下パディング(padding-bottom) を受け取るポインタである。NULL は指定できない。
vtbl 40 HRESULT get_textAlign(LPWSTR* p)
pLPWSTR*out水平方向の配置(text-align) を受け取るポインタである。NULL は指定できない。
vtbl 41 HRESULT get_textDecoration(LPWSTR* p)
pLPWSTR*outテキスト装飾(text-decoration) を受け取るポインタである。NULL は指定できない。
vtbl 42 HRESULT get_display(LPWSTR* p)
pLPWSTR*out表示形式(display) を受け取るポインタである。NULL は指定できない。
vtbl 43 HRESULT get_visibility(LPWSTR* p)
pLPWSTR*out可視性(visibility) を受け取るポインタである。NULL は指定できない。
vtbl 44 HRESULT get_zIndex(VARIANT* p)
pVARIANT*out重なり順(z-index) を受け取るポインタである。NULL は指定できない。
vtbl 45 HRESULT get_letterSpacing(VARIANT* p)
pVARIANT*out文字間隔(letter-spacing) を受け取るポインタである。NULL は指定できない。
vtbl 46 HRESULT get_lineHeight(VARIANT* p)
pVARIANT*out行の高さ(line-height) を受け取るポインタである。NULL は指定できない。
vtbl 47 HRESULT get_textIndent(VARIANT* p)
pVARIANT*out字下げ(text-indent) を受け取るポインタである。NULL は指定できない。
vtbl 48 HRESULT get_verticalAlign(VARIANT* p)
pVARIANT*out垂直方向の配置(vertical-align) を受け取るポインタである。NULL は指定できない。
vtbl 49 HRESULT get_backgroundAttachment(LPWSTR* p)
pLPWSTR*out背景の固定方法(background-attachment) を受け取るポインタである。NULL は指定できない。
vtbl 50 HRESULT get_marginTop(VARIANT* p)
pVARIANT*out上マージン(margin-top) を受け取るポインタである。NULL は指定できない。
vtbl 51 HRESULT get_marginRight(VARIANT* p)
pVARIANT*out右マージン(margin-right) を受け取るポインタである。NULL は指定できない。
vtbl 52 HRESULT get_marginBottom(VARIANT* p)
pVARIANT*out下マージン(margin-bottom) を受け取るポインタである。NULL は指定できない。
vtbl 53 HRESULT get_marginLeft(VARIANT* p)
pVARIANT*out左マージン(margin-left) を受け取るポインタである。NULL は指定できない。
vtbl 54 HRESULT get_clear(LPWSTR* p)
pLPWSTR*out回り込み解除(clear) を受け取るポインタである。NULL は指定できない。
vtbl 55 HRESULT get_listStyleType(LPWSTR* p)
pLPWSTR*outリストマーカーの種類(list-style-type) を受け取るポインタである。NULL は指定できない。
vtbl 56 HRESULT get_listStylePosition(LPWSTR* p)
pLPWSTR*outリストマーカーの位置(list-style-position) を受け取るポインタである。NULL は指定できない。
vtbl 57 HRESULT get_listStyleImage(LPWSTR* p)
pLPWSTR*outリストマーカー画像(list-style-image) を受け取るポインタである。NULL は指定できない。
vtbl 58 HRESULT get_clipTop(VARIANT* p)
pVARIANT*outクリップ領域の上端 を受け取るポインタである。NULL は指定できない。
vtbl 59 HRESULT get_clipRight(VARIANT* p)
pVARIANT*outクリップ領域の右端 を受け取るポインタである。NULL は指定できない。
vtbl 60 HRESULT get_clipBottom(VARIANT* p)
pVARIANT*outクリップ領域の下端 を受け取るポインタである。NULL は指定できない。
vtbl 61 HRESULT get_clipLeft(VARIANT* p)
pVARIANT*outクリップ領域の左端 を受け取るポインタである。NULL は指定できない。
vtbl 62 HRESULT get_overflow(LPWSTR* p)
pLPWSTR*outはみ出し処理(overflow) を受け取るポインタである。NULL は指定できない。
vtbl 63 HRESULT get_pageBreakBefore(LPWSTR* p)
pLPWSTR*out要素前の改ページ(page-break-before) を受け取るポインタである。NULL は指定できない。
vtbl 64 HRESULT get_pageBreakAfter(LPWSTR* p)
pLPWSTR*out要素後の改ページ(page-break-after) を受け取るポインタである。NULL は指定できない。
vtbl 65 HRESULT get_cursor(LPWSTR* p)
pLPWSTR*outカーソル形状(cursor) を受け取るポインタである。NULL は指定できない。
vtbl 66 HRESULT get_tableLayout(LPWSTR* p)
pLPWSTR*outテーブルレイアウト(table-layout) を受け取るポインタである。NULL は指定できない。
vtbl 67 HRESULT get_borderCollapse(LPWSTR* p)
pLPWSTR*out罫線の結合(border-collapse) を受け取るポインタである。NULL は指定できない。
vtbl 68 HRESULT get_direction(LPWSTR* p)
pLPWSTR*out記述方向(direction) を受け取るポインタである。NULL は指定できない。
vtbl 69 HRESULT get_behavior(LPWSTR* p)
pLPWSTR*outビヘイビア(behavior) を受け取るポインタである。NULL は指定できない。
vtbl 70 HRESULT getAttribute(LPWSTR strAttributeName, INT lFlags, VARIANT* AttributeValue)
strAttributeNameLPWSTRin取得する属性の名前を指定する。
lFlagsINTin大文字小文字の区別など、属性取得の動作を制御するフラグを指定する。
AttributeValueVARIANT*out属性の値を受け取るポインタである。
vtbl 71 HRESULT get_unicodeBidi(LPWSTR* p)
pLPWSTR*out双方向アルゴリズム(unicode-bidi) を受け取るポインタである。NULL は指定できない。
vtbl 72 HRESULT get_right(VARIANT* p)
pVARIANT*out右端位置(right) を受け取るポインタである。NULL は指定できない。
vtbl 73 HRESULT get_bottom(VARIANT* p)
pVARIANT*out下端位置(bottom) を受け取るポインタである。NULL は指定できない。
vtbl 74 HRESULT get_imeMode(LPWSTR* p)
pLPWSTR*outIME モード(ime-mode) を受け取るポインタである。NULL は指定できない。
vtbl 75 HRESULT get_rubyAlign(LPWSTR* p)
pLPWSTR*outルビの配置(ruby-align) を受け取るポインタである。NULL は指定できない。
vtbl 76 HRESULT get_rubyPosition(LPWSTR* p)
pLPWSTR*outルビの位置(ruby-position) を受け取るポインタである。NULL は指定できない。
vtbl 77 HRESULT get_rubyOverhang(LPWSTR* p)
pLPWSTR*outルビのはみ出し(ruby-overhang) を受け取るポインタである。NULL は指定できない。
vtbl 78 HRESULT get_textAutospace(LPWSTR* p)
pLPWSTR*out自動字間調整(text-autospace) を受け取るポインタである。NULL は指定できない。
vtbl 79 HRESULT get_lineBreak(LPWSTR* p)
pLPWSTR*out行の改行規則(line-break) を受け取るポインタである。NULL は指定できない。
vtbl 80 HRESULT get_wordBreak(LPWSTR* p)
pLPWSTR*out単語の改行規則(word-break) を受け取るポインタである。NULL は指定できない。
vtbl 81 HRESULT get_textJustify(LPWSTR* p)
pLPWSTR*out両端揃えの方法(text-justify) を受け取るポインタである。NULL は指定できない。
vtbl 82 HRESULT get_textJustifyTrim(LPWSTR* p)
pLPWSTR*out両端揃え時のトリミング を受け取るポインタである。NULL は指定できない。
vtbl 83 HRESULT get_textKashida(VARIANT* p)
pVARIANT*outカシダ伸長量 を受け取るポインタである。NULL は指定できない。
vtbl 84 HRESULT get_blockDirection(LPWSTR* p)
pLPWSTR*outブロックの方向 を受け取るポインタである。NULL は指定できない。
vtbl 85 HRESULT get_layoutGridChar(VARIANT* p)
pVARIANT*outレイアウトグリッドの文字幅 を受け取るポインタである。NULL は指定できない。
vtbl 86 HRESULT get_layoutGridLine(VARIANT* p)
pVARIANT*outレイアウトグリッドの行高 を受け取るポインタである。NULL は指定できない。
vtbl 87 HRESULT get_layoutGridMode(LPWSTR* p)
pLPWSTR*outレイアウトグリッドのモード を受け取るポインタである。NULL は指定できない。
vtbl 88 HRESULT get_layoutGridType(LPWSTR* p)
pLPWSTR*outレイアウトグリッドの種類 を受け取るポインタである。NULL は指定できない。
vtbl 89 HRESULT get_borderStyle(LPWSTR* p)
pLPWSTR*out罫線のスタイル一括指定(border-style) を受け取るポインタである。NULL は指定できない。
vtbl 90 HRESULT get_borderColor(LPWSTR* p)
pLPWSTR*out罫線の色一括指定(border-color) を受け取るポインタである。NULL は指定できない。
vtbl 91 HRESULT get_borderWidth(LPWSTR* p)
pLPWSTR*out罫線の幅一括指定(border-width) を受け取るポインタである。NULL は指定できない。
vtbl 92 HRESULT get_padding(LPWSTR* p)
pLPWSTR*outパディング一括指定(padding) を受け取るポインタである。NULL は指定できない。
vtbl 93 HRESULT get_margin(LPWSTR* p)
pLPWSTR*outマージン一括指定(margin) を受け取るポインタである。NULL は指定できない。
vtbl 94 HRESULT get_accelerator(LPWSTR* p)
pLPWSTR*outアクセラレータ表示(accelerator) を受け取るポインタである。NULL は指定できない。
vtbl 95 HRESULT get_overflowX(LPWSTR* p)
pLPWSTR*out水平方向のはみ出し処理(overflow-x) を受け取るポインタである。NULL は指定できない。
vtbl 96 HRESULT get_overflowY(LPWSTR* p)
pLPWSTR*out垂直方向のはみ出し処理(overflow-y) を受け取るポインタである。NULL は指定できない。
vtbl 97 HRESULT get_textTransform(LPWSTR* p)
pLPWSTR*outテキスト変換(text-transform) を受け取るポインタである。NULL は指定できない。

HSP用 COM定義

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

出力引数:
#define global IID_IHTMLCurrentStyle "{3050F3DB-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLCurrentStyle IID_IHTMLCurrentStyle "{}"
#comfunc global IHTMLCurrentStyle_get_position              7 var
#comfunc global IHTMLCurrentStyle_get_styleFloat            8 var
#comfunc global IHTMLCurrentStyle_get_color                 9 var
#comfunc global IHTMLCurrentStyle_get_backgroundColor       10 var
#comfunc global IHTMLCurrentStyle_get_fontFamily            11 var
#comfunc global IHTMLCurrentStyle_get_fontStyle             12 var
#comfunc global IHTMLCurrentStyle_get_fontVariant           13 var
#comfunc global IHTMLCurrentStyle_get_fontWeight            14 var
#comfunc global IHTMLCurrentStyle_get_fontSize              15 var
#comfunc global IHTMLCurrentStyle_get_backgroundImage       16 var
#comfunc global IHTMLCurrentStyle_get_backgroundPositionX   17 var
#comfunc global IHTMLCurrentStyle_get_backgroundPositionY   18 var
#comfunc global IHTMLCurrentStyle_get_backgroundRepeat      19 var
#comfunc global IHTMLCurrentStyle_get_borderLeftColor       20 var
#comfunc global IHTMLCurrentStyle_get_borderTopColor        21 var
#comfunc global IHTMLCurrentStyle_get_borderRightColor      22 var
#comfunc global IHTMLCurrentStyle_get_borderBottomColor     23 var
#comfunc global IHTMLCurrentStyle_get_borderTopStyle        24 var
#comfunc global IHTMLCurrentStyle_get_borderRightStyle      25 var
#comfunc global IHTMLCurrentStyle_get_borderBottomStyle     26 var
#comfunc global IHTMLCurrentStyle_get_borderLeftStyle       27 var
#comfunc global IHTMLCurrentStyle_get_borderTopWidth        28 var
#comfunc global IHTMLCurrentStyle_get_borderRightWidth      29 var
#comfunc global IHTMLCurrentStyle_get_borderBottomWidth     30 var
#comfunc global IHTMLCurrentStyle_get_borderLeftWidth       31 var
#comfunc global IHTMLCurrentStyle_get_left                  32 var
#comfunc global IHTMLCurrentStyle_get_top                   33 var
#comfunc global IHTMLCurrentStyle_get_width                 34 var
#comfunc global IHTMLCurrentStyle_get_height                35 var
#comfunc global IHTMLCurrentStyle_get_paddingLeft           36 var
#comfunc global IHTMLCurrentStyle_get_paddingTop            37 var
#comfunc global IHTMLCurrentStyle_get_paddingRight          38 var
#comfunc global IHTMLCurrentStyle_get_paddingBottom         39 var
#comfunc global IHTMLCurrentStyle_get_textAlign             40 var
#comfunc global IHTMLCurrentStyle_get_textDecoration        41 var
#comfunc global IHTMLCurrentStyle_get_display               42 var
#comfunc global IHTMLCurrentStyle_get_visibility            43 var
#comfunc global IHTMLCurrentStyle_get_zIndex                44 var
#comfunc global IHTMLCurrentStyle_get_letterSpacing         45 var
#comfunc global IHTMLCurrentStyle_get_lineHeight            46 var
#comfunc global IHTMLCurrentStyle_get_textIndent            47 var
#comfunc global IHTMLCurrentStyle_get_verticalAlign         48 var
#comfunc global IHTMLCurrentStyle_get_backgroundAttachment  49 var
#comfunc global IHTMLCurrentStyle_get_marginTop             50 var
#comfunc global IHTMLCurrentStyle_get_marginRight           51 var
#comfunc global IHTMLCurrentStyle_get_marginBottom          52 var
#comfunc global IHTMLCurrentStyle_get_marginLeft            53 var
#comfunc global IHTMLCurrentStyle_get_clear                 54 var
#comfunc global IHTMLCurrentStyle_get_listStyleType         55 var
#comfunc global IHTMLCurrentStyle_get_listStylePosition     56 var
#comfunc global IHTMLCurrentStyle_get_listStyleImage        57 var
#comfunc global IHTMLCurrentStyle_get_clipTop               58 var
#comfunc global IHTMLCurrentStyle_get_clipRight             59 var
#comfunc global IHTMLCurrentStyle_get_clipBottom            60 var
#comfunc global IHTMLCurrentStyle_get_clipLeft              61 var
#comfunc global IHTMLCurrentStyle_get_overflow              62 var
#comfunc global IHTMLCurrentStyle_get_pageBreakBefore       63 var
#comfunc global IHTMLCurrentStyle_get_pageBreakAfter        64 var
#comfunc global IHTMLCurrentStyle_get_cursor                65 var
#comfunc global IHTMLCurrentStyle_get_tableLayout           66 var
#comfunc global IHTMLCurrentStyle_get_borderCollapse        67 var
#comfunc global IHTMLCurrentStyle_get_direction             68 var
#comfunc global IHTMLCurrentStyle_get_behavior              69 var
#comfunc global IHTMLCurrentStyle_getAttribute              70 wstr,int,var
#comfunc global IHTMLCurrentStyle_get_unicodeBidi           71 var
#comfunc global IHTMLCurrentStyle_get_right                 72 var
#comfunc global IHTMLCurrentStyle_get_bottom                73 var
#comfunc global IHTMLCurrentStyle_get_imeMode               74 var
#comfunc global IHTMLCurrentStyle_get_rubyAlign             75 var
#comfunc global IHTMLCurrentStyle_get_rubyPosition          76 var
#comfunc global IHTMLCurrentStyle_get_rubyOverhang          77 var
#comfunc global IHTMLCurrentStyle_get_textAutospace         78 var
#comfunc global IHTMLCurrentStyle_get_lineBreak             79 var
#comfunc global IHTMLCurrentStyle_get_wordBreak             80 var
#comfunc global IHTMLCurrentStyle_get_textJustify           81 var
#comfunc global IHTMLCurrentStyle_get_textJustifyTrim       82 var
#comfunc global IHTMLCurrentStyle_get_textKashida           83 var
#comfunc global IHTMLCurrentStyle_get_blockDirection        84 var
#comfunc global IHTMLCurrentStyle_get_layoutGridChar        85 var
#comfunc global IHTMLCurrentStyle_get_layoutGridLine        86 var
#comfunc global IHTMLCurrentStyle_get_layoutGridMode        87 var
#comfunc global IHTMLCurrentStyle_get_layoutGridType        88 var
#comfunc global IHTMLCurrentStyle_get_borderStyle           89 var
#comfunc global IHTMLCurrentStyle_get_borderColor           90 var
#comfunc global IHTMLCurrentStyle_get_borderWidth           91 var
#comfunc global IHTMLCurrentStyle_get_padding               92 var
#comfunc global IHTMLCurrentStyle_get_margin                93 var
#comfunc global IHTMLCurrentStyle_get_accelerator           94 var
#comfunc global IHTMLCurrentStyle_get_overflowX             95 var
#comfunc global IHTMLCurrentStyle_get_overflowY             96 var
#comfunc global IHTMLCurrentStyle_get_textTransform         97 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。