LibreOffice Module sw (master) 1
Functions
trvltbl.cxx File Reference
#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>
Include dependency graph for trvltbl.cxx:

Go to the source code of this file.

Functions

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

Function Documentation

◆ GotoCurrTable()

bool GotoCurrTable ( SwPaM rCurrentCursor,
SwMoveFnCollection const &  fnPosTable,
bool  bInReadOnly 
)

◆ GotoNextTable()

bool GotoNextTable ( SwPaM rCurrentCursor,
SwMoveFnCollection const &  fnPosTable,
bool  bInReadOnly 
)

◆ GotoPrevTable()

bool GotoPrevTable ( SwPaM rCurrentCursor,
SwMoveFnCollection const &  fnPosTable,
bool  bInReadOnly 
)

◆ lcl_FindMostUpperCellFrame()

static const SwFrame * lcl_FindMostUpperCellFrame ( const SwFrame pFrame)
static

◆ lcl_FindNextCell()

static bool lcl_FindNextCell ( SwNodeIndex rIdx,
bool  bInReadOnly 
)
static

get the next non-protected cell inside a table

Parameters
[in,out]rIdxis on a table node
bInReadOnly???
Returns
<false> if no suitable cell could be found, otherwise <rIdx> points to content in a suitable cell and <true> is returned.

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().

◆ lcl_FindPrevCell()

static bool lcl_FindPrevCell ( SwNodeIndex rIdx,
bool  bInReadOnly 
)
static