diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-10-17 09:07:47 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-10-17 11:45:49 +0200 |
commit | 1a94cd8257ef4c462eaaa6d49bf4f26c9ac56a5e (patch) | |
tree | b31a01f86aa0689f60c0d8ec8812cb2df40e5a94 /sw/inc/swtypes.hxx | |
parent | c308ed9fc6c2a223a51fd585e6e0a7d7f6c83352 (diff) |
sw content controls: add rendering for the alias
- add a new SwFrameMenuButtonBase subclass to show the title/alias of
the content control under the cursor, if it's non-empty
- hide it when leaving the content control
- set its label to the alias from SwContentControl
- set the position similar to footer frame menu buttons, at the first
text portion of the content control
- make the label clickable and bind the handler to the content control
properties dialog
Change-Id: Ia35f0cc59c70910fb88719b207ef9e498d6760d3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141441
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/inc/swtypes.hxx')
-rw-r--r-- | sw/inc/swtypes.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/swtypes.hxx b/sw/inc/swtypes.hxx index 55ed0c22240d..96c0fb5008c3 100644 --- a/sw/inc/swtypes.hxx +++ b/sw/inc/swtypes.hxx @@ -246,6 +246,7 @@ enum class FrameControlType Header, Footer, FloatingTable, + ContentControl, Outline }; |