diff options
author | László Németh <nemeth@numbertext.org> | 2020-10-14 15:29:08 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2020-10-15 15:11:12 +0200 |
commit | 1e383097aa929176bac33f46787e16d945a0a98b (patch) | |
tree | 2109021fecc8f1887d6609e390bc0e8711cf9f93 /sw/sdi | |
parent | 464f872ea9b5d6d5090cad2ebf9d561e778f3f53 (diff) |
tdf#34355 sw,offapi,officecfg: show track changes in margin
In ShowTrackedChanges mode, hide tracked deletions
in text optionally and show their shortened text
in margin next to the vertical "Changed line" mark
(showing only the first deletion of the line).
Add "Tracked deletions in margin" checkbox to Writer->View page.
Add "Display tracked changes" and "Outline View" sections to View, too.
Add property ShowChangesInMargin to com::sun::star::text::ViewSettings.
Add config setting:
org/openoffice/Office/Writer/Content/Display/ShowChangesInMargin
Show more information in Manage Changes dialog window
about the tracked deletions with restricted visibility
in ShowChangesInMargin mode: show shortened text content
of a deletion in its (otherwise empty) Comment field.
Change-Id: I1d19a4bf8225f536a635c6dd5062344c51e03b79
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104350
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sw/sdi')
-rw-r--r-- | sw/sdi/_viewsh.sdi | 7 | ||||
-rw-r--r-- | sw/sdi/swriter.sdi | 19 |
2 files changed, 25 insertions, 1 deletions
diff --git a/sw/sdi/_viewsh.sdi b/sw/sdi/_viewsh.sdi index 8231265d4e21..61bd43768cf0 100644 --- a/sw/sdi/_viewsh.sdi +++ b/sw/sdi/_viewsh.sdi @@ -967,5 +967,12 @@ interface BaseTextEditView StateMethod = StateViewOptions ; ] + FN_SHOW_CHANGES_IN_MARGIN + [ + ExecMethod = ExecViewOptions ; + StateMethod = StateViewOptions ; + MenuConfig , AccelConfig , ToolBoxConfig ; + ] + } diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi index 3d29704f8f1b..ccfc2821c4dc 100644 --- a/sw/sdi/swriter.sdi +++ b/sw/sdi/swriter.sdi @@ -7930,7 +7930,7 @@ SfxVoidItem NavElement FN_NAV_ELEMENT GroupId = SfxGroupId::Navigator; ] -SfxBoolItem ShowInlineTooltips FN_SHOW_INLINETOOLTIPS +SfxBoolItem ShowChangesInMargin FN_SHOW_CHANGES_IN_MARGIN () [ AutoUpdate = FALSE, @@ -7981,6 +7981,23 @@ SfxBoolItem ShowOutlineContentVisibilityButton FN_SHOW_OUTLINECONTENTVISIBILITYB GroupId = SfxGroupId::View; ] +SfxBoolItem ShowInlineTooltips FN_SHOW_INLINETOOLTIPS +() +[ + AutoUpdate = FALSE, + FastCall = FALSE, + ReadOnlyDoc = TRUE, + Toggle = TRUE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + + AccelConfig = TRUE, + MenuConfig = TRUE, + ToolBoxConfig = TRUE, + GroupId = SfxGroupId::View; +] + SfxVoidItem TextFormField FN_INSERT_TEXT_FORMFIELD [ |