19#ifndef INCLUDED_EDITENG_HANGULHANJA_HXX
20#define INCLUDED_EDITENG_HANGULHANJA_HXX
37 class HangulHanjaConversion_Impl;
74 eConvSimplifiedTraditional
99 ::std::unique_ptr< HangulHanjaConversion_Impl >
m_pImpl;
112 const css::uno::Reference< css::uno::XComponentContext >& rxContext,
113 const css::lang::Locale& _rSourceLocale,
114 const css::lang::Locale& _rTargetLocale,
123 void ConvertDocument();
125 weld::Widget* GetUIParent() const;
128 const
vcl::Font* GetTargetFont() const;
129 sal_Int32 GetConversionOptions() const;
130 bool IsInteractive() const;
142 static
void SetUseSavedConversionDirectionState(
bool bVal );
143 static
bool IsUseSavedConversionDirectionState();
158 virtual
void GetNextPortion(
159 OUString& _rNextPortion,
161 bool _bAllowImplicitChangesForNotConvertibleText ) = 0;
191 virtual
void HandleNewUnit( const sal_Int32 _nUnitStart, const sal_Int32 _nUnitEnd ) = 0;
250 virtual
void ReplaceUnit(
251 const sal_Int32 _nUnitStart, const sal_Int32 _nUnitEnd,
252 const OUString& _rOrigText,
253 const OUString& _rReplaceWith,
254 const css::
uno::Sequence< sal_Int32 > &_rOffsets,
265 virtual
bool HasRubySupport() const = 0;
static bool isChinese(LanguageType nLang)
static bool isTraditionalChinese(LanguageType nLang)
static bool isSimplifiedChinese(LanguageType nLang)
encapsulates Hangul-Hanja conversion functionality
static ConversionDirection m_ePrimaryConversionDirectionSave
static bool m_bUseSavedValues
HangulHanjaConversion(const HangulHanjaConversion &)=delete
static bool m_bTryBothDirectionsSave
static bool IsTraditional(LanguageType nLang)
static bool IsChinese(LanguageType nLang)
::std::unique_ptr< HangulHanjaConversion_Impl > m_pImpl
HangulHanjaConversion(weld::Widget *pUIParent, const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::lang::Locale &_rSourceLocale, const css::lang::Locale &_rTargetLocale, const vcl::Font *_pTargetFont, sal_Int32 nOptions, bool _bIsInteractive)
#define EDITENG_DLLPUBLIC