diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-07-27 13:59:01 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-08-24 11:11:16 +0200 |
commit | f8f9c0f50c99ec554584014a10e30b69d50b0fc8 (patch) | |
tree | 3587af42cdce7162d3d65cb401c311530d5adb76 /sw/inc/cmdid.h | |
parent | gbuild: strip away unexpected CR char at the end of Windows filenames (diff) | |
download | core-f8f9c0f50c99ec554584014a10e30b69d50b0fc8.tar.gz core-f8f9c0f50c99ec554584014a10e30b69d50b0fc8.zip |
sw: add new TextParagraph property to XTextRange
A text range represents a selection or cursor position, so similar to
sections or tables, it makes sense to expose the containing paragraph as
well. This new property does exactly that.
Reviewed-on: https://gerrit.libreoffice.org/40483
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
(cherry picked from commit 7ed402ba648dd0f3de3b0dadebc13403b2c0a620)
Conflicts:
sw/qa/extras/uiwriter/uiwriter.cxx
Change-Id: If92a3b5e61f13c7c14ca52bc8593a2b286a596cc
Diffstat (limited to 'sw/inc/cmdid.h')
-rw-r--r-- | sw/inc/cmdid.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/cmdid.h b/sw/inc/cmdid.h index 09cd1f48513c..6f1ec12ee124 100644 --- a/sw/inc/cmdid.h +++ b/sw/inc/cmdid.h @@ -544,6 +544,7 @@ #define FN_UNO_FOOTER (FN_EXTRA2 + 38) #define FN_UNO_FOOTER_LEFT (FN_EXTRA2 + 39) #define FN_UNO_FOOTER_RIGHT (FN_EXTRA2 + 40) +#define FN_UNO_TEXT_PARAGRAPH (FN_EXTRA2 + 41) #define FN_UNO_FOLLOW_STYLE (FN_EXTRA2 + 59) #define FN_API_CALL (FN_EXTRA2 + 60) |