LibreOffice Module sw (master) 1
|
#include <hintids.hxx>
#include <tblrwcl.hxx>
#include <algorithm>
#include <editeng/borderline.hxx>
#include <editeng/boxitem.hxx>
#include <osl/diagnose.h>
Go to the source code of this file.
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 SvxBoxItem **ppItem) |
static void | lcl_GCBorder_DelBorder (const SwCollectTableLineBoxes &rCollTLB, size_t &rStt, bool bTop, const SvxBorderLine &rLine, const SvxBoxItem *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) |
|
static |
Definition at line 29 of file gctable.cxx.
References SvxBoxItem::GetBottom(), and SvxBoxItem::GetTop().
Referenced by lcl_FindEndPosOfBorder(), and lcl_GCBorder_GetBorder().
|
static |
Definition at line 96 of file gctable.cxx.
References SwCollectTableLineBoxes::Count(), SwCollectTableLineBoxes::GetBox(), SwTableBox::GetFrameFormat(), SwFormat::GetItemIfSet(), GetLineTB(), nPos, and RES_BOX().
Referenced by sw_GC_Line_Border().
|
static |
Definition at line 315 of file gctable.cxx.
References SwTableLines::empty(), SwTableBox::GetTabLines(), SwGCLineBorder::pShareFormats, and sw_GC_Line_Border().
Referenced by sw_GC_Line_Border().
|
static |
Definition at line 57 of file gctable.cxx.
References SwGCBorder_BoxBrd::CheckLeftBorderOfFormat(), SwTableLines::empty(), SwTableBox::GetFrameFormat(), SwTableBox::GetTabLines(), and lcl_GCBorder_ChkBoxBrd_L().
Referenced by lcl_GCBorder_ChkBoxBrd_L(), and sw_GC_Line_Border().
|
static |
Definition at line 51 of file gctable.cxx.
References SwTableLine::GetTabBoxes(), and lcl_GCBorder_ChkBoxBrd_B().
Referenced by lcl_GCBorder_ChkBoxBrd_B().
|
static |
Definition at line 126 of file gctable.cxx.
References SwTableBox::ClaimFrameFormat(), SwCollectTableLineBoxes::Count(), SwCollectTableLineBoxes::GetBox(), lcl_GCBorder_GetBorder(), SwShareBoxFormats::SetAttr(), SwFormat::SetFormatAttr(), and SvxBoxItem::SetLine().
Referenced by sw_GC_Line_Border().
|
static |
Definition at line 116 of file gctable.cxx.
References SwTableBox::GetFrameFormat(), SwFormat::GetItemIfSet(), GetLineTB(), and RES_BOX().
Referenced by lcl_GCBorder_DelBorder(), and sw_GC_Line_Border().
|
static |
Definition at line 83 of file gctable.cxx.
References SwTableLines::empty(), SwTableBox::GetTabLines(), and lcl_GCBorder_GetLastBox_L().
Referenced by lcl_GCBorder_GetLastBox_L(), and sw_GC_Line_Border().
|
static |
Definition at line 76 of file gctable.cxx.
References SwTableLine::GetTabBoxes(), and lcl_GCBorder_GetLastBox_B().
Referenced by lcl_GCBorder_GetLastBox_B().
|
static |
Definition at line 342 of file gctable.cxx.
References SwTableLines::empty(), SwTableLine::GetFrameFormat(), SwFormat::GetItemState(), SwTableLine::GetTabBoxes(), SwTableBox::GetTabLines(), SwTableBox::GetUpper(), lcl_MergeGCLine(), n, RES_BACKGROUND(), size, and SwTableLines::size().
Referenced by lcl_MergeGCLine().
|
static |
Definition at line 390 of file gctable.cxx.
References SwTableLines::begin(), SwTableLines::empty(), SwTableLines::end(), SwTableLines::erase(), SwTableLine::GetFrameFormat(), SwFormat::GetItemState(), SwTableLines::GetPos(), SwTableLine::GetTabBoxes(), SwTableBox::GetTabLines(), SwTableLine::GetUpper(), SwTableLines::insert(), lcl_MergeGCBox(), RES_BACKGROUND(), size, and SwTableLines::size().
Referenced by SwTable::GCLines(), and lcl_MergeGCBox().
void sw_GC_Line_Border | ( | const SwTableLine * | pLine, |
SwGCLineBorder * | pGCPara | ||
) |
Definition at line 166 of file gctable.cxx.
References SwTableBox::ClaimFrameFormat(), SwCollectTableLineBoxes::Count(), SwCollectTableLineBoxes::GetBox(), SwTableBox::GetFrameFormat(), SwFormat::GetItemIfSet(), SwTableBox::GetSttNd(), SwTableLine::GetTabBoxes(), i, SwGCBorder_BoxBrd::IsAnyBorderFound(), SwGCLineBorder::IsLastLine(), lcl_FindEndPosOfBorder(), lcl_GC_Box_Border(), lcl_GCBorder_ChkBoxBrd_B(), lcl_GCBorder_DelBorder(), lcl_GCBorder_GetBorder(), lcl_GCBorder_GetLastBox_B(), n, SwGCLineBorder::nLinePos, SwGCLineBorder::pLines, SwGCLineBorder::pShareFormats, RES_BOX(), SwShareBoxFormats::SetAttr(), SwGCBorder_BoxBrd::SetBorder(), SwFormat::SetFormatAttr(), SvxBoxItem::SetLine(), and sw_Line_CollectBox().
Referenced by lcl_GC_Box_Border(), and SwNodes::MergeTable().