20#ifndef INCLUDED_SW_SOURCE_CORE_INC_PAMTYP_HXX
21#define INCLUDED_SW_SOURCE_CORE_INC_PAMTYP_HXX
43 struct SearchOptions2;
73 sal_Int32*, css::util::SearchResult* );
91 bool bInReadOnly =
false,
SwRootFrame const* pLayout =
nullptr);
96 const SwPaM & rOrigRg, std::optional<SwPaM>& rDestinaton);
104 const SwPaM & rRegion,
bool bInReadOnly,
106 std::unique_ptr<SvxSearchItem>& xSearchItem);
110 const SwPaM & rRegion,
bool bInReadOnly,
115 const SwPaM & rPam,
bool bInReadOnly,
Marks a character position inside a document model content node (SwContentNode)
Marks a node in the document model.
Base class of the Writer document model elements.
PaM is Point and Mark: a selection of the document model.
The root element of a Writer document layout.
A wrapper around SfxPoolItem to store the start position of (usually) a text portion,...
An SwTextAttr container, stores all directly formatted text portions for a text node.
Dialog to specify the properties of date form field.
bool FindTextImpl(SwPaM &rSearchPam, const i18nutil::SearchOptions2 &rSearchOpt, bool bSearchInNotes, utl::TextSearch &rSText, SwMoveFnCollection const &fnMove, const SwPaM &rRegion, bool bInReadOnly, SwRootFrame const *const pLayout, std::unique_ptr< SvxSearchItem > &xSearchItem)
Search.
void MakeRegion(SwMoveFnCollection const &fnMove, const SwPaM &rOrigRg, std::optional< SwPaM > &rPam)
make a new region
bool FindAttrImpl(SwPaM &rSearchPam, const SfxPoolItem &rAttr, SwMoveFnCollection const &fnMove, const SwPaM &rRegion, bool bInReadOnly, SwRootFrame const *const pLayout)
bool FindFormatImpl(SwPaM &rSearchPam, const SwFormat &rFormat, SwMoveFnCollection const &fnMove, const SwPaM &rRegion, bool bInReadOnly, SwRootFrame const *const pLayout)
SwContentNode *(* GoNds)(SwNodeIndex *, bool)
void GoEndOfSection(SwPosition *)
void GoEndDoc(SwPosition *)
SwContentNode *(* GoPos)(SwPosition *, bool)
void(* MvSection)(SwPosition *)
SwContentNode * GetNode(SwPaM &, bool &, SwMoveFnCollection const &, bool bInReadOnly=false, SwRootFrame const *pLayout=nullptr)
This function returns the next node in direction of search.
SwContentNode * GoPreviousPos(SwPosition *pIdx, bool)
const SwTextAttr * GetFrwrdTextHint(const SwpHints &, size_t &, sal_Int32)
void GoStartOfSection(SwPosition *)
bool(utl::TextSearch::* SearchText)(const OUString &, sal_Int32 *, sal_Int32 *, css::util::SearchResult *)
SwContentNode * GoNextNds(SwNodeIndex *pIdx, bool)
bool(* GoNd)(SwNode *, SwContentIndex *, SwCursorSkipMode)
bool GoNext(SwNode *pNd, SwContentIndex *pIdx, SwCursorSkipMode nMode)
void(* GoSection)(SwPosition *)
void GoEndSection(SwPosition *)
go to the end of the current base section
SwContentNode * GoNextPos(SwPosition *pIdx, bool)
const SwTextAttr * GetBkwrdTextHint(const SwpHints &, size_t &, sal_Int32)
SwContentNode * GoPreviousNds(SwNodeIndex *pIdx, bool)
void GoStartDoc(SwPosition *)
bool(SwPosition::* CmpOp)(const SwPosition &) const
bool GoPrevious(SwNode *pNd, SwContentIndex *pIdx, SwCursorSkipMode nMode)
const SwTextAttr *(* GetHint)(const SwpHints &, size_t &, sal_Int32)
void(* GoDoc)(SwPosition *)
void GoStartSection(SwPosition *)
Marks a position in the document model.