LibreOffice Module sw (master) 1
|
Go to the source code of this file.
Classes | |
struct | SwMoveFnCollection |
Namespaces | |
namespace | i18nutil |
namespace | sw |
Dialog to specify the properties of date form field. | |
Typedefs | |
typedef bool(* | GoNd) (SwNode *, SwIndex *, sal_uInt16) |
typedef SwContentNode *(* | GoNds) (SwNodeIndex *, bool) |
typedef void(* | GoDoc) (SwPosition *) |
typedef void(* | GoSection) (SwPosition *) |
typedef bool(SwPosition::* | CmpOp) (const SwPosition &) const |
typedef const SwTextAttr *(* | GetHint) (const SwpHints &, size_t &, sal_Int32) |
typedef bool(utl::TextSearch::* | SearchText) (const OUString &, sal_Int32 *, sal_Int32 *, css::util::SearchResult *) |
typedef void(* | MvSection) (SwNodeIndex *) |
Functions | |
void | GoStartDoc (SwPosition *) |
void | GoEndDoc (SwPosition *) |
void | GoStartSection (SwPosition *) |
void | GoEndSection (SwPosition *) |
go to the end of the current base section More... | |
const SwTextAttr * | GetFrwrdTextHint (const SwpHints &, size_t &, sal_Int32) |
const SwTextAttr * | GetBkwrdTextHint (const SwpHints &, size_t &, sal_Int32) |
bool | GoNext (SwNode *pNd, SwIndex *pIdx, sal_uInt16 nMode) |
bool | GoPrevious (SwNode *pNd, SwIndex *pIdx, sal_uInt16 nMode) |
SwContentNode * | GoNextNds (SwNodeIndex *pIdx, bool) |
SwContentNode * | GoPreviousNds (SwNodeIndex *pIdx, bool) |
SwContentNode * | GetNode (SwPaM &, bool &, SwMoveFnCollection const &, bool bInReadOnly=false, SwRootFrame const *pLayout=nullptr) |
This function returns the next node in direction of search. More... | |
std::unique_ptr< SwPaM > | sw::MakeRegion (SwMoveFnCollection const &fnMove, const SwPaM &rOrigRg) |
make a new region More... | |
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::FindFormatImpl (SwPaM &rSearchPam, const SwFormat &rFormat, SwMoveFnCollection const &fnMove, const SwPaM &rRegion, bool bInReadOnly, SwRootFrame const *const pLayout) |
bool | sw::FindAttrImpl (SwPaM &rSearchPam, const SfxPoolItem &rAttr, SwMoveFnCollection const &fnMove, const SwPaM &rRegion, bool bInReadOnly, SwRootFrame const *const pLayout) |
typedef bool(SwPosition::* CmpOp) (const SwPosition &) const |
Definition at line 63 of file pamtyp.hxx.
typedef const SwTextAttr *(* GetHint) (const SwpHints &, size_t &, sal_Int32) |
Definition at line 64 of file pamtyp.hxx.
typedef void(* GoDoc) (SwPosition *) |
Definition at line 61 of file pamtyp.hxx.
Definition at line 59 of file pamtyp.hxx.
typedef SwContentNode *(* GoNds) (SwNodeIndex *, bool) |
Definition at line 60 of file pamtyp.hxx.
typedef void(* GoSection) (SwPosition *) |
Definition at line 62 of file pamtyp.hxx.
typedef void(* MvSection) (SwNodeIndex *) |
Definition at line 67 of file pamtyp.hxx.
typedef bool(utl::TextSearch::* SearchText) (const OUString &, sal_Int32 *, sal_Int32 *, css::util::SearchResult *) |
Definition at line 65 of file pamtyp.hxx.
const SwTextAttr * GetBkwrdTextHint | ( | const SwpHints & | rHtsArr, |
size_t & | rPos, | ||
sal_Int32 | nContentPos | ||
) |
Definition at line 89 of file findattr.cxx.
References SwpHints::Get(), and SwTextAttr::GetStart().
const SwTextAttr * GetFrwrdTextHint | ( | const SwpHints & | rHtsArr, |
size_t & | rPos, | ||
sal_Int32 | nContentPos | ||
) |
Definition at line 76 of file findattr.cxx.
References SwpHints::Count(), SwpHints::Get(), and SwTextAttr::GetStart().
SwContentNode * GetNode | ( | SwPaM & | rPam, |
bool & | rbFirst, | ||
SwMoveFnCollection const & | fnMove, | ||
bool const | bInReadOnly, | ||
SwRootFrame const *const | i_pLayout | ||
) |
This function returns the next node in direction of search.
If there is no left or the next is out of the area, then a null-pointer is returned.
rbFirst | If <true> then first time request. If so than the position of the PaM must not be changed! |
Definition at line 847 of file pam.cxx.
References SwIndex::Assign(), SwNode::FindSectionNode(), SwMoveFnCollection::fnCmpOp, fnMoveForward, SwPaM::GetContentNode(), IDocumentLayoutAccess::GetCurrentLayout(), SwPaM::GetDoc(), sw::GetFirstAndLastNode(), SwDoc::getIDocumentLayoutAccess(), SwContentNode::getLayoutFrame(), SwPaM::GetMark(), SwNodeIndex::GetNode(), SwNodeIndex::GetNodes(), SwPaM::GetPoint(), SwSectionNode::GetSection(), GetSttOrEnd(), SwNodes::GoNextSection(), SwNodes::GoPrevSection(), SwTextFrame::IsHiddenNow(), SwSection::IsProtect(), SwFrame::IsProtected(), SwFrame::IsTextFrame(), SwNode::IsTextNode(), SwPosition::nContent, and SwPosition::nNode.
Referenced by SwFlyFreeFrame::CheckClip(), SwFlyFrame::ChgSize(), SwPaM::DeleteMark(), SwFEShell::DeleteRow(), DelFlyInRange(), SwBreakDashedLine::execute(), SwFEShell::FindAnchorPos(), sw::FindAttrImpl(), FindAttrsImpl(), SwFEShell::FindFlyFrame(), sw::FindFormatImpl(), SwNode::FindPageDesc(), sw::FindTextImpl(), SwCursorShell::FindValidContentNode(), sw::FrameContainsNode(), SwFrame::GetAttrSet(), SwFEShell::GetBestObject(), GetBorderCacheOwner(), SwEditShell::GetCntType(), SwPaM::GetContentNode(), SwFlyFrame::GetContour(), SwAccessibleEmbeddedObject::getExtendedAttributes(), SwFEShell::GetGrfAtPos(), SwFrameFormat::GetIMapObject(), SwPageFrame::GetModelPositionForViewPoint(), SwFEShell::GetOleRef(), SwFrame::getSdrAllFillAttributesHelper(), SwDoc::GetTextDirection(), SwFEShell::GotoFly(), SwFEShell::ImpEndCreate(), SwContentNotify::ImplDestroy(), SwFrame::IsProtected(), SwFEShell::IsSelObjProtected(), lcl_UpDown(), SwFEShell::RequestObjectResize(), SwFEShell::SelFlyGrabCursor(), SwFlyAtContentFrame::SetAbsPos(), SwTabFrame::Split(), and SwFlyFrame::UpdateAttr_().
void GoEndDoc | ( | SwPosition * | pPos | ) |
Definition at line 936 of file pam.cxx.
References SwNodes::GetEndOfContent(), SwNodeIndex::GetNodes(), GoPreviousNds(), SwContentNode::MakeEndIndex(), SwPosition::nContent, and SwPosition::nNode.
void GoEndSection | ( | SwPosition * | pPos | ) |
go to the end of the current base section
Definition at line 959 of file pam.cxx.
References SwNode::GetContentNode(), SwNodes::GetEndOfContent(), SwNodeIndex::GetNode(), SwNodeIndex::GetNodes(), SwNodes::GetSectionLevel(), SwNodes::GoEndOfSection(), GoPreviousNds(), SwContentNode::MakeEndIndex(), SwPosition::nContent, SwPosition::nNode, and SwNode::StartOfSectionIndex().
Referenced by sw::GetAllValidRanges().
Definition at line 290 of file pam.cxx.
References GoNext(), and SwNode::IsContentNode().
Referenced by SwEditShell::GCAttr(), GoNext(), and SwDoc::InsCopyOfTable().
SwContentNode * GoNextNds | ( | SwNodeIndex * | pIdx, |
bool | bChk | ||
) |
Definition at line 304 of file pam.cxx.
References CheckNodesRange(), SwNodeIndex::GetIndex(), SwNodeIndex::GetNodes(), and SwNodes::GoNext().
Referenced by GoCurrPara().
Definition at line 297 of file pam.cxx.
References GoPrevious(), and SwNode::IsContentNode().
Referenced by GoPrevious().
SwContentNode * GoPreviousNds | ( | SwNodeIndex * | pIdx, |
bool | bChk | ||
) |
Definition at line 319 of file pam.cxx.
References CheckNodesRange(), SwNodeIndex::GetIndex(), and SwNodes::GoPrevious().
Referenced by sw::GetAllValidRanges(), GoCurrPara(), GoEndDoc(), and GoEndSection().
void GoStartDoc | ( | SwPosition * | pPos | ) |
Definition at line 926 of file pam.cxx.
References SwNodes::GetEndOfContent(), SwNodeIndex::GetNodes(), SwNodes::GoNext(), SwContentNode::MakeStartIndex(), SwPosition::nContent, SwPosition::nNode, and SwNode::StartOfSectionNode().
void GoStartSection | ( | SwPosition * | pPos | ) |
Definition at line 945 of file pam.cxx.
References SwNode::GetContentNode(), SwNodes::GetEndOfContent(), SwNodeIndex::GetNode(), SwNodeIndex::GetNodes(), SwNodes::GetSectionLevel(), SwNodes::GoStartOfSection(), SwContentNode::MakeStartIndex(), SwPosition::nContent, SwPosition::nNode, and SwNode::StartOfSectionIndex().