diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linguistic/lngprophelp.hxx | 8 | ||||
-rw-r--r-- | include/unotools/lingucfg.hxx | 8 | ||||
-rw-r--r-- | include/unotools/linguprops.hxx | 8 |
3 files changed, 18 insertions, 6 deletions
diff --git a/include/linguistic/lngprophelp.hxx b/include/linguistic/lngprophelp.hxx index 18dfaa60d2e2..85b32b7cec3e 100644 --- a/include/linguistic/lngprophelp.hxx +++ b/include/linguistic/lngprophelp.hxx @@ -166,11 +166,15 @@ class UNLESS_MERGELIBS(LNG_DLLPUBLIC) PropertyHelper_Spell final : bool bIsSpellUpperCase; bool bIsSpellWithDigits; bool bIsSpellCapitalization; + bool bIsSpellClosedCompound; + bool bIsSpellHyphenatedCompound; // return values, will be set to default value or current temporary value bool bResIsSpellUpperCase; bool bResIsSpellWithDigits; bool bResIsSpellCapitalization; + bool bResIsSpellClosedCompound; + bool bResIsSpellHyphenatedCompound; PropertyHelper_Spell( const PropertyHelper_Spell & ) = delete; PropertyHelper_Spell & operator = ( const PropertyHelper_Spell & ) = delete; @@ -196,6 +200,8 @@ public: bool IsSpellUpperCase() const { return bResIsSpellUpperCase; } bool IsSpellWithDigits() const { return bResIsSpellWithDigits; } bool IsSpellCapitalization() const { return bResIsSpellCapitalization; } + bool IsSpellClosedCompound() const { return bResIsSpellClosedCompound; } + bool IsSpellHyphenatedCompound() const { return bResIsSpellHyphenatedCompound; } }; @@ -219,6 +225,8 @@ public: bool IsSpellUpperCase() const; bool IsSpellWithDigits() const; bool IsSpellCapitalization() const; + bool IsSpellClosedCompound() const; + bool IsSpellHyphenatedCompound() const; /// @throws css::uno::RuntimeException bool addLinguServiceEventListener( const css::uno::Reference< css::linguistic2::XLinguServiceEventListener >& rxListener ); diff --git a/include/unotools/lingucfg.hxx b/include/unotools/lingucfg.hxx index b4a0b824e127..40797a372f33 100644 --- a/include/unotools/lingucfg.hxx +++ b/include/unotools/lingucfg.hxx @@ -85,11 +85,15 @@ struct UNOTOOLS_DLLPUBLIC SvtLinguOptions // SpellChecker service specific options bool bIsSpellWithDigits, bIsSpellUpperCase, - bIsSpellCapitalization; + bIsSpellCapitalization, + bIsSpellClosedCompound, + bIsSpellHyphenatedCompound; bool bROIsSpellWithDigits, bROIsSpellUpperCase, - bROIsSpellCapitalization; + bROIsSpellCapitalization, + bROIsSpellClosedCompound, + bROIsSpellHyphenatedCompound; // text conversion specific options bool bIsIgnorePostPositionalWord; diff --git a/include/unotools/linguprops.hxx b/include/unotools/linguprops.hxx index 971c0280444c..7f55a9e74042 100644 --- a/include/unotools/linguprops.hxx +++ b/include/unotools/linguprops.hxx @@ -54,8 +54,8 @@ inline constexpr OUStringLiteral UPN_DEFAULT_LOCALE_CTL = u"Default inline constexpr OUStringLiteral UPN_IS_HYPH_AUTO = u"IsHyphAuto"; inline constexpr OUStringLiteral UPN_IS_HYPH_SPECIAL = u"IsHyphSpecial"; inline constexpr OUStringLiteral UPN_IS_SPELL_AUTO = u"IsSpellAuto"; -inline constexpr OUStringLiteral UPN_IS_SPELL_HIDE = u"IsSpellHide"; /*! deprecated #i91949 !*/ -inline constexpr OUStringLiteral UPN_IS_SPELL_IN_ALL_LANGUAGES = u"IsSpellInAllLanguages"; /*! deprecated #i91949 !*/ +inline constexpr OUStringLiteral UPN_IS_SPELL_CLOSED_COMPOUND = u"IsSpellClosedCompound"; +inline constexpr OUStringLiteral UPN_IS_SPELL_HYPHENATED_COMPOUND = u"IsSpellHyphenatedCompound"; inline constexpr OUStringLiteral UPN_IS_SPELL_SPECIAL = u"IsSpellSpecial"; inline constexpr OUStringLiteral UPN_IS_WRAP_REVERSE = u"IsWrapReverse"; inline constexpr OUStringLiteral UPN_DATA_FILES_CHANGED_CHECK_VALUE = u"DataFilesChangedCheckValue"; @@ -86,8 +86,8 @@ inline constexpr OUStringLiteral UPN_IS_GRAMMAR_INTERACTIVE = u"IsInter #define UPH_HYPH_MIN_WORD_LENGTH 8 #define UPH_DEFAULT_LOCALE 9 #define UPH_IS_SPELL_AUTO 10 -#define UPH_IS_SPELL_HIDE 11 -#define UPH_IS_SPELL_IN_ALL_LANGUAGES 12 +#define UPH_IS_SPELL_CLOSED_COMPOUND 11 +#define UPH_IS_SPELL_HYPHENATED_COMPOUND 12 #define UPH_IS_SPELL_SPECIAL 13 #define UPH_IS_HYPH_AUTO 14 #define UPH_IS_HYPH_SPECIAL 15 |