diff options
author | László Németh <nemeth@numbertext.org> | 2020-06-23 18:49:46 +0200 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2020-06-30 19:44:42 +0200 |
commit | 7ffc9d592299a71c86f11a57bc2cd5037927f522 (patch) | |
tree | 24d11494247a83f2698949f48397d3bb7a886f26 /include | |
parent | 62b4803b32963f9529e6380f14a5b7d4edb8c4ff (diff) |
tdf#133524 add option to angle quote AutoCorrect
in Localized Options page of AutoCorrect Options
dialog window:
[x] Replace << and >> with angle quotes
Note: this is optional part of Double Quotes replacement.
Note: fix also redundant loading of new localized option
added by commit da64ec8c8a91db6a6ec9657898f081d5ee67e739
(tdf#133589 AutoCorrect: transliterate to Old Hungarian)
Conflicts:
cui/source/tabpages/autocdlg.cxx
editeng/source/misc/svxacorr.cxx
Change-Id: Ib0c7e8837a89c3772c5db76720811d440e62183a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97094
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
(cherry-picked from commit 77b213890a96d144d9cfacdfd35ac0bba68b9f7a
and commit 076c95b27bf0e9be1fa1c077674cf974b22210fd)
Change-Id: I3877ae930fa3e1e813a4b93b9ec4c2b18f8f5dd1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97359
Tested-by: Jenkins
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/svxacorr.hxx | 3 | ||||
-rw-r--r-- | include/editeng/swafopt.hxx | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx index c9908c633d01..52f7bfdd5271 100644 --- a/include/editeng/svxacorr.hxx +++ b/include/editeng/svxacorr.hxx @@ -72,13 +72,14 @@ enum class ACFlags : sal_uInt32 { ChgSglQuotes = 0x00001000, // Replace simple quotes CorrectCapsLock = 0x00002000, // Correct accidental use of cAPS LOCK key TransliterateRTL = 0x00004000, // Transliterate RTL text + ChgAngleQuotes = 0x00008000, // >>, << -> angle quotes in some languages ChgWordLstLoad = 0x20000000, // Replacement list loaded CplSttLstLoad = 0x40000000, // Exception list for Capital letters Start loaded WrdSttLstLoad = 0x80000000, // Exception list for Word Start loaded }; namespace o3tl { - template<> struct typed_flags<ACFlags> : is_typed_flags<ACFlags, 0xe0007fff> {}; + template<> struct typed_flags<ACFlags> : is_typed_flags<ACFlags, 0xe000ffff> {}; } enum class ACQuotes diff --git a/include/editeng/swafopt.hxx b/include/editeng/swafopt.hxx index 682e85e4d77a..4fd1207cefb4 100644 --- a/include/editeng/swafopt.hxx +++ b/include/editeng/swafopt.hxx @@ -104,6 +104,7 @@ struct EDITENG_DLLPUBLIC SvxSwAutoFormatFlags bool bChgToEnEmDash : 1; bool bAddNonBrkSpace : 1; bool bTransliterateRTL : 1; + bool bChgAngleQuotes : 1; bool bChgWeightUnderl : 1; bool bSetINetAttr : 1; |