|
LibreOffice Module sw (master) 1
|
#include <memory>#include <com/sun/star/util/SearchFlags.hpp>#include <com/sun/star/util/SearchResult.hpp>#include <comphelper/lok.hxx>#include <o3tl/safeint.hxx>#include <rtl/ustrbuf.hxx>#include <svx/svdview.hxx>#include <svl/srchitem.hxx>#include <sfx2/sfxsids.hrc>#include <editeng/outliner.hxx>#include <osl/diagnose.h>#include <wrtsh.hxx>#include <txatritr.hxx>#include <fldbas.hxx>#include <fmtfld.hxx>#include <txtfld.hxx>#include <txtfrm.hxx>#include <rootfrm.hxx>#include <swcrsr.hxx>#include <redline.hxx>#include <doc.hxx>#include <IDocumentUndoRedo.hxx>#include <IDocumentState.hxx>#include <IDocumentDrawModelAccess.hxx>#include <IDocumentRedlineAccess.hxx>#include <dcontact.hxx>#include <pamtyp.hxx>#include <ndtxt.hxx>#include <swundo.hxx>#include <UndoInsert.hxx>#include <breakit.hxx>#include <docsh.hxx>#include <PostItMgr.hxx>#include <view.hxx>Go to the source code of this file.
Namespaces | |
| namespace | sw |
| Dialog to specify the properties of date form field. | |
Functions | |
| static OUString | lcl_CleanStr (const SwTextNode &rNd, SwTextFrame const *const pFrame, SwRootFrame const *const pLayout, AmbiguousIndex const nStart, AmbiguousIndex &rEnd, std::vector< AmbiguousIndex > &rArr, bool const bRemoveSoftHyphen, bool const bRemoveCommentAnchors) |
| static bool | DoSearch (SwPaM &rSearchPam, const i18nutil::SearchOptions2 &rSearchOpt, utl::TextSearch &rSText, SwMoveFnCollection const &fnMove, bool bSrchForward, bool bRegSearch, bool bChkEmptyPara, bool bChkParaEnd, AmbiguousIndex &nStart, AmbiguousIndex &nEnd, AmbiguousIndex nTextLen, SwTextNode const *pNode, SwTextFrame const *pTextFrame, SwRootFrame const *pLayout, SwPaM *pPam) |
| bool | sw::FindTextImpl (SwPaM &rSearchPam, const i18nutil::SearchOptions2 &rSearchOpt, bool bSearchInNotes, utl::TextSearch &rSText, SwMoveFnCollection const &fnMove, const SwPaM &rRegion, bool bInReadOnly, SwRootFrame const *pLayout, std::unique_ptr< SvxSearchItem > &xSearchItem) |
| Search. More... | |
| bool | sw::ReplaceImpl (SwPaM &rCursor, OUString const &rReplacement, bool const bRegExp, SwDoc &rDoc, SwRootFrame const *const pLayout) |
| std::optional< OUString > | sw::ReplaceBackReferences (const i18nutil::SearchOptions2 &rSearchOpt, SwPaM *pPam, SwRootFrame const *pLayout) |
| Helperfunction to resolve backward references in regular expressions. More... | |
|
static |
Definition at line 724 of file findtxt.cxx.
References abs(), i18nutil::SearchOptions2::AlgorithmType2, CH_TXTATR_INWORD, CHAR_SOFTHYPHEN, SwPaM::Exchange(), fnMoveForward, SwMoveFnCollection::fnSearch, g_pBreakIt, SwTextNode::GetLang(), SwTextFrame::GetLangOfChar(), SwBreakIt::GetLocale(), SwPaM::GetMark(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwPaM::GetPoint(), SwBreakIt::GetRealScriptOfText(), GoInContent(), LANGUAGE_SYSTEM, lcl_CleanStr(), SwTextFrame::MapViewToModelPos(), SwPaM::Move(), n, i18nutil::SearchOptions2::searchString, SwPosition::SetContent(), utl::TextSearch::SetLocale(), and SwPaM::SetMark().
Referenced by sw::FindTextImpl().
|
static |
Definition at line 181 of file findtxt.cxx.
References CHAR_SOFTHYPHEN, SwTextAttr::GetStart(), SwTextNode::GetText(), SwTextFrame::GetText(), SwTextAttr::HasDummyChar(), i, SwTextFrame::MapModelToView(), RES_TXTATR_ANNOTATION(), RES_TXTATR_FIELD(), RES_TXTATR_FLYCNT(), RES_TXTATR_META(), RES_TXTATR_METAFIELD(), RES_TXTATR_REFMARK(), RES_TXTATR_TOXMARK(), and SwTextAttr::Which().
Referenced by DoSearch(), and sw::ReplaceBackReferences().