LibreOffice Module sw (master) 1
|
Go to the source code of this file.
Classes | |
struct | o3tl::typed_flags< FindRanges > |
Namespaces | |
namespace | o3tl |
Typedefs | |
typedef SwLayoutFrame *(* | SwWhichPage) (const SwLayoutFrame *) |
typedef SwContentFrame *(* | SwPosPage) (const SwLayoutFrame *) |
typedef bool(* | SwWhichPara) (SwPaM &, SwMoveFnCollection const &) |
typedef bool(* | SwWhichSection) (SwPaM &, SwMoveFnCollection const &) |
typedef bool(* | SwWhichTable) (SwPaM &, SwMoveFnCollection const &, bool bInReadOnly) |
typedef SwLayoutFrame *(* | SwWhichColumn) (const SwLayoutFrame *) |
typedef SwContentFrame *(* | SwPosColumn) (const SwLayoutFrame *) |
typedef bool(* | SwWhichRegion) (SwPaM &, SwMoveFnCollection const &, bool bInReadOnly) |
Enumerations | |
enum class | FindRanges { InBody = 0x00 , InSelAll = 0x01 , InOther = 0x02 , InSel = 0x04 , InBodyOnly = 0x08 } |
enum class | SwDocPositions { Start , Curr , End , OtherStart , OtherEnd } |
Variables | |
SW_DLLPUBLIC SwMoveFnCollection const & | fnParaStart |
SW_DLLPUBLIC SwMoveFnCollection const & | fnParaEnd |
SwMoveFnCollection const & | fnSectionStart |
SwMoveFnCollection const & | fnSectionEnd |
SW_DLLPUBLIC SwMoveFnCollection const & | fnTableStart |
SW_DLLPUBLIC SwMoveFnCollection const & | fnTableEnd |
SwMoveFnCollection const & | fnRegionStart |
SwMoveFnCollection const & | fnRegionEnd |
typedef SwContentFrame *(* SwPosColumn) (const SwLayoutFrame *) |
Definition at line 67 of file cshtyp.hxx.
typedef SwContentFrame *(* SwPosPage) (const SwLayoutFrame *) |
Definition at line 38 of file cshtyp.hxx.
typedef SwLayoutFrame *(* SwWhichColumn) (const SwLayoutFrame *) |
Definition at line 66 of file cshtyp.hxx.
typedef SwLayoutFrame *(* SwWhichPage) (const SwLayoutFrame *) |
Definition at line 34 of file cshtyp.hxx.
typedef bool(* SwWhichPara) (SwPaM &, SwMoveFnCollection const &) |
Definition at line 43 of file cshtyp.hxx.
typedef bool(* SwWhichRegion) (SwPaM &, SwMoveFnCollection const &, bool bInReadOnly) |
Definition at line 75 of file cshtyp.hxx.
typedef bool(* SwWhichSection) (SwPaM &, SwMoveFnCollection const &) |
Definition at line 51 of file cshtyp.hxx.
typedef bool(* SwWhichTable) (SwPaM &, SwMoveFnCollection const &, bool bInReadOnly) |
Definition at line 58 of file cshtyp.hxx.
|
strong |
Enumerator | |
---|---|
InBody | Find "one" only in body text. |
InSelAll | All (only in non-body and selections). |
InOther | Find "all" in Footer/Header/Fly... |
InSel | Find in selections. |
InBodyOnly | Find only in body - only in combination with FindRanges::InSelAll !!! |
Definition at line 90 of file cshtyp.hxx.
|
strong |
Enumerator | |
---|---|
Start | |
Curr | |
End | |
OtherStart | |
OtherEnd |
Definition at line 103 of file cshtyp.hxx.
SwContentFrame * GetColumnEnd | ( | const SwLayoutFrame * | pColFrame | ) |
Definition at line 51 of file trvlcol.cxx.
References GetColumnStt(), SwContentFrame::GetNextContentFrame(), and SwLayoutFrame::IsAnLower().
Referenced by SwWrtShell::EndOfColumn(), SwWrtShell::EndOfNextColumn(), SwWrtShell::EndOfPrevColumn(), and SwCursorShell::MoveColumn().
SwContentFrame * GetColumnStt | ( | const SwLayoutFrame * | pColFrame | ) |
Definition at line 46 of file trvlcol.cxx.
References SwLayoutFrame::ContainsContent().
Referenced by GetColumnEnd(), SwWrtShell::StartOfColumn(), SwWrtShell::StartOfNextColumn(), and SwWrtShell::StartOfPrevColumn().
SwLayoutFrame * GetCurrColumn | ( | const SwLayoutFrame * | pLayFrame | ) |
Definition at line 27 of file trvlcol.cxx.
References SwFrame::GetUpper(), and SwFrame::IsColumnFrame().
Referenced by SwWrtShell::EndOfColumn(), GetNextColumn(), GetPrevColumn(), and SwWrtShell::StartOfColumn().
SwContentFrame * GetFirstSub | ( | const SwLayoutFrame * | pLayout | ) |
Definition at line 1048 of file trvlfrm.cxx.
References SwPageFrame::FindFirstBodyContent().
Referenced by GetFrameInPage(), SwFEShell::PastePages(), SwWrtShell::SttNxtPg(), SwWrtShell::SttPg(), and SwWrtShell::SttPrvPg().
SwContentFrame * GetLastSub | ( | const SwLayoutFrame * | pLayout | ) |
Definition at line 1053 of file trvlfrm.cxx.
References SwPageFrame::FindLastBodyContent().
Referenced by SwWrtShell::EndNxtPg(), SwWrtShell::EndPg(), SwWrtShell::EndPrvPg(), and SwFEShell::PastePages().
SwLayoutFrame * GetNextColumn | ( | const SwLayoutFrame * | pLayFrame | ) |
Definition at line 34 of file trvlcol.cxx.
References GetCurrColumn(), and SwFrame::GetNext().
Referenced by SwWrtShell::EndOfNextColumn(), and SwWrtShell::StartOfNextColumn().
SwLayoutFrame * GetNextFrame | ( | const SwLayoutFrame * | pFrame | ) |
Definition at line 1058 of file trvlfrm.cxx.
References SwLayoutFrame::ContainsContent(), SwFrame::GetNext(), and SwFrame::IsLayoutFrame().
Referenced by SwWrtShell::EndNxtPg(), and SwWrtShell::SttNxtPg().
SwLayoutFrame * GetPrevColumn | ( | const SwLayoutFrame * | pLayFrame | ) |
Definition at line 40 of file trvlcol.cxx.
References GetCurrColumn(), and SwFrame::GetPrev().
Referenced by SwWrtShell::EndOfPrevColumn(), and SwWrtShell::StartOfPrevColumn().
SwLayoutFrame * GetPrevFrame | ( | const SwLayoutFrame * | pFrame | ) |
Definition at line 1075 of file trvlfrm.cxx.
References SwLayoutFrame::ContainsContent(), SwFrame::GetPrev(), and SwFrame::IsLayoutFrame().
Referenced by SwWrtShell::EndPrvPg(), and SwWrtShell::SttPrvPg().
SwLayoutFrame * GetThisFrame | ( | const SwLayoutFrame * | pFrame | ) |
Definition at line 1070 of file trvlfrm.cxx.
Referenced by SwWrtShell::EndPg(), SwFEShell::PastePages(), and SwWrtShell::SttPg().
SW_DLLPUBLIC bool GoCurrPara | ( | SwPaM & | rPam, |
SwMoveFnCollection const & | aPosPara | ||
) |
Definition at line 1248 of file pam.cxx.
References fnMoveForward, fnParaEnd, fnParaStart, SwPosition::GetContentIndex(), SwNode::GetContentNode(), SwPosition::GetNode(), SwPaM::GetPoint(), GetSttOrEnd(), GoNextPos(), GoPreviousPos(), SwContentNode::Len(), and SwPosition::SetContent().
Referenced by SwWrtShell::BwdSentence_(), SwXText::convertToTextFrame(), SwInsertDBColAutoPilot::DataToDoc(), SwWrtShell::DelToEndOfPara(), SwWrtShell::DelToEndOfSentence(), SwWrtShell::DelToStartOfPara(), SwWrtShell::EndPara(), SwWrtShell::EndWrd(), SwView::ExecSpellPopup(), SwEditWinUIObject::execute(), SwWrtShell::FwdSentence_(), SwXTextCursor::gotoEndOfParagraph(), SwXTextCursor::gotoEndOfSentence(), SwXTextCursor::gotoPreviousSentence(), SwXTextCursor::gotoStartOfParagraph(), SwMailMergeLayoutPage::InsertGreeting(), lcl_SelectParaAndReset(), SwCursor::MovePara(), SwWrtShell::NxtWrd_(), SwWrtShell::NxtWrdForDelete(), SwWrtShell::PrvWrd_(), SwWrtShell::PrvWrdForDelete(), SwLangHelper::SelectCurrentPara(), SwWrtShell::SelPara(), SwXParagraph::setPropertyToDefault(), SwXParagraph::setString(), SwWrtShell::SttPara(), SwWrtShell::SttWrd(), and SwDropCapsPict::UpdatePaintSettings().
bool GoCurrSection | ( | SwPaM & | rPam, |
SwMoveFnCollection const & | fnMove | ||
) |
Definition at line 1288 of file pam.cxx.
References fnMoveForward, SwMoveFnCollection::fnPos, SwMoveFnCollection::fnSection, SwNode::GetContentNode(), SwPosition::GetNode(), SwPaM::GetPoint(), GetSttOrEnd(), and SwPosition::SetContent().
Referenced by SwInputWindow::DelBoxContent(), SwWrtShell::GoEnd(), SwWrtShell::GoStart(), SwXTextCursor::gotoEnd(), SwXTextCursor::gotoStart(), SwEditWin::KeyInput(), SwWrtShell::SelAll(), SwInputWindow::ShowWin(), and SwCursorShell::UpdateCursor().
bool GoNextPara | ( | SwPaM & | rPam, |
SwMoveFnCollection const & | aPosPara | ||
) |
Definition at line 1275 of file pam.cxx.
References fnMoveForward, SwNode::GetContentNode(), SwPosition::GetNode(), SwPaM::GetPoint(), GetSttOrEnd(), GoInNode(), SwPaM::Move(), and SwPosition::SetContent().
Referenced by SwEnhancedPDFExportHelper::ExportAuthorityEntryLinks(), SwWrtShell::FwdPara_(), SwXTextCursor::gotoNextParagraph(), SwXTextCursor::gotoNextSentence(), SwXTextCursor::gotoNextWord(), and SwCursor::MovePara().
bool GoPrevPara | ( | SwPaM & | rPam, |
SwMoveFnCollection const & | aPosPara | ||
) |
Definition at line 1235 of file pam.cxx.
References fnMoveBackward, fnMoveForward, SwNode::GetContentNode(), SwPosition::GetNode(), SwPaM::GetPoint(), GetSttOrEnd(), GoInNode(), SwPaM::Move(), and SwPosition::SetContent().
Referenced by SwWrtShell::BwdPara_(), SwHTMLParser::Continue(), SwXTextCursor::gotoPreviousParagraph(), and SwXTextCursor::gotoPreviousSentence().
bool GotoCurrRegionAndSkip | ( | SwPaM & | rCurrentCursor, |
SwMoveFnCollection const & | fnPosRegion, | ||
bool | bInReadOnly | ||
) |
Definition at line 181 of file trvlreg.cxx.
References SwPosition::Assign(), SwNode::EndOfSectionNode(), SwNode::FindSectionNode(), fnMoveBackward, SwPosition::GetContentIndex(), SwSection::GetFormat(), SwPosition::GetNode(), SwNode::GetNodes(), SwSection::GetParent(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwSectionNode::GetSection(), SwSectionFormat::GetSectionNode(), SwNodes::GoNextSection(), SwNodes::GoPrevSection(), SwContentNode::Len(), and SwPosition::SetContent().
Referenced by SwContentTree::ExecuteContextMenuAction(), SwWrtShell::GoEnd(), and SwWrtShell::GoStart().
SW_DLLPUBLIC bool GotoCurrTable | ( | SwPaM & | rCurrentCursor, |
SwMoveFnCollection const & | fnPosTable, | ||
bool | bInReadOnly | ||
) |
Definition at line 631 of file trvltbl.cxx.
References SwPosition::Assign(), SwNode::EndOfSectionNode(), SwNode::FindTableNode(), fnMoveBackward, SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPaM::GetPoint(), SwNode::GetTextNode(), lcl_FindNextCell(), lcl_FindPrevCell(), and SwTextNode::Len().
Referenced by SwInsertDBColAutoPilot::DataToDoc(), SwAccessibleTable::deselectAccessibleChild(), SwTableShell::Execute(), SwWrtShell::GoEnd(), SwWrtShell::GoStart(), SwContentTree::GotoContent(), SwXTextTableCursor::gotoEnd(), SwXTextTableCursor::gotoStart(), SwTableFUNC::InsertChart(), SwAccessibleTable::selectAccessibleChild(), and SwInsertDBColAutoPilot::SetTabSet().
bool GotoNextRegion | ( | SwPaM & | rCurrentCursor, |
SwMoveFnCollection const & | fnPosRegion, | ||
bool | bInReadOnly | ||
) |
Definition at line 106 of file trvlreg.cxx.
References SwPosition::Assign(), SwNodeIndex::Assign(), SwNodes::Count(), SwNode::EndOfSectionNode(), SwNode::FindSectionNode(), fnMoveForward, SwNodeIndex::GetIndex(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwNode::GetNodes(), SwPaM::GetPoint(), SwSectionNode::GetSection(), SwNode::GetSectionNode(), SwNodes::GoNextSection(), SwNodes::GoPrevSection(), SwSection::IsHiddenFlag(), SwSection::IsProtectFlag(), SwContentNode::Len(), SwPosition::SetContent(), and SvxSearchDialogWrapper::SetSearchLabel().
Referenced by SwTextShell::ExecMoveMisc(), and IMPL_LINK().
bool GotoNextTable | ( | SwPaM & | rCurrentCursor, |
SwMoveFnCollection const & | fnPosTable, | ||
bool | bInReadOnly | ||
) |
Definition at line 560 of file trvltbl.cxx.
References SwPosition::Assign(), SwNodeIndex::Assign(), SwNodes::Count(), SwNode::EndOfSectionNode(), SwNode::FindTableNode(), fnMoveBackward, fnMoveForward, SwPaM::GetDoc(), SwNodeIndex::GetIndex(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwNode::GetTableNode(), SwNode::GetTextNode(), lcl_FindNextCell(), SwTextNode::Len(), and SvxSearchDialogWrapper::SetSearchLabel().
Referenced by SwTextShell::ExecMoveMisc(), and IMPL_LINK().
bool GotoPrevRegion | ( | SwPaM & | rCurrentCursor, |
SwMoveFnCollection const & | fnPosRegion, | ||
bool | bInReadOnly | ||
) |
Definition at line 31 of file trvlreg.cxx.
References SwPosition::Assign(), SwNodeIndex::Assign(), SwNodes::Count(), SwNode::EndOfSectionNode(), SwNode::FindSectionNode(), fnMoveForward, SwPaM::GetDoc(), SwNodeIndex::GetIndex(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwDoc::GetNodes(), SwNode::GetNodes(), SwPaM::GetPoint(), SwSectionNode::GetSection(), SwNode::GetSectionNode(), SwNodes::GoNextSection(), SwNodes::GoPrevSection(), SwSection::IsHiddenFlag(), SwSection::IsProtectFlag(), SwContentNode::Len(), SwPosition::SetContent(), SvxSearchDialogWrapper::SetSearchLabel(), and SwNode::StartOfSectionNode().
Referenced by SwTextShell::ExecMoveMisc(), and IMPL_LINK().
SW_DLLPUBLIC bool GotoPrevTable | ( | SwPaM & | rCurrentCursor, |
SwMoveFnCollection const & | fnPosTable, | ||
bool | bInReadOnly | ||
) |
Definition at line 481 of file trvltbl.cxx.
References SwPosition::Assign(), SwNodeIndex::Assign(), SwNodes::Count(), SwNode::FindTableNode(), fnMoveBackward, fnMoveForward, SwPaM::GetDoc(), SwNodeIndex::GetIndex(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwNode::GetTableNode(), SwNode::GetTextNode(), lcl_FindNextCell(), SwTextNode::Len(), SvxSearchDialogWrapper::SetSearchLabel(), and SwNode::StartOfSectionNode().
Referenced by SwInsertDBColAutoPilot::DataToDoc(), SwTextShell::ExecMoveMisc(), IMPL_LINK(), InsertTableImpl(), and SwUndoInsTable::RedoImpl().
|
extern |
Definition at line 49 of file paminit.cxx.
Referenced by SwHTMLParser::Continue(), SwXText::convertToTextFrame(), SwInsertDBColAutoPilot::DataToDoc(), SwWrtShell::DelToEndOfPara(), SwWrtShell::DelToEndOfSentence(), SwWrtShell::EndPara(), SwWrtShell::EndWrd(), SwView::ExecSpellPopup(), SwEditWinUIObject::execute(), SwWrtShell::FwdSentence_(), GoCurrPara(), SwXTextCursor::gotoEndOfParagraph(), SwXTextCursor::gotoEndOfSentence(), SwXTextCursor::gotoPreviousSentence(), IsAtStartOrEndOfFrame(), lcl_SelectParaAndReset(), SwWrtShell::NxtWrd_(), SwWrtShell::NxtWrdForDelete(), SwLangHelper::SelectCurrentPara(), SwWrtShell::SelPara(), SwXParagraph::setPropertyToDefault(), and SwXParagraph::setString().
|
extern |
Definition at line 48 of file paminit.cxx.
Referenced by SwWrtShell::BwdPara_(), SwWrtShell::BwdSentence_(), SwXText::convertToTextFrame(), SwInsertDBColAutoPilot::DataToDoc(), SwWrtShell::DelToStartOfPara(), SwView::ExecSpellPopup(), SwEnhancedPDFExportHelper::ExportAuthorityEntryLinks(), SwWrtShell::FwdPara_(), GoCurrPara(), SwXTextCursor::gotoNextParagraph(), SwXTextCursor::gotoNextSentence(), SwXTextCursor::gotoNextWord(), SwXTextCursor::gotoPreviousParagraph(), SwXTextCursor::gotoPreviousSentence(), SwXTextCursor::gotoStartOfParagraph(), SwMailMergeLayoutPage::InsertGreeting(), IsAtStartOrEndOfFrame(), lcl_SelectParaAndReset(), SwWrtShell::PrvWrd_(), SwWrtShell::PrvWrdForDelete(), SwLangHelper::SelectCurrentPara(), SwWrtShell::SelPara(), SwXParagraph::setPropertyToDefault(), SwXParagraph::setString(), SwWrtShell::SttPara(), SwWrtShell::SttWrd(), and SwDropCapsPict::UpdatePaintSettings().
|
extern |
Definition at line 58 of file paminit.cxx.
Referenced by SwContentTree::ExecuteContextMenuAction(), and SwWrtShell::GoEnd().
|
extern |
Definition at line 57 of file paminit.cxx.
Referenced by SwTextShell::ExecMoveMisc(), SwContentTree::ExecuteContextMenuAction(), SwWrtShell::GoStart(), and IMPL_LINK().
|
extern |
Definition at line 52 of file paminit.cxx.
Referenced by SwInputWindow::DelBoxContent(), SwWrtShell::GoEnd(), SwXTextCursor::gotoEnd(), SwEditWin::KeyInput(), SwWrtShell::SelAll(), SwInputWindow::ShowWin(), and SwCursorShell::UpdateCursor().
|
extern |
Definition at line 51 of file paminit.cxx.
Referenced by SwInputWindow::DelBoxContent(), SwWrtShell::GoStart(), SwXTextCursor::gotoStart(), SwEditWin::KeyInput(), SwWrtShell::SelAll(), SwInputWindow::ShowWin(), and SwCursorShell::UpdateCursor().
|
extern |
Definition at line 55 of file paminit.cxx.
Referenced by SwAccessibleTable::deselectAccessibleChild(), SwTableShell::Execute(), SwWrtShell::GoEnd(), SwXTextTableCursor::gotoEnd(), SwAccessibleTable::selectAccessibleChild(), and SwInsertDBColAutoPilot::SetTabSet().
|
extern |
Definition at line 54 of file paminit.cxx.
Referenced by SwInsertDBColAutoPilot::DataToDoc(), SwTextShell::ExecMoveMisc(), SwTableShell::Execute(), SwWrtShell::GoStart(), SwContentTree::GotoContent(), SwXTextTableCursor::gotoStart(), IMPL_LINK(), SwTableFUNC::InsertChart(), InsertTableImpl(), SwUndoInsTable::RedoImpl(), and SwInsertDBColAutoPilot::SetTabSet().