diff options
author | Jim Raykowski <raykowj@gmail.com> | 2020-04-21 01:49:36 -0800 |
---|---|---|
committer | Jim Raykowski <raykowj@gmail.com> | 2020-09-20 08:25:24 +0200 |
commit | 6f7f5f280abaf4ee84472359acd4952b2eea40a4 (patch) | |
tree | f8684852dfb7b5e9a1b5f5e8d1abb588bb8aa02a /sw/inc | |
parent | c6b6995004d34cadaec68e2b6e17667d43f9995e (diff) |
tdf#132366 Writer enhancement that highlights search results
This enhancement selects outline headings in the Writer Navigator
content tree according to 'Find All' search results. It does this when
the content navigation view is set to show headings content only.
Change-Id: I77dabcdd38c8877b7f8a177689da094638d5fe00
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92886
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/crsrsh.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx index 78b32299ff31..d6888bcac2cb 100644 --- a/sw/inc/crsrsh.hxx +++ b/sw/inc/crsrsh.hxx @@ -610,7 +610,7 @@ public: // to the next/previous or the given OutlineNode void GotoOutline( SwOutlineNodes::size_type nIdx ); // find the "outline position" in the nodes array of the current chapter - SwOutlineNodes::size_type GetOutlinePos( sal_uInt8 nLevel = UCHAR_MAX ); + SwOutlineNodes::size_type GetOutlinePos(sal_uInt8 nLevel = UCHAR_MAX, SwPaM* pPaM = nullptr); // select the given range of OutlineNodes. Optionally including the children // the sal_uInt16s are the positions in OutlineNodes-Array (EditShell) bool MakeOutlineSel(SwOutlineNodes::size_type nSttPos, SwOutlineNodes::size_type nEndPos, |