|
LibreOffice Module sw (master) 1
|
#include <hintids.hxx>#include <crsrsh.hxx>#include <doc.hxx>#include <cntfrm.hxx>#include <editsh.hxx>#include <pam.hxx>#include <swtable.hxx>#include <frmfmt.hxx>#include <viscrs.hxx>#include "callnk.hxx"#include <tabfrm.hxx>#include <ndtxt.hxx>#include <shellres.hxx>#include <cellfrm.hxx>#include <IDocumentLayoutAccess.hxx>#include <osl/diagnose.h>#include <svx/srchdlg.hxx>Go to the source code of this file.
Functions | |
| static const SwFrame * | lcl_FindMostUpperCellFrame (const SwFrame *pFrame) |
| static bool | lcl_FindNextCell (SwNodeIndex &rIdx, bool bInReadOnly) |
| get the next non-protected cell inside a table More... | |
| static bool | lcl_FindPrevCell (SwNodeIndex &rIdx, bool bInReadOnly) |
| see lcl_FindNextCell() More... | |
| bool | GotoPrevTable (SwPaM &rCurrentCursor, SwMoveFnCollection const &fnPosTable, bool bInReadOnly) |
| bool | GotoNextTable (SwPaM &rCurrentCursor, SwMoveFnCollection const &fnPosTable, bool bInReadOnly) |
| bool | GotoCurrTable (SwPaM &rCurrentCursor, SwMoveFnCollection const &fnPosTable, bool bInReadOnly) |
| 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 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 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().
Definition at line 115 of file trvltbl.cxx.
References SwFrame::GetUpper(), SwFrame::IsCellFrame(), SwFrame::IsInTab(), and SwFrame::IsTabFrame().
Referenced by SwCursorShell::SelTableRowOrCol().
|
static |
get the next non-protected cell inside a table
| [in,out] | rIdx | is on a table node |
| bInReadOnly | ??? |
Definition at line 346 of file trvltbl.cxx.
References SwNodeIndex::Assign(), SwNode::EndOfSectionNode(), SwNode::FindTableNode(), SwNode::GetContentNode(), IDocumentLayoutAccess::GetCurrentLayout(), SwNode::GetDoc(), SwDoc::getIDocumentLayoutAccess(), SwNode::GetIndex(), SwContentNode::getLayoutFrame(), SwNodeIndex::GetNode(), SwNode::GetNodes(), SwNode::GetTableNode(), SwNodes::GoNext(), and SwFrame::IsProtected().
Referenced by GotoCurrTable(), GotoNextTable(), and GotoPrevTable().
|
static |
Definition at line 424 of file trvltbl.cxx.
References SwNodeIndex::Assign(), SwNode::FindTableNode(), SwNode::GetContentNode(), IDocumentLayoutAccess::GetCurrentLayout(), SwNode::GetDoc(), SwDoc::getIDocumentLayoutAccess(), SwNode::GetIndex(), SwContentNode::getLayoutFrame(), SwNodeIndex::GetNode(), SwNode::GetTableNode(), SwNodes::GoPrevious(), SwFrame::IsProtected(), and SwNode::StartOfSectionNode().
Referenced by GotoCurrTable().