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 /officecfg | |
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 'officecfg')
-rw-r--r-- | officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu | 11 | ||||
-rw-r--r-- | officecfg/registry/schema/org/openoffice/Office/Writer.xcs | 10 |
2 files changed, 20 insertions, 1 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu index f3e04aab39b6..d4f3f0c70b4b 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu @@ -412,6 +412,17 @@ <value>true</value> </prop> </node> + <node oor:name=".uno:ShowChangesInMargin" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Show tracked deletions in margin</value> + </prop> + <prop oor:name="TooltipLabel" oor:type="xs:string"> + <value xml:lang="en-US">Show tracked deletions in margin</value> + </prop> + <prop oor:name="Properties" oor:type="xs:int"> + <value>1</value> + </prop> + </node> <node oor:name=".uno:GotoPage" oor:op="replace"> <prop oor:name="Label" oor:type="xs:string"> <value xml:lang="en-US">Go t~o Page...</value> diff --git a/officecfg/registry/schema/org/openoffice/Office/Writer.xcs b/officecfg/registry/schema/org/openoffice/Office/Writer.xcs index a50ac3e247cd..069b68aac076 100644 --- a/officecfg/registry/schema/org/openoffice/Office/Writer.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/Writer.xcs @@ -1072,13 +1072,21 @@ <value>true</value> </prop> <prop oor:name="ShowOutlineContentVisibilityButton" oor:type="xs:boolean" oor:nillable="false"> - <!-- UIHints: Tools - Options - Writer - View - [Section] Display --> + <!-- UIHints: Tools - Options - Writer - View - [Section] Outline mode --> <info> <desc>Enables the writer to show the outline content visibility button.</desc> <label>Show outline content visibility button</label> </info> <value>false</value> </prop> + <prop oor:name="ShowChangesInMargin" oor:type="xs:boolean" oor:nillable="false"> + <!-- UIHints: Tools - Options - Writer - View - [Section] Display tracked changes --> + <info> + <desc>Enables the writer to show tracked deletions in margin.</desc> + <label>Show tracked deletions in margin</label> + </info> + <value>false</value> + </prop> </group> <group oor:name="NonprintingCharacter"> <info> |