LibreOffice Module sw (master)  1
Classes | Functions
gctable.cxx File Reference
#include <hintids.hxx>
#include <tblrwcl.hxx>
#include <swtblfmt.hxx>
#include <algorithm>
#include <editeng/borderline.hxx>
#include <editeng/boxitem.hxx>
#include <osl/diagnose.h>
Include dependency graph for gctable.cxx:

Go to the source code of this file.

Classes

struct  GCLinePara
 

Functions

static const SvxBorderLine * GetLineTB (const SvxBoxItem *pBox, bool bTop)
 
static bool lcl_GCBorder_ChkBoxBrd_B (const SwTableBox *pBox, SwGCBorder_BoxBrd *pPara)
 
static bool lcl_GCBorder_ChkBoxBrd_L (const SwTableLine *pLine, SwGCBorder_BoxBrd *pPara)
 
static void lcl_GCBorder_GetLastBox_B (const SwTableBox *pBox, SwTableBoxes *pPara)
 
static void lcl_GCBorder_GetLastBox_L (const SwTableLine *pLine, SwTableBoxes *pPara)
 
static sal_uInt16 lcl_FindEndPosOfBorder (const SwCollectTableLineBoxes &rCollTLB, const SvxBorderLine &rBrdLn, size_t &rStt, bool bTop)
 
static const SvxBorderLine * lcl_GCBorder_GetBorder (const SwTableBox &rBox, bool bTop, const SfxPoolItem **ppItem)
 
static void lcl_GCBorder_DelBorder (const SwCollectTableLineBoxes &rCollTLB, size_t &rStt, bool bTop, const SvxBorderLine &rLine, const SfxPoolItem *pItem, sal_uInt16 nEndPos, SwShareBoxFormats *pShareFormats)
 
static void lcl_GC_Box_Border (const SwTableBox *pBox, SwGCLineBorder *pPara)
 
void sw_GC_Line_Border (const SwTableLine *pLine, SwGCLineBorder *pGCPara)
 
static bool lcl_MergeGCLine (SwTableLine *pLine, GCLinePara *pPara)
 
static bool lcl_MergeGCBox (SwTableBox *pTableBox, GCLinePara *pPara)
 

Function Documentation

static const SvxBorderLine* GetLineTB ( const SvxBoxItem pBox,
bool  bTop 
)
static

Definition at line 30 of file gctable.cxx.

References SvxBoxItem::GetBottom(), and SvxBoxItem::GetTop().

Referenced by lcl_FindEndPosOfBorder(), and lcl_GCBorder_GetBorder().

static sal_uInt16 lcl_FindEndPosOfBorder ( const SwCollectTableLineBoxes rCollTLB,
const SvxBorderLine &  rBrdLn,
size_t &  rStt,
bool  bTop 
)
static
static void lcl_GC_Box_Border ( const SwTableBox pBox,
SwGCLineBorder pPara 
)
static
static bool lcl_GCBorder_ChkBoxBrd_B ( const SwTableBox pBox,
SwGCBorder_BoxBrd pPara 
)
static
static bool lcl_GCBorder_ChkBoxBrd_L ( const SwTableLine pLine,
SwGCBorder_BoxBrd pPara 
)
static

Definition at line 51 of file gctable.cxx.

References SwTableLine::GetTabBoxes(), and lcl_GCBorder_ChkBoxBrd_B().

Referenced by lcl_GCBorder_ChkBoxBrd_B().

static void lcl_GCBorder_DelBorder ( const SwCollectTableLineBoxes rCollTLB,
size_t &  rStt,
bool  bTop,
const SvxBorderLine &  rLine,
const SfxPoolItem pItem,
sal_uInt16  nEndPos,
SwShareBoxFormats pShareFormats 
)
static
static const SvxBorderLine* lcl_GCBorder_GetBorder ( const SwTableBox rBox,
bool  bTop,
const SfxPoolItem **  ppItem 
)
static
static void lcl_GCBorder_GetLastBox_B ( const SwTableBox pBox,
SwTableBoxes pPara 
)
static
static void lcl_GCBorder_GetLastBox_L ( const SwTableLine pLine,
SwTableBoxes pPara 
)
static

Definition at line 76 of file gctable.cxx.

References SwTableLine::GetTabBoxes(), and lcl_GCBorder_GetLastBox_B().

Referenced by lcl_GCBorder_GetLastBox_B().

static bool lcl_MergeGCBox ( SwTableBox pTableBox,
GCLinePara pPara 
)
static
static bool lcl_MergeGCLine ( SwTableLine pLine,
GCLinePara pPara 
)
static
void sw_GC_Line_Border ( const SwTableLine pLine,
SwGCLineBorder pGCPara 
)