summaryrefslogtreecommitdiff
path: root/sw/sdi
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2023-01-10 20:21:31 +0900
committerTomaž Vajngerl <quikee@gmail.com>2023-01-14 12:26:15 +0000
commitd4e4a2b96a787b4f99d68d7a417c37c97b47c170 (patch)
tree06e850a80368b237eac5fc68cefd4d97f1376ece /sw/sdi
parentef3c34596ebc6e6e3b85c4093a28d48fe328c1a7 (diff)
ThemeDialog added which allows to change the theme used by the doc.
ThemeDialog is a common dialog that can be used to select the theme used by the document. Currently it only implements colors but in the future also the fonts and formats (for shapes) will be adde. The IThemeColorChanger interface is used by the dialog to change the actual color values inside the document. For the writer the existing ThemeColorChanger is now implementing the interface. The dialog is accessible in Writer at Format -> Theme... in the main menu. Change-Id: I23c7dc9668cdc5427f36d604a76c433d6dbef497 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145264 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sw/sdi')
-rw-r--r--sw/sdi/_basesh.sdi7
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/sdi/_basesh.sdi b/sw/sdi/_basesh.sdi
index 5ac4cb001eb3..a1468ffac8b1 100644
--- a/sw/sdi/_basesh.sdi
+++ b/sw/sdi/_basesh.sdi
@@ -617,4 +617,11 @@ interface BaseTextSelection
StateMethod = GetState;
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
]
+
+ SID_THEME_DIALOG
+ [
+ ExecMethod = ExecDlg;
+ StateMethod = GetState;
+ DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
+ ]
}