LibreOffice Module sw (master)  1
Classes | Functions
dbg_lay.cxx File Reference
#include <dbg_lay.hxx>
#include <flyfrm.hxx>
#include <txtfrm.hxx>
#include <fntcache.hxx>
#include <tabfrm.hxx>
#include <swtblfmt.hxx>
#include <rowfrm.hxx>
#include <cellfrm.hxx>
#include <layfrm.hxx>
#include <frame.hxx>
#include <swtable.hxx>
#include <ndtxt.hxx>
#include <sal/log.hxx>
#include <tools/stream.hxx>
Include dependency graph for dbg_lay.cxx:

Go to the source code of this file.

Classes

class  SwImplProtocol
 
class  SwImplEnterLeave
 
class  SwSizeEnterLeave
 
class  SwUpperEnterLeave
 
class  SwFrameChangesLeave
 

Functions

static sal_uLong lcl_GetFrameId (const SwFrame *pFrame)
 
static void lcl_Start (OStringBuffer &rOut, OStringBuffer &rLay, DbgAction nAction)
 enable indentation by two spaces during DbgAction::Start and disable it again at DbgAction::End. More...
 
static void lcl_Flags (OStringBuffer &rOut, const SwFrame *pFrame)
 output the ValidSize-, ValidPos- and ValidPrtArea-Flag ("Sz","Ps","PA") of the frame; "+" stands for valid, "-" stands for invalid. More...
 
static void lcl_Padded (OStringBuffer &rOut, const OString &s, size_t length)
 
static void lcl_Padded (OStringBuffer &rOut, const long n, size_t length=5)
 
static void lcl_FrameRect (OStringBuffer &rOut, const char *hint, const SwRect &rect)
 output the frame as plain text. More...
 
static OString lcl_TableInfo (const SwTabFrame *pTabFrame)
 
static OString lcl_RowInfo (const SwRowFrame *pFrame)
 
static OUString lcl_CellText (const SwCellFrame *pFrame)
 
static OString lcl_CellInfo (const SwCellFrame *pFrame)
 
static void lcl_FrameType (OStringBuffer &rOut, const SwFrame *pFrame)
 output the type of the frame as plain text. More...
 

Function Documentation

static OString lcl_CellInfo ( const SwCellFrame pFrame)
static
static OUString lcl_CellText ( const SwCellFrame pFrame)
static
static void lcl_Flags ( OStringBuffer &  rOut,
const SwFrame pFrame 
)
static

output the ValidSize-, ValidPos- and ValidPrtArea-Flag ("Sz","Ps","PA") of the frame; "+" stands for valid, "-" stands for invalid.

Definition at line 443 of file dbg_lay.cxx.

References SwFrameAreaDefinition::isFrameAreaPositionValid(), SwFrameAreaDefinition::isFrameAreaSizeValid(), and SwFrameAreaDefinition::isFramePrintAreaValid().

Referenced by SwImplProtocol::Record_().

static void lcl_FrameRect ( OStringBuffer &  rOut,
const char *  hint,
const SwRect rect 
)
static

output the frame as plain text.

Definition at line 471 of file dbg_lay.cxx.

References lcl_Padded(), SwRect::Pos(), and SwRect::SSize().

Referenced by SwImplProtocol::Record_().

static void lcl_FrameType ( OStringBuffer &  rOut,
const SwFrame pFrame 
)
static
static sal_uLong lcl_GetFrameId ( const SwFrame pFrame)
static
static void lcl_Padded ( OStringBuffer &  rOut,
const OString &  s,
size_t  length 
)
static

Definition at line 453 of file dbg_lay.cxx.

References i.

Referenced by lcl_FrameRect(), and lcl_Padded().

static void lcl_Padded ( OStringBuffer &  rOut,
const long  n,
size_t  length = 5 
)
static

Definition at line 462 of file dbg_lay.cxx.

References lcl_Padded(), and length.

static OString lcl_RowInfo ( const SwRowFrame pFrame)
static

Definition at line 495 of file dbg_lay.cxx.

References SwRowFrame::GetTabLine().

Referenced by SwImplProtocol::Record_().

static void lcl_Start ( OStringBuffer &  rOut,
OStringBuffer &  rLay,
DbgAction  nAction 
)
static

enable indentation by two spaces during DbgAction::Start and disable it again at DbgAction::End.

Definition at line 423 of file dbg_lay.cxx.

References End, and Start.

Referenced by SwImplProtocol::Record_().

static OString lcl_TableInfo ( const SwTabFrame pTabFrame)
static