LibreOffice Module sw (master)  1
Functions
ednumber.cxx File Reference
#include <hintids.hxx>
#include <editsh.hxx>
#include <edimp.hxx>
#include <doc.hxx>
#include <IDocumentUndoRedo.hxx>
#include <IDocumentState.hxx>
#include <ndtxt.hxx>
#include <txtfrm.hxx>
#include <paratr.hxx>
#include <swundo.hxx>
#include <numrule.hxx>
Include dependency graph for ednumber.cxx:

Go to the source code of this file.

Functions

static bool lcl_IsOutlineMoveAndCopyable (SwEditShell const &rShell, SwOutlineNodes::size_type const nIdx, bool const bCopy)
 Test whether outline may be moved (bCopy == false) or copied (bCopy == true) Verify these conditions: 1) outline must be within main body (and not in redline) 2) outline must not be within table 3) if bCopy is set, outline must not be write protected. More...
 

Function Documentation

static bool lcl_IsOutlineMoveAndCopyable ( SwEditShell const &  rShell,
SwOutlineNodes::size_type const  nIdx,
bool const  bCopy 
)
static

Test whether outline may be moved (bCopy == false) or copied (bCopy == true) Verify these conditions: 1) outline must be within main body (and not in redline) 2) outline must not be within table 3) if bCopy is set, outline must not be write protected.

Definition at line 644 of file ednumber.cxx.

References SwNode::FindTableNode(), SwViewShell::GetDoc(), SwNodes::GetEndOfExtras(), SwNode::GetIndex(), SwViewShell::GetLayout(), SwDoc::GetNodes(), SwNodes::GetOutLineNds(), SwNode::GetTextNode(), sw::IsParaPropsNode(), and SwNode::IsProtect().

Referenced by SwEditShell::IsOutlineCopyable(), and SwEditShell::IsOutlineMovable().