summaryrefslogtreecommitdiff
path: root/sw/sdi
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2017-05-14 15:09:02 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2017-05-18 00:44:34 +0200
commit08de2c31cb0da07ffc23f813379f810607e1cc7e (patch)
tree0e7152435d71df47c6a1adb17025d627862d801d /sw/sdi
parent3884bb38f0712b6b1616b5d788cd00e90b14fcd3 (diff)
Watermark: Insert watermark command
* added new command .uno:Watermark * if no arguments are provided the dialog is opened where user can enter the text * with provided Text argument the watermark is created * created SfxWatermarkItem to transfer watermark properties * dialog loads current setings * SetClassification use SetWatermark Change-Id: Ifc1319f5aa7c11bb141f8e4b5b9a5088613021c2 Reviewed-on: https://gerrit.libreoffice.org/37599 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'sw/sdi')
-rw-r--r--sw/sdi/_basesh.sdi6
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/sdi/_basesh.sdi b/sw/sdi/_basesh.sdi
index 0df1825ba2c6..52b3a031d3a5 100644
--- a/sw/sdi/_basesh.sdi
+++ b/sw/sdi/_basesh.sdi
@@ -377,6 +377,12 @@ interface BaseTextSelection
StateMethod = StateStyle ;
]
+ SID_WATERMARK
+ [
+ ExecMethod = Execute ;
+ StateMethod = StateStyle ;
+ ]
+
//OS: Selection.Escape gibt es zusaetzlich zu Window.Escape
FN_ESCAPE // status(final|play|rec)