diff options
author | Vitaliy Anderson <vanderson@smartru.com> | 2017-01-13 05:26:07 -0800 |
---|---|---|
committer | Aron Budea <aron.budea@collabora.com> | 2018-03-14 21:24:26 +0100 |
commit | 2c736afc7fb3fa745511e6e7232f6d86b553ce77 (patch) | |
tree | 75f7ffcc7c6e42e3bc2cd1168438047bdf34dd19 /include | |
parent | 69ee2b1cc6969f8850f88c5257df289ccfd88c5d (diff) |
tdf#104349, tdf#104668 MS Word compatibility trailing blanks option
The commits: 1c1747ac13a9d895df0fcba2fbb1bd266dccd74b and 4a410dd147f7160c1d62e3e0b67388a178d5136c
make trailing spaces and their highlighting compatible with the Ms Word.
The option is enabled by default for imported MS Word formats: .doc, .docx, .rtf
For the ODF files the option is disabled by default
Also it allows saving and loading the option state to the ODF UserData.
It may be manually set in Tools->Options->LibreOffice Writer->Compatibility
Reviewed-on: https://gerrit.libreoffice.org/33046
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
(cherry picked from commit 7fa20da88a4778bdf20d6ca0491fe97ae03ab554)
Change-Id: I5a86359c52d18e50bbb54b9f37c79b672591c369
(cherry picked from commit 6c86ae2fec7d2a1375a3e9683ea2155448990ce7)
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/objsh.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx index 84ff20818883..ab885358b66f 100644 --- a/include/sfx2/objsh.hxx +++ b/include/sfx2/objsh.hxx @@ -460,6 +460,9 @@ public: // Transfer IFace bool IsAbortingImport() const; void FinishedLoading( SfxLoadedFlags nWhich = SfxLoadedFlags::ALL ); + + virtual void SetFormatSpecificCompatibilityOptions( const OUString& /*rFilterTypeName*/ ) { /* Do not do anything here; Derived classes must overload to do actual work */ }; + void TemplateDisconnectionAfterLoad(); bool IsLoading() const; bool IsLoadingFinished() const; |