linguistic/source/lngopt.hxx | 8 ------ offapi/com/sun/star/linguistic2/XLinguProperties.idl | 24 +++++++------------ offapi/type_reference/offapi.idl | 2 - 3 files changed, 10 insertions(+), 24 deletions(-)
New commits: commit 537a8de72b935a406e6154a8cc55040ed521741e Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Thu Feb 2 16:46:29 2023 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu Feb 2 18:31:34 2023 +0000 Remove redundant attributes that were added to published XLinguProperties ...by 57d79744c77eef96b4c2bd3b16e0a04317ffcf9e "tdf#136306 offapi linguistic: add options to disable rule-based compounding". See <https://lists.freedesktop.org/archives/libreoffice/2023-January/089784.html> "Re: Request for [API CHANGE] in spell checking: add new options to disable rule-based compounding" for details. (And I want to get offapi/type_reference/offapi.idl back into a clean state before updating the reference rdbs, which I want to do now that LO 7.5.0 has been released, so I'm taking over here.) Change-Id: I75d0ccdfdf644421e22c95de5db3267e8872a09d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146505 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/linguistic/source/lngopt.hxx b/linguistic/source/lngopt.hxx index 08dde49e117c..896e345edb74 100644 --- a/linguistic/source/lngopt.hxx +++ b/linguistic/source/lngopt.hxx @@ -124,14 +124,6 @@ public: { return getPropertyBool(UPN_IS_SPELL_CAPITALIZATION); } virtual void SAL_CALL setIsSpellCapitalization(sal_Bool p1) override { setProperty(UPN_IS_SPELL_CAPITALIZATION, static_cast<bool>(p1)); } - virtual sal_Bool SAL_CALL getIsSpellClosedCompound() override - { return getPropertyBool(UPN_IS_SPELL_CLOSED_COMPOUND); } - virtual void SAL_CALL setIsSpellClosedCompound(sal_Bool p1) override - { setProperty(UPN_IS_SPELL_CLOSED_COMPOUND, static_cast<bool>(p1)); } - virtual sal_Bool SAL_CALL getIsSpellHyphenatedCompound() override - { return getPropertyBool(UPN_IS_SPELL_HYPHENATED_COMPOUND); } - virtual void SAL_CALL setIsSpellHyphenatedCompound(sal_Bool p1) override - { setProperty(UPN_IS_SPELL_HYPHENATED_COMPOUND, static_cast<bool>(p1)); } virtual sal_Int16 SAL_CALL getHyphMinLeading() override { return getPropertyInt16(UPN_HYPH_MIN_LEADING); } virtual void SAL_CALL setHyphMinLeading(sal_Int16 p1) override diff --git a/offapi/com/sun/star/linguistic2/XLinguProperties.idl b/offapi/com/sun/star/linguistic2/XLinguProperties.idl index c35047879c29..74db6604958f 100644 --- a/offapi/com/sun/star/linguistic2/XLinguProperties.idl +++ b/offapi/com/sun/star/linguistic2/XLinguProperties.idl @@ -27,6 +27,16 @@ module com { module sun { module star { module linguistic2 { */ published interface XLinguProperties { + /** Gives access to the properties. + + Among those properties are: + <ul> + <li>boolean IsSpellClosedCompound defines whether spell checking should be accept + rule-based closed compounding of dictionary words. Since LibreOffice 7.6.</li> + <li>boolean IsSpellHyphenatedCompound defines whether spell checking should be accept + rule-based hyphenated compounding of dictionary words. Since LibreOffice 7.6.</li> + </ul> + */ interface com::sun::star::beans::XPropertySet; /** defines if the dictionary-list should be used for spell checking @@ -106,20 +116,6 @@ published interface XLinguProperties */ [attribute] com::sun::star::lang::Locale DefaultLocale_CTL; - /** defines whether spell checking should be accept rule-based - closed compounding of dictionary words. - - @since LibreOffice 7.6 - */ - [attribute] boolean IsSpellClosedCompound; - - /** defines whether spell checking should be accept rule-based - hyphenated compounding of dictionary words. - - @since LibreOffice 7.6 - */ - [attribute] boolean IsSpellHyphenatedCompound; - }; diff --git a/offapi/type_reference/offapi.idl b/offapi/type_reference/offapi.idl index 027af1657732..f17e103ca8d3 100644 --- a/offapi/type_reference/offapi.idl +++ b/offapi/type_reference/offapi.idl @@ -8968,8 +8968,6 @@ module com { [attribute] boolean IsWrapReverse; [attribute] ::com::sun::star::lang::Locale DefaultLocale_CJK; [attribute] ::com::sun::star::lang::Locale DefaultLocale_CTL; - [attribute] boolean IsSpellClosedCompound; - [attribute] boolean IsSpellHyphenatedCompound; }; published service LinguProperties: ::com::sun::star::linguistic2::XLinguProperties; published struct LinguServiceEvent: ::com::sun::star::lang::EventObject {