LibreOffice Module hwpfilter (master) 1
|
Go to the source code of this file.
Enumerations | |
enum | { KSSM , KS , UNICODE } |
Codetype of Korean KSSM - Johap, KS - Wansung. More... | |
Functions | |
DLLEXPORT int | hcharconv (hchar ch, hchar *dest, int codeType) |
Transfer combination-code for internal using of hwp to ascii. More... | |
DLLEXPORT int | kssm_hangul_to_ucs2 (hchar ch, hchar *dest) |
DLLEXPORT hchar | ksc5601_han_to_ucs2 (hchar) |
DLLEXPORT hchar | ksc5601_sym_to_ucs2 (hchar) |
DLLEXPORT OUString | hstr2OUString (hchar const *hstr) |
DLLEXPORT::std::string | hstr2ksstr (hchar const *hstr) |
한컴스트링을 완성형스트링으로 변환한다. More... | |
DLLEXPORT hchar_string | kstr2hstr (uchar const *src) |
한글을 포함할 수 있는 char형스트링을 한컴스트링으로 변환한다. More... | |
DLLEXPORT::std::string | urltounix (const char *src) |
hwp의 경로를 unix형태로 바꾼다. More... | |
DLLEXPORT OUString | hcolor2str (uchar color, uchar shade, bool bIsChar=false) |
hwp의 경로를 windows형태로 바꾼다. More... | |
DLLEXPORT OUString | rgb2str (unsigned char red, unsigned char green, unsigned char blue) |
DLLEXPORT OUString | rgb2str (int32_t rgb) |
DLLEXPORT OUString | base64_encode_string (const uchar *buf, unsigned int len) |
DLLEXPORT double | calcAngle (double x1, double y1, double x2, double y2) |
anonymous enum |
Definition at line 1395 of file hcode.cxx.
References aBuf, and comphelper::Base64::encode().
Referenced by HwpReader::makeDrawMiscStyle(), HwpReader::makePageStyle(), and HwpReader::makePicture().
DLLEXPORT double calcAngle | ( | double | x1, |
double | y1, | ||
double | x2, | ||
double | y2 | ||
) |
Definition at line 1402 of file hcode.cxx.
References basegfx::rad2deg().
Referenced by HwpReader::makePictureDRAW().
Transfer combination-code for internal using of hwp to ascii.
Definition at line 898 of file hcode.cxx.
References cdkssm2ks_han(), ch, index, IsHangul, IsHanja, KS, ksc5601_han_to_ucs2(), ksc5601_sym_to_ucs2(), KSSM, kssm_hangul_to_ucs2(), lineCharConv(), LineCharDir(), s_hh2ks(), s_hh2kssm(), and UNICODE.
Referenced by hstr2ksstr(), hstr2OUString(), HwpReader::make_text_p0(), HwpReader::make_text_p1(), HwpReader::make_text_p3(), HwpReader::makeFormula(), and HwpReader::makeHidden().
hwp의 경로를 windows형태로 바꾼다.
color인덱스 값과 음영값을 조합하여 스타오피스의 color로 변환
Definition at line 1241 of file hcode.cxx.
References rgb2str().
Referenced by HwpReader::makeCaptionStyle(), HwpReader::makeFStyle(), HwpReader::makeTableStyle(), HwpReader::parseCharShape(), and HwpReader::parseParaShape().
DLLEXPORT::std::string hstr2ksstr | ( | hchar const * | hstr | ) |
한컴스트링을 완성형스트링으로 변환한다.
한컴스트링을 완성형스트링으로 변환한다.
Definition at line 1186 of file hcode.cxx.
References hcharconv(), and KS.
Referenced by HwpReader::makeHyperText(), and HwpReader::parseCharShape().
Definition at line 1171 of file hcode.cxx.
References hcharconv(), and UNICODE.
Referenced by Outline::GetUnicode(), HwpReader::makeBookmark(), HwpReader::makeDateCode(), HwpReader::makeDateFormat(), HwpReader::makeDrawMiscStyle(), HwpReader::makeFieldCode(), HwpReader::makeMailMerge(), HwpReader::makeMeta(), HwpReader::makePageStyle(), HwpReader::makePicture(), and HwpReader::makeStyles().
Definition at line 1158 of file hcode.cxx.
References ch, idx, ksc5601_2uni_page21, o3tl::make_unsigned(), SAL_N_ELEMENTS, and value.
Referenced by hcharconv().
Definition at line 1146 of file hcode.cxx.
References ch, idx, ksc5601_2uni_page21, o3tl::make_unsigned(), SAL_N_ELEMENTS, and value.
Referenced by hcharconv().
Definition at line 1069 of file hcode.cxx.
References ch, choseong_to_unicode, count, index, jamo_to_unicode, jamocomp1_to_unicode, jongseong_to_unicode, joongseong_to_unicode, NUM_JONGSEONG, NUM_JOONGSEONG, SAL_N_ELEMENTS, and UNI_HANGUL_FIRST.
Referenced by hcharconv().
DLLEXPORT hchar_string kstr2hstr | ( | uchar const * | src | ) |
한글을 포함할 수 있는 char형스트링을 한컴스트링으로 변환한다.
Definition at line 1217 of file hcode.cxx.
References i.
Referenced by HwpReader::makeDrawMiscStyle(), HwpReader::makeHyperText(), HwpReader::makePageStyle(), HwpReader::makePicture(), HwpReader::makeStyles(), and HwpReader::parseCharShape().
DLLEXPORT OUString rgb2str | ( | int32_t | rgb | ) |
DLLEXPORT OUString rgb2str | ( | unsigned char | red, |
unsigned char | green, | ||
unsigned char | blue | ||
) |
Definition at line 1296 of file hcode.cxx.
References n, and o3tl::sprintf().
Referenced by hcolor2str(), HwpReader::makeDrawMiscStyle(), HwpReader::makeDrawStyle(), HwpReader::makePageStyle(), and rgb2str().
DLLEXPORT::std::string urltounix | ( | const char * | src | ) |
hwp의 경로를 unix형태로 바꾼다.
Definition at line 1307 of file hcode.cxx.
References i.
Referenced by HwpReader::makeDrawMiscStyle(), HwpReader::makeHyperText(), HwpReader::makePageStyle(), and HwpReader::makePicture().