summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVitaliy Anderson <vanderson@smartru.com>2017-01-13 08:37:39 -0800
committerMike Kaganski <mike.kaganski@collabora.com>2017-01-18 08:47:22 +0000
commitfb4943338317c8f24b143d7d1f0b8f2069af1577 (patch)
tree5b5bb0df8f8fa88f15832b9e149191e477bfba59 /include
parentc8bdf901efd034f24bacf5e2d617a00bb1692238 (diff)
tdf#104349, tdf#104668 MS Word compatibility trailing blanks option part 2
Create the option in Tools->Options->LibreOffice Writer->Compatibility Change-Id: I7c766138db9210d3e7a97eea48b9265ee9762199 Reviewed-on: https://gerrit.libreoffice.org/33148 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/unotools/compatibility.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/unotools/compatibility.hxx b/include/unotools/compatibility.hxx
index 229190c42415..551627b251a1 100644
--- a/include/unotools/compatibility.hxx
+++ b/include/unotools/compatibility.hxx
@@ -40,7 +40,8 @@ enum CompatibilityOptions
COPT_USE_OUR_TEXTWRAPPING,
COPT_CONSIDER_WRAPPINGSTYLE,
COPT_EXPAND_WORDSPACE,
- COPT_PROTECT_FORM
+ COPT_PROTECT_FORM,
+ COPT_MS_WORD_COMP_TRAILING_BLANKS
};
/*-************************************************************************************************************
@@ -61,6 +62,7 @@ enum CompatibilityOptions
#define COMPATIBILITY_PROPERTYNAME_CONSIDERWRAPPINGSTYLE "ConsiderWrappingStyle"
#define COMPATIBILITY_PROPERTYNAME_EXPANDWORDSPACE "ExpandWordSpace"
#define COMPATIBILITY_PROPERTYNAME_PROTECTFORM "ProtectForm"
+#define COMPATIBILITY_PROPERTYNAME_MSWORDTRAILINGBLANKS "MsWordCompTrailingBlanks"
#define COMPATIBILITY_DEFAULT_NAME "_default"
@@ -132,7 +134,8 @@ class UNOTOOLS_DLLPUBLIC SvtCompatibilityOptions: public utl::detail::Options
bool bUseOurTextWrapping,
bool bConsiderWrappingStyle,
bool bExpandWordSpace,
- bool bProtectForm );
+ bool bProtectForm,
+ bool bMsWordCompTrailingBlanks );
bool IsUsePrtDevice() const;
bool IsAddSpacing() const;
@@ -145,6 +148,7 @@ class UNOTOOLS_DLLPUBLIC SvtCompatibilityOptions: public utl::detail::Options
bool IsUseOurTextWrapping() const;
bool IsConsiderWrappingStyle() const;
bool IsExpandWordSpace() const;
+ bool IsMsWordCompTrailingBlanks() const;
private: