LibreOffice Module sw (master) 1
|
#include <dbg_lay.hxx>
#include <txtfrm.hxx>
#include <fntcache.hxx>
#include <tabfrm.hxx>
#include <rowfrm.hxx>
#include <cellfrm.hxx>
#include <layfrm.hxx>
#include <frame.hxx>
#include <swtable.hxx>
#include <ndtxt.hxx>
#include <o3tl/safeint.hxx>
#include <o3tl/string_view.hxx>
#include <rtl/strbuf.hxx>
#include <sal/log.hxx>
#include <tools/stream.hxx>
Go to the source code of this file.
Classes | |
class | SwImplProtocol |
class | SwImplEnterLeave |
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 tools::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... | |
|
static |
Definition at line 568 of file dbg_lay.cxx.
References SwTableBox::GetName(), SwCellFrame::GetTabBox(), lcl_CellText(), OUStringToOString(), and text().
Referenced by SwImplProtocol::Record_().
|
static |
Definition at line 539 of file dbg_lay.cxx.
References SwNodes::Count(), SwNode::EndOfSectionNode(), SwNode::GetIndex(), SwNode::GetNodes(), SwTableBox::GetSttNd(), SwCellFrame::GetTabBox(), SwTextNode::GetText(), SwNode::GetTextNode(), i, SwNode::IsEndNode(), SwNode::IsTextNode(), n, and result.
Referenced by lcl_CellInfo().
|
static |
output the ValidSize-, ValidPos- and ValidPrtArea-Flag ("Sz","Ps","PA") of the frame; "+" stands for valid, "-" stands for invalid.
Definition at line 474 of file dbg_lay.cxx.
References SwFrameAreaDefinition::isFrameAreaPositionValid(), SwFrameAreaDefinition::isFrameAreaSizeValid(), and SwFrameAreaDefinition::isFramePrintAreaValid().
Referenced by SwImplProtocol::Record_().
|
static |
output the frame as plain text.
Definition at line 504 of file dbg_lay.cxx.
References lcl_Padded(), SwRect::Pos(), and SwRect::SSize().
Referenced by SwImplProtocol::Record_().
|
static |
output the type of the frame as plain text.
Definition at line 575 of file dbg_lay.cxx.
References SwFrame::GetUpper(), SwFrame::IsBodyFrame(), SwFrame::IsCellFrame(), SwFrame::IsColBodyFrame(), SwFrame::IsColumnFrame(), SwFrame::IsFlyFrame(), SwFrame::IsFooterFrame(), SwFrame::IsFootnoteContFrame(), SwFrame::IsFootnoteFrame(), SwFrame::IsHeaderFrame(), SwFrame::IsLayoutFrame(), SwFrame::IsNoTextFrame(), SwFrame::IsPageFrame(), SwFrame::IsRootFrame(), SwFrame::IsRowFrame(), SwFrame::IsSctFrame(), SwFrame::IsTabFrame(), and SwFrame::IsTextFrame().
Referenced by SwImplProtocol::Record_().
Definition at line 118 of file dbg_lay.cxx.
References SwFrameAreaDefinition::GetFrameId().
Referenced by SwImplProtocol::Record_(), and SwImplProtocol::SectFunc().
|
static |
Definition at line 484 of file dbg_lay.cxx.
References i, length, and o3tl::make_unsigned().
Referenced by lcl_FrameRect(), and lcl_Padded().
|
static |
Definition at line 495 of file dbg_lay.cxx.
References lcl_Padded(), length, and n.
|
static |
Definition at line 527 of file dbg_lay.cxx.
References SwRowFrame::GetTabLine().
Referenced by SwImplProtocol::Record_().
|
static |
enable indentation by two spaces during DbgAction::Start and disable it again at DbgAction::End.
Definition at line 454 of file dbg_lay.cxx.
Referenced by SwImplProtocol::Record_().
|
static |
Definition at line 519 of file dbg_lay.cxx.
References SwFormat::GetName(), SwClient::GetRegisteredIn(), SwTabFrame::GetTable(), OUStringToOString(), and text().
Referenced by SwImplProtocol::Record_().