Win32 API 日本語リファレンス
ホームStorage.Xps › IXpsOMGlyphsEditor

IXpsOMGlyphsEditor

COM
IIDa5ab8616-5b16-4b9f-9629-89b323ed7909継承元IUnknown自前メソッド開始 vtbl3

メソッド 18

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtbl 3 HRESULT ApplyEdits()
vtbl 4 HRESULT GetUnicodeString(LPWSTR* unicodeString)
unicodeStringLPWSTR*outグリフが表す Unicode 文字列を受け取る文字列ポインタへのポインタである。
vtbl 5 HRESULT SetUnicodeString(LPWSTR unicodeString)
unicodeStringLPWSTRinグリフが表す Unicode 文字列を指定する。
vtbl 6 HRESULT GetGlyphIndexCount(DWORD* indexCount)
indexCountDWORD*outグリフインデックス配列の要素数を受け取るポインタである。
vtbl 7 HRESULT GetGlyphIndices(DWORD* indexCount, XPS_GLYPH_INDEX* glyphIndices)
indexCountDWORD*inout入力として glyphIndices バッファの容量を渡し、出力として実際に書き込まれたグリフインデックス数を受け取るポインタである。
glyphIndicesXPS_GLYPH_INDEX*outグリフインデックスを格納する XPS_GLYPH_INDEX 構造体配列を受け取るバッファへのポインタである。
vtbl 8 HRESULT SetGlyphIndices(DWORD indexCount, XPS_GLYPH_INDEX* glyphIndices)
indexCountDWORDin設定するグリフインデックス配列の要素数を指定する。
glyphIndicesXPS_GLYPH_INDEX*in設定するグリフインデックスを格納した XPS_GLYPH_INDEX 構造体配列へのポインタである。
vtbl 9 HRESULT GetGlyphMappingCount(DWORD* glyphMappingCount)
glyphMappingCountDWORD*outグリフマッピング配列の要素数を受け取るポインタである。
vtbl 10 HRESULT GetGlyphMappings(DWORD* glyphMappingCount, XPS_GLYPH_MAPPING* glyphMappings)
glyphMappingCountDWORD*inout入力として glyphMappings バッファの容量を渡し、出力として実際に書き込まれたマッピング数を受け取るポインタである。
glyphMappingsXPS_GLYPH_MAPPING*out文字とグリフの対応を格納する XPS_GLYPH_MAPPING 構造体配列を受け取るバッファへのポインタである。
vtbl 11 HRESULT SetGlyphMappings(DWORD glyphMappingCount, XPS_GLYPH_MAPPING* glyphMappings)
glyphMappingCountDWORDin設定するグリフマッピング配列の要素数を指定する。
glyphMappingsXPS_GLYPH_MAPPING*in設定する文字とグリフの対応を格納した XPS_GLYPH_MAPPING 構造体配列へのポインタである。
vtbl 12 HRESULT GetProhibitedCaretStopCount(DWORD* prohibitedCaretStopCount)
prohibitedCaretStopCountDWORD*outキャレット停止禁止位置の数を受け取るポインタである。
vtbl 13 HRESULT GetProhibitedCaretStops(DWORD* count, DWORD* prohibitedCaretStops)
countDWORD*inout入力として prohibitedCaretStops バッファの容量を渡し、出力として実際に書き込まれた要素数を受け取るポインタである。
prohibitedCaretStopsDWORD*outキャレットの停止を禁止する位置のインデックス配列を受け取るバッファへのポインタである。
vtbl 14 HRESULT SetProhibitedCaretStops(DWORD count, DWORD* prohibitedCaretStops)
countDWORDin設定するキャレット停止禁止位置配列の要素数を指定する。
prohibitedCaretStopsDWORD*inキャレットの停止を禁止する位置のインデックス配列へのポインタである。
vtbl 15 HRESULT GetBidiLevel(DWORD* bidiLevel)
bidiLevelDWORD*outテキストの双方向(Bidi)埋め込みレベルを受け取るポインタである。
vtbl 16 HRESULT SetBidiLevel(DWORD bidiLevel)
bidiLevelDWORDinテキストに設定する双方向(Bidi)埋め込みレベルを指定する。偶数は左から右、奇数は右から左を表す。
vtbl 17 HRESULT GetIsSideways(BOOL* isSideways)
isSidewaysBOOL*outグリフを横倒し(90 度回転)で表示するかどうかを示すブール値を受け取るポインタである。
vtbl 18 HRESULT SetIsSideways(BOOL isSideways)
isSidewaysBOOLinグリフを横倒し(90 度回転)で表示するかどうかを指定する。
vtbl 19 HRESULT GetDeviceFontName(LPWSTR* deviceFontName)
deviceFontNameLPWSTR*outデバイスフォント名を受け取る文字列ポインタへのポインタである。デバイスフォントを使用しない場合は NULL を受け取る。
vtbl 20 HRESULT SetDeviceFontName(LPWSTR deviceFontName)
deviceFontNameLPWSTRin使用するデバイスフォント名を指定する。

HSP用 COM定義

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

出力引数:
#define global IID_IXpsOMGlyphsEditor "{A5AB8616-5B16-4B9F-9629-89B323ED7909}"
#usecom global IXpsOMGlyphsEditor IID_IXpsOMGlyphsEditor "{}"
#comfunc global IXpsOMGlyphsEditor_ApplyEdits                   3
#comfunc global IXpsOMGlyphsEditor_GetUnicodeString             4 var
#comfunc global IXpsOMGlyphsEditor_SetUnicodeString             5 wstr
#comfunc global IXpsOMGlyphsEditor_GetGlyphIndexCount           6 var
#comfunc global IXpsOMGlyphsEditor_GetGlyphIndices              7 var,var
#comfunc global IXpsOMGlyphsEditor_SetGlyphIndices              8 int,var
#comfunc global IXpsOMGlyphsEditor_GetGlyphMappingCount         9 var
#comfunc global IXpsOMGlyphsEditor_GetGlyphMappings             10 var,var
#comfunc global IXpsOMGlyphsEditor_SetGlyphMappings             11 int,var
#comfunc global IXpsOMGlyphsEditor_GetProhibitedCaretStopCount  12 var
#comfunc global IXpsOMGlyphsEditor_GetProhibitedCaretStops      13 var,var
#comfunc global IXpsOMGlyphsEditor_SetProhibitedCaretStops      14 int,var
#comfunc global IXpsOMGlyphsEditor_GetBidiLevel                 15 var
#comfunc global IXpsOMGlyphsEditor_SetBidiLevel                 16 int
#comfunc global IXpsOMGlyphsEditor_GetIsSideways                17 var
#comfunc global IXpsOMGlyphsEditor_SetIsSideways                18 int
#comfunc global IXpsOMGlyphsEditor_GetDeviceFontName            19 var
#comfunc global IXpsOMGlyphsEditor_SetDeviceFontName            20 wstr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。