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 *, SwContentIndex *, SwCursorSkipMode) |
typedef SwContentNode *(* | GoNds) (SwNodeIndex *, bool) |
typedef SwContentNode *(* | GoPos) (SwPosition *, 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) (SwPosition *) |
Functions | |
void | GoStartDoc (SwPosition *) |
void | GoEndDoc (SwPosition *) |
void | GoStartSection (SwPosition *) |
void | GoEndSection (SwPosition *) |
go to the end of the current base section More... | |
void | GoStartOfSection (SwPosition *) |
void | GoEndOfSection (SwPosition *) |
const SwTextAttr * | GetFrwrdTextHint (const SwpHints &, size_t &, sal_Int32) |
const SwTextAttr * | GetBkwrdTextHint (const SwpHints &, size_t &, sal_Int32) |
bool | GoNext (SwNode *pNd, SwContentIndex *pIdx, SwCursorSkipMode nMode) |
bool | GoPrevious (SwNode *pNd, SwContentIndex *pIdx, SwCursorSkipMode nMode) |
SwContentNode * | GoNextNds (SwNodeIndex *pIdx, bool) |
SwContentNode * | GoPreviousNds (SwNodeIndex *pIdx, bool) |
SwContentNode * | GoNextPos (SwPosition *pIdx, bool) |
SwContentNode * | GoPreviousPos (SwPosition *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... | |
void | sw::MakeRegion (SwMoveFnCollection const &fnMove, const SwPaM &rOrigRg, std::optional< SwPaM > &rPam) |
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 70 of file pamtyp.hxx.
typedef const SwTextAttr *(* GetHint) (const SwpHints &, size_t &, sal_Int32) |
Definition at line 71 of file pamtyp.hxx.
typedef void(* GoDoc) (SwPosition *) |
Definition at line 68 of file pamtyp.hxx.
typedef bool(* GoNd) (SwNode *, SwContentIndex *, SwCursorSkipMode) |
Definition at line 65 of file pamtyp.hxx.
typedef SwContentNode *(* GoNds) (SwNodeIndex *, bool) |
Definition at line 66 of file pamtyp.hxx.
typedef SwContentNode *(* GoPos) (SwPosition *, bool) |
Definition at line 67 of file pamtyp.hxx.
typedef void(* GoSection) (SwPosition *) |
Definition at line 69 of file pamtyp.hxx.
typedef void(* MvSection) (SwPosition *) |
Definition at line 74 of file pamtyp.hxx.
typedef bool(utl::TextSearch::* SearchText) (const OUString &, sal_Int32 *, sal_Int32 *, css::util::SearchResult *) |
Definition at line 72 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 1043 of file pam.cxx.
References SwPosition::Assign(), SwPosition::AssignEndIndex(), SwNode::FindSectionNode(), SwMoveFnCollection::fnCmpOp, fnMoveForward, IDocumentLayoutAccess::GetCurrentLayout(), SwPaM::GetDoc(), sw::GetFirstAndLastNode(), SwDoc::getIDocumentLayoutAccess(), SwContentNode::getLayoutFrame(), SwPaM::GetMark(), SwPosition::GetNode(), SwPosition::GetNodes(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwSectionNode::GetSection(), SwNodes::GoNextSection(), SwNodes::GoPrevSection(), SwTextFrame::IsHiddenNow(), SwSection::IsProtect(), SwFrame::IsProtected(), SwFrame::IsTextFrame(), and SwNode::IsTextNode().
Referenced by SwTextNode::AddToList(), SwFlyFreeFrame::CheckClip(), SwFlyFrame::ChgSize(), SwWrtShell::ClickToField(), SwFEShell::DeleteRow(), DelFlyInRange(), SwBreakDashedLine::execute(), SwShellCursor::FillRects(), sw::FindAttrImpl(), FindAttrsImpl(), SwFEShell::FindFlyFrame(), sw::FindFormatImpl(), sw::FindTextImpl(), SwCursorShell::FindValidContentNode(), sw::FrameContainsNode(), SwFrame::GetAttrSet(), SwFEShell::GetBestObject(), GetBorderCacheOwner(), SwFlyFrame::GetContour(), SwAccessibleEmbeddedObject::getExtendedAttributes(), SwFEShell::GetGrfAtPos(), SwFrameFormat::GetIMapObject(), SwPageFrame::GetModelPositionForViewPoint(), SwEditShell::GetOLEObject(), SwFEShell::GetOleRef(), SwFrame::getSdrAllFillAttributesHelper(), SwWrtShell::GetSelectionType(), SwWrtShell::GoEnd(), SwWrtShell::GoStart(), SwFEShell::GotoFly(), SwCursor::GotoNextFootnoteAnchor(), SwCursor::GotoPrevFootnoteAnchor(), SwEditShell::HandleCorrectionError(), SwEditShell::HasBullet(), SwEditShell::HasNumber(), SwFEShell::ImpEndCreate(), SwContentNotify::ImplDestroy(), SwWrtShell::Insert(), SwWrtShell::InsertField2(), SwPaM::InvalidatePaM(), sw::mark::Bookmark::IsInContent(), SwEditShell::IsNoNum(), SwFrame::IsProtected(), SwFEShell::IsSelObjProtected(), SwTableCursor::IsSelOvrCheck(), lcl_CreatePortions(), lcl_UpDown(), SwCursor::LeftRight(), SwRedlineTable::LOKRedlineNotification(), SwCursorShell::LRMargin(), SwSectionNode::MakeOwnFrames(), SwNodes::MakeTextSection(), SwRangeRedline::MoveFromSection(), SwWrtShell::NumOrBulletOff(), SwWrtShell::NumOrBulletOn(), sw::mark::TextFieldmark::ReplaceContent(), sw::mark::DateFieldmark::ReplaceContent(), SwFEShell::RequestObjectResize(), SwFEShell::SelFlyGrabCursor(), SwFEShell::SelTableRowCol(), SwFlyAtContentFrame::SetAbsPos(), SwDoc::SortText(), SwTabFrame::Split(), SwPaM::SwPaM(), SwTOXBaseSection::Update(), SwFlyFrame::UpdateAttr_(), SwCursorShell::UpdateMarkedListLevel(), and SwCursor::UpDown().
void GoEndDoc | ( | SwPosition * | pPos | ) |
Definition at line 1131 of file pam.cxx.
References SwPosition::Assign(), SwPosition::AssignEndIndex(), SwNodes::GetEndOfContent(), SwPosition::GetNodes(), and GoPreviousPos().
void GoEndOfSection | ( | SwPosition * | pPos | ) |
Definition at line 1175 of file pam.cxx.
References SwContentIndex::Assign(), SwNode::GetContentNode(), SwNodeIndex::GetNode(), SwNodes::GoEndOfSection(), SwContentNode::Len(), SwPosition::nContent, and SwPosition::nNode.
void GoEndSection | ( | SwPosition * | pPos | ) |
go to the end of the current base section
Definition at line 1161 of file pam.cxx.
References SwPosition::AssignEndIndex(), SwNodes::GetEndOfContent(), SwPosition::GetNode(), SwPosition::GetNodes(), SwNodes::GetSectionLevel(), SwNodes::GoEndOfSection(), GoPreviousNds(), SwPosition::nNode, and SwNode::StartOfSectionNode().
Referenced by sw::GetAllValidRanges().
bool GoNext | ( | SwNode * | pNd, |
SwContentIndex * | pIdx, | ||
SwCursorSkipMode | nMode | ||
) |
Definition at line 381 of file pam.cxx.
References GoNext(), and SwNode::IsContentNode().
Referenced by SwEditShell::GCAttr(), and GoNext().
SwContentNode * GoNextNds | ( | SwNodeIndex * | pIdx, |
bool | bChk | ||
) |
Definition at line 395 of file pam.cxx.
References CheckNodesRange(), SwNodeIndex::GetIndex(), SwNodeIndex::GetNode(), SwNodeIndex::GetNodes(), and SwNodes::GoNext().
SwContentNode * GoNextPos | ( | SwPosition * | pIdx, |
bool | bChk | ||
) |
Definition at line 425 of file pam.cxx.
References SwPosition::Assign(), CheckNodesRange(), SwNodeIndex::GetIndex(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwNodeIndex::GetNodes(), and SwNodes::GoNext().
Referenced by GoCurrPara().
bool GoPrevious | ( | SwNode * | pNd, |
SwContentIndex * | pIdx, | ||
SwCursorSkipMode | nMode | ||
) |
Definition at line 388 of file pam.cxx.
References GoPrevious(), and SwNode::IsContentNode().
Referenced by GoPrevious().
SwContentNode * GoPreviousNds | ( | SwNodeIndex * | pIdx, |
bool | bChk | ||
) |
Definition at line 410 of file pam.cxx.
References CheckNodesRange(), SwNodeIndex::GetIndex(), SwNodeIndex::GetNode(), and SwNodes::GoPrevious().
Referenced by GoEndSection().
SwContentNode * GoPreviousPos | ( | SwPosition * | pIdx, |
bool | bChk | ||
) |
Definition at line 440 of file pam.cxx.
References SwPosition::Assign(), CheckNodesRange(), SwNodeIndex::GetIndex(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), and SwNodes::GoPrevious().
Referenced by sw::GetAllValidRanges(), GoCurrPara(), and GoEndDoc().
void GoStartDoc | ( | SwPosition * | pPos | ) |
Definition at line 1123 of file pam.cxx.
References SwPosition::Assign(), SwNodes::GetEndOfContent(), SwPosition::GetNodes(), SwNodes::GoNext(), and SwNode::StartOfSectionNode().
void GoStartOfSection | ( | SwPosition * | pPos | ) |
Definition at line 1153 of file pam.cxx.
References SwContentIndex::Assign(), SwNode::GetContentNode(), SwPosition::GetNode(), SwNodes::GoStartOfSection(), SwPosition::nContent, and SwPosition::nNode.
void GoStartSection | ( | SwPosition * | pPos | ) |
Definition at line 1140 of file pam.cxx.
References SwPosition::AssignStartIndex(), SwNode::GetContentNode(), SwNodes::GetEndOfContent(), SwPosition::GetNode(), SwPosition::GetNodes(), SwNodes::GetSectionLevel(), SwNodes::GoStartOfSection(), SwPosition::nNode, and SwNode::StartOfSectionNode().