Wordを操作するクラス
[詳細]
#include <WordObject.h>
すべてのメンバ一覧
Static Public メソッド |
| static char * | utf8_to_sjis (const char *pUtf8Str, int *nBytesOut) |
| static char * | utf16be_to_sjis (const wchar_t *pUcsStr, int *nBytesOut) |
| static int | utf8_to_utf16be_sub (wchar_t *pUcs2, const char *pUtf8, int nUtf8Num, BOOL bCountOnly, BOOL bBigEndian) |
| static wchar_t * | utf8_to_utf16be (const char *pUtf8Str, int *nNumOut, BOOL bBigEndian) |
説明
関数
| System::String WordObject::getSelWord |
( |
| ) |
|
選択位置の文字列を取得する関数
- 戻り値:
- 取得した文字列
| void WordObject::moveSelection |
( |
Word::WdUnits |
m_type, |
|
|
int |
leng |
|
) |
| |
| float WordObject::oCurrentCursorPositionX |
( |
| ) |
|
カーソル位置のX座標取得(単位はmm)
- 戻り値:
- カーソル位置のX座標
| float WordObject::oCurrentCursorPositionY |
( |
| ) |
|
カーソル位置のY座標取得(単位はmm)
- 戻り値:
- カーソル位置のX座標
| void WordObject::Open |
( |
System::String^ |
fn | ) |
|
| void WordObject::setBackColor |
( |
int |
r, |
|
|
int |
g, |
|
|
int |
b |
|
) |
| |
背景色を変更する関数
- 引数:
-
| r | 文字の色(R) |
| g | 文字の色(G) |
| b | 文字の色(B) |
| void WordObject::setFontColor |
( |
int |
r, |
|
|
int |
g, |
|
|
int |
b |
|
) |
| |
文字の色を変更する関数
- 引数:
-
| r | 文字の色(R) |
| g | 文字の色(G) |
| b | 文字の色(B) |
| void WordObject::setFontName |
( |
std::string |
fn | ) |
|
| void WordObject::setFontSize |
( |
float |
fs | ) |
|
| void WordObject::setWord |
( |
std::string |
st, |
|
|
std::string |
m_code |
|
) |
| |
| char * WordObject::utf16be_to_sjis |
( |
const wchar_t * |
pUcsStr, |
|
|
int * |
nBytesOut |
|
) |
| |
|
static |
| char * WordObject::utf8_to_sjis |
( |
const char * |
pUtf8Str, |
|
|
int * |
nBytesOut |
|
) |
| |
|
static |
| wchar_t * WordObject::utf8_to_utf16be |
( |
const char * |
pUtf8Str, |
|
|
int * |
nNumOut, |
|
|
BOOL |
bBigEndian |
|
) |
| |
|
static |
- 引数:
-
| pUtf8Str | |
| nNumOut | |
| bBigEndian | |
- 戻り値:
| int WordObject::utf8_to_utf16be_sub |
( |
wchar_t * |
pUcs2, |
|
|
const char * |
pUtf8, |
|
|
int |
nUtf8Num, |
|
|
BOOL |
bCountOnly, |
|
|
BOOL |
bBigEndian |
|
) |
| |
|
static |
- 引数:
-
| pUcs2 | |
| pUtf8 | |
| nUtf8Num | |
| bCountOnly | |
| bBigEndian | |
- 戻り値:
変数
| int WordObject::back_Blue |
| int WordObject::char_Blue |
| bool WordObject::contoured |
| Word::Application ^ WordObject::dcApplication |
| Word::Document ^ WordObject::dcDocument |
| Word::Documents ^ WordObject::dcDocuments |
| bool WordObject::emphasis |
| System::String ^ WordObject::filename |
| System::String ^ WordObject::fontName |
| float WordObject::fontSize |
| bool WordObject::movementType |
| bool WordObject::strikeout |
| bool WordObject::underline |
このクラスの説明は次のファイルから生成されました: