summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/txtfrm.hxx
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-12-11 18:43:35 +0100
committerMichael Stahl <Michael.Stahl@cib.de>2018-12-18 17:55:28 +0100
commit943d9be770e550d20ca72274fa5e914d1f61e605 (patch)
treebd3a221018c1dd7c256ce4ad5bbcb96bb67729fa /sw/source/core/inc/txtfrm.hxx
parent7d481f7ac1971be622520258a4b13ada29282844 (diff)
sw_redlinehide_4b: visibility checks for bookmarks too
SwCursorShell::GotoMark(), GoNextBookmark(), GoPrevBookmark() check visibility of mark in layout. SwWrtShell::GotoMark() returns whether it was successful. EnhancedPDFExport skips marks that are not visible when creating links. Change-Id: I36c0706c18a5f861b15eaf451a97daec04104056
Diffstat (limited to 'sw/source/core/inc/txtfrm.hxx')
-rw-r--r--sw/source/core/inc/txtfrm.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx
index 49de0599e4a9..6a878f7500ba 100644
--- a/sw/source/core/inc/txtfrm.hxx
+++ b/sw/source/core/inc/txtfrm.hxx
@@ -26,6 +26,7 @@
namespace com { namespace sun { namespace star { namespace linguistic2 { class XHyphenatedWord; } } } }
+namespace sw { namespace mark { class IMark; } }
class SwCharRange;
class SwTextNode;
class SwTextFormatter;
@@ -135,6 +136,8 @@ OUString GetExpandTextMerged(SwRootFrame const* pLayout,
SwTextNode const& rNode, bool bWithNumber,
bool bWithSpacesForLevel, ExpandMode i_mode);
+bool IsMarkHidden(SwRootFrame const& rLayout, ::sw::mark::IMark const& rMark);
+
} // namespace sw
/// Represents the visualization of a paragraph. Typical upper is an