LibreOffice Module sw (master)  1
Namespaces | Functions
findtxt.cxx File Reference
#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 <svx/svdview.hxx>
#include <svl/srchitem.hxx>
#include <sfx2/sfxsids.hrc>
#include <editeng/outliner.hxx>
#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>
Include dependency graph for findtxt.cxx:

Go to the source code of this file.

Namespaces

 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)
 Search. More...
 
bool sw::ReplaceImpl (SwPaM &rCursor, OUString const &rReplacement, bool const bRegExp, SwDoc &rDoc, SwRootFrame const *const pLayout)
 
o3tl::optional< OUString > sw::ReplaceBackReferences (const i18nutil::SearchOptions2 &rSearchOpt, SwPaM *pPam, SwRootFrame const *pLayout)
 Helperfunction to resolve backward references in regular expressions. More...
 

Function Documentation

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 
)
static
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