19#ifndef INCLUDED_I18NUTIL_WIDTHFOLDING_HXX
20#define INCLUDED_I18NUTIL_WIDTHFOLDING_HXX
23#include <rtl/ustring.hxx>
25#include <config_options.h>
28namespace i18nutil {
class oneToOneMapping; }
32#define WIDTHFOLDING_DONT_USE_COMBINED_VU 0x01
34class UNLESS_MERGELIBS(I18NUTIL_DLLPUBLIC) widthfolding
37 static oneToOneMapping& getfull2halfTable();
38 static oneToOneMapping& gethalf2fullTable();
40 static oneToOneMapping& getfull2halfTableForASC();
41 static oneToOneMapping& gethalf2fullTableForJIS();
43 static oneToOneMapping& getfullKana2halfKanaTable();
44 static oneToOneMapping& gethalfKana2fullKanaTable();
46 static OUString decompose_ja_voiced_sound_marks(
const OUString& inStr, sal_Int32 startPos, sal_Int32
nCount, css::uno::Sequence< sal_Int32 >* pOffset);
48 static OUString compose_ja_voiced_sound_marks(
const OUString& inStr, sal_Int32 startPos, sal_Int32
nCount, css::uno::Sequence< sal_Int32 >* pOffset, sal_Int32 nFlags = 0 );