LibreOffice Module sw (master)  1
Functions
trvltbl.cxx File Reference
#include <hintids.hxx>
#include <vcl/svapp.hxx>
#include <editeng/protitem.hxx>
#include <crsrsh.hxx>
#include <doc.hxx>
#include <cntfrm.hxx>
#include <editsh.hxx>
#include <pam.hxx>
#include <swtable.hxx>
#include <docary.hxx>
#include <frmatr.hxx>
#include <frmfmt.hxx>
#include <viscrs.hxx>
#include "callnk.hxx"
#include <tabfrm.hxx>
#include <ndtxt.hxx>
#include <shellres.hxx>
#include <cellatr.hxx>
#include <cellfrm.hxx>
#include <rowfrm.hxx>
#include <IDocumentLayoutAccess.hxx>
#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

bool GotoCurrTable ( SwPaM rCurrentCursor,
SwMoveFnCollection const &  fnPosTable,
bool  bInReadOnly 
)
bool GotoNextTable ( SwPaM rCurrentCursor,
SwMoveFnCollection const &  fnPosTable,
bool  bInReadOnly 
)
bool GotoPrevTable ( SwPaM rCurrentCursor,
SwMoveFnCollection const &  fnPosTable,
bool  bInReadOnly 
)
static const SwFrame* lcl_FindMostUpperCellFrame ( const SwFrame pFrame)
static
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 349 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 bool lcl_FindPrevCell ( SwNodeIndex rIdx,
bool  bInReadOnly 
)
static