25#include <officecfg/System.hxx>
26#include <officecfg/Office/Common.hxx>
39 return officecfg::Office::Common::I18N::CJK::CJKFont::get();
45 return officecfg::Office::Common::I18N::CJK::VerticalText::get();
51 return officecfg::Office::Common::I18N::CJK::AsianTypography::get();
57 return officecfg::Office::Common::I18N::CJK::JapaneseFind::get();
63 return officecfg::Office::Common::I18N::CJK::Ruby::get();
69 return officecfg::Office::Common::I18N::CJK::ChangeCaseMap::get();
75 return officecfg::Office::Common::I18N::CJK::DoubleLines::get();
81 if ( officecfg::Office::Common::I18N::CJK::CJKFont::isReadOnly()
82 || officecfg::Office::Common::I18N::CJK::VerticalText::isReadOnly()
83 || officecfg::Office::Common::I18N::CJK::AsianTypography::isReadOnly()
84 || officecfg::Office::Common::I18N::CJK::JapaneseFind::isReadOnly()
85 || officecfg::Office::Common::I18N::CJK::Ruby::isReadOnly()
86 || officecfg::Office::Common::I18N::CJK::ChangeCaseMap::isReadOnly()
87 || officecfg::Office::Common::I18N::CJK::DoubleLines::isReadOnly() )
91 officecfg::Office::Common::I18N::CJK::CJKFont::set(bSet, xChanges);
92 officecfg::Office::Common::I18N::CJK::VerticalText::set(bSet, xChanges);
93 officecfg::Office::Common::I18N::CJK::AsianTypography::set(bSet, xChanges);
94 officecfg::Office::Common::I18N::CJK::JapaneseFind::set(bSet, xChanges);
95 officecfg::Office::Common::I18N::CJK::Ruby::set(bSet, xChanges);
96 officecfg::Office::Common::I18N::CJK::ChangeCaseMap::set(bSet, xChanges);
97 officecfg::Office::Common::I18N::CJK::DoubleLines::set(bSet, xChanges);
111 return officecfg::Office::Common::I18N::CJK::CJKFont::isReadOnly()
112 || officecfg::Office::Common::I18N::CJK::VerticalText::isReadOnly()
113 || officecfg::Office::Common::I18N::CJK::AsianTypography::isReadOnly()
114 || officecfg::Office::Common::I18N::CJK::JapaneseFind::isReadOnly()
115 || officecfg::Office::Common::I18N::CJK::Ruby::isReadOnly()
116 || officecfg::Office::Common::I18N::CJK::ChangeCaseMap::isReadOnly()
117 || officecfg::Office::Common::I18N::CJK::DoubleLines::isReadOnly();
130 if (officecfg::Office::Common::I18N::CJK::CJKFont::get())
140 OUString sWin16SystemLocale = officecfg::System::L10N::SystemLocale::get();
142 if( !sWin16SystemLocale.isEmpty() )
158 officecfg::Office::Common::I18N::CJK::CJKFont::set(
true, xChanges);
159 officecfg::Office::Common::I18N::CJK::VerticalText::set(
true, xChanges);
160 officecfg::Office::Common::I18N::CJK::AsianTypography::set(
true, xChanges);
161 officecfg::Office::Common::I18N::CJK::JapaneseFind::set(
true, xChanges);
162 officecfg::Office::Common::I18N::CJK::Ruby::set(
true, xChanges);
163 officecfg::Office::Common::I18N::CJK::ChangeCaseMap::set(
true, xChanges);
164 officecfg::Office::Common::I18N::CJK::DoubleLines::set(
true, xChanges);
static std::once_flag gLoadFlag
static void SvtCJKOptions_Load()
static LanguageType convertToLanguageTypeWithFallback(const OUString &rBcp47)
static std::shared_ptr< ConfigurationChanges > create()
bool IsVerticalTextEnabled()
bool IsChangeCaseMapEnabled()
bool IsJapaneseFindEnabled()
bool IsDoubleLinesEnabled()
bool IsAsianTypographyEnabled()
SvtScriptType GetScriptTypeOfLanguage(LanguageType nLang)
bool isCJKKeyboardLayoutInstalled()