20 #ifndef INCLUDED_SW_SOURCE_CORE_INC_PAMTYP_HXX
21 #define INCLUDED_SW_SOURCE_CORE_INC_PAMTYP_HXX
41 struct SearchOptions2;
66 sal_Int32*, css::util::SearchResult* );
83 bool bInReadOnly =
false,
SwRootFrame const* pLayout =
nullptr);
88 const SwPaM & rOrigRg);
96 const SwPaM & rRegion,
bool bInReadOnly,
98 std::unique_ptr<SvxSearchItem>& xSearchItem);
102 const SwPaM & rRegion,
bool bInReadOnly,
107 const SwPaM & rPam,
bool bInReadOnly,
Marks a position in the document model.
const SwTextAttr * GetBkwrdTextHint(const SwpHints &, size_t &, sal_Int32)
std::unique_ptr< SwPaM > MakeRegion(SwMoveFnCollection const &fnMove, const SwPaM &rOrigRg)
make a new region
void GoStartDoc(SwPosition *)
void(* GoSection)(SwPosition *)
bool(SwPosition::* CmpOp)(const SwPosition &) const
Dialog to specify the properties of date form field.
SwContentNode *(* GoNds)(SwNodeIndex *, bool)
The root element of a Writer document layout.
A wrapper around SfxPoolItem to store the start position of (usually) a text portion, with an optional end.
SwContentNode * GetNode(SwPaM &, bool &, SwMoveFnCollection const &, bool bInReadOnly=false, SwRootFrame const *pLayout=nullptr)
This function returns the next node in direction of search.
void GoEndSection(SwPosition *)
go to the end of the current base section
void(* MvSection)(SwNodeIndex *)
bool FindFormatImpl(SwPaM &rSearchPam, const SwFormat &rFormat, SwMoveFnCollection const &fnMove, const SwPaM &rRegion, bool bInReadOnly, SwRootFrame const *const pLayout)
void GoEndDoc(SwPosition *)
bool FindAttrImpl(SwPaM &rSearchPam, const SfxPoolItem &rAttr, SwMoveFnCollection const &fnMove, const SwPaM &rRegion, bool bInReadOnly, SwRootFrame const *const pLayout)
PaM is Point and Mark: a selection of the document model.
void GoStartSection(SwPosition *)
Marks a character position inside a document model node.
bool(* GoNd)(SwNode *, SwIndex *, sal_uInt16)
Marks a node in the document model.
bool GoPrevious(SwNode *pNd, SwIndex *pIdx, sal_uInt16 nMode)
void(* GoDoc)(SwPosition *)
An SwTextAttr container, stores all directly formatted text portions for a text node.
bool GoNext(SwNode *pNd, SwIndex *pIdx, sal_uInt16 nMode)
bool(utl::TextSearch::* SearchText)(const OUString &, sal_Int32 *, sal_Int32 *, css::util::SearchResult *)
SwContentNode * GoPreviousNds(SwNodeIndex *pIdx, bool)
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.
const SwTextAttr *(* GetHint)(const SwpHints &, size_t &, sal_Int32)
const SwTextAttr * GetFrwrdTextHint(const SwpHints &, size_t &, sal_Int32)
SwContentNode * GoNextNds(SwNodeIndex *pIdx, bool)
Base class of the Writer document model elements.