summaryrefslogtreecommitdiff
path: root/sw/inc/editsh.hxx
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2017-09-24 21:51:13 -0400
committerAshod Nakashian <ashnakash@gmail.com>2017-09-26 13:58:52 +0200
commit3823697d99b28592d8923e099b6aab577d5cd339 (patch)
treef99cf1e273e7f231d04272f0f55ae31e6f7f4c8e /sw/inc/editsh.hxx
parentcfb355ec205044234840405fde4343898c2ea97b (diff)
TSCP: refactor paragraph metadata field check
This moves the logic into SwEditShell next to the exiting paragraph metadata infrastructure. Change-Id: I6c12bfca3d2e1b2bc8697f03f4de1b7c3e14b95a Reviewed-on: https://gerrit.libreoffice.org/42742 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'sw/inc/editsh.hxx')
-rw-r--r--sw/inc/editsh.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx
index 50c5bf75e44e..7a8164c9ef70 100644
--- a/sw/inc/editsh.hxx
+++ b/sw/inc/editsh.hxx
@@ -380,6 +380,10 @@ public:
/// Validate paragraph signatures, if any, at the cursor.
void ValidateParagraphSignatures(bool updateDontRemove);
+ /// Returns true iff the cursor is within a paragraph metadata field.
+ /// Currently there are two variants: signature and classification.
+ bool IsCursorInParagraphMetadataField() const;
+
void Insert2(SwField const &, const bool bForceExpandHints);
void UpdateFields( SwField & ); ///< One single field.