LibreOffice Module sw (master) 1
|
Go to the source code of this file.
Classes | |
class | SwCollectTableLineBoxes |
Class for SplitTable Collects the uppermost or lowermost Lines of a Box from a Line in an array. More... | |
struct | SwSaveRowSpan |
This structure is needed by Undo to restore row span attributes when a table has been split into two tables. More... | |
struct | SwGCLineBorder |
class | SwGCBorder_BoxBrd |
class | SwShareBoxFormat |
class | SwShareBoxFormats |
Namespaces | |
namespace | editeng |
Functions | |
void | sw_LineSetHeadCondColl (const SwTableLine *pLine) |
void | CheckBoxWidth (const SwTableLine &rLine, SwTwips nSize) |
void | InsTableBox (SwDoc &rDoc, SwTableNode *pTableNd, SwTableLine *pLine, SwTableBoxFormat *pBoxFrameFormat, SwTableBox *pBox, sal_uInt16 nInsPos, sal_uInt16 nCnt=1) |
void | DeleteBox_ (SwTable &rTable, SwTableBox *pBox, SwUndo *pUndo, bool bCalcNewSize, const bool bCorrBorder, SwShareBoxFormats *pShareFormats=nullptr) |
void | sw_Box_CollectBox (const SwTableBox *pBox, SwCollectTableLineBoxes *pSplPara) |
bool | sw_Line_CollectBox (const SwTableLine *&rpLine, void *pPara) |
void | sw_BoxSetSplitBoxFormats (SwTableBox *pBox, SwCollectTableLineBoxes *pSplPara) |
void | sw_GC_Line_Border (const SwTableLine *pLine, SwGCLineBorder *pGCPara) |
void CheckBoxWidth | ( | const SwTableLine & | rLine, |
SwTwips | nSize | ||
) |
Definition at line 2576 of file tblrwcl.cxx.
References abs(), CheckBoxWidth(), COLFUZZY, SwTableBox::GetFrameFormat(), SwFormat::GetFrameSize(), SwTableLine::GetTabBoxes(), SwTableBox::GetTabLines(), and SvxSizeItem::GetWidth().
Referenced by CheckBoxWidth(), and SwTable::SetTabCols().
void DeleteBox_ | ( | SwTable & | rTable, |
SwTableBox * | pBox, | ||
SwUndo * | pUndo, | ||
bool | bCalcNewSize, | ||
const bool | bCorrBorder, | ||
SwShareBoxFormats * | pShareFormats = nullptr |
||
) |
Definition at line 671 of file tblrwcl.cxx.
References SwTableLines::begin(), SwTableBox::ClaimFrameFormat(), IDocumentContentOperations::DeleteSection(), SwExtraRedlineTable::DeleteTableCellRedline(), SwExtraRedlineTable::DeleteTableRowRedline(), SwTableLines::empty(), SwTableLines::erase(), SwFormat::GetBox(), SwTableLine::GetBoxPos(), SwNode::GetDoc(), SwFormat::GetDoc(), IDocumentRedlineAccess::GetExtraRedlineTable(), SwTable::GetFrameFormat(), SwTableBox::GetFrameFormat(), SwFormat::GetFrameSize(), SwDoc::getIDocumentContentOperations(), SwDoc::getIDocumentRedlineAccess(), SvxBoxItem::GetLeft(), SwTableLines::GetPos(), SvxBoxItem::GetRight(), SwTableBox::GetSttNd(), SwTableLine::GetTabBoxes(), SwTable::GetTabLines(), SwTableBox::GetTabLines(), SwTableLine::GetUpper(), SwTableBox::GetUpper(), SvxSizeItem::GetWidth(), SwUndo::IsDelBox(), lcl_LastBoxSetWidthLine(), rBoxItem, SwShareBoxFormats::RemoveFormat(), SwUndoTableNdsChg::SaveSection(), SwShareBoxFormats::SetAttr(), SwFormat::SetFormatAttr(), SvxBoxItem::SetLine(), SwShareBoxFormats::SetSize(), and SvxSizeItem::SetWidth().
Referenced by SwTable::ConvertSubtableBox(), SwTable::DeleteSel(), SwTable::MakeCopy(), SwTable::OldMerge(), and SwUndoTextToTable::UndoImpl().
void InsTableBox | ( | SwDoc & | rDoc, |
SwTableNode * | pTableNd, | ||
SwTableLine * | pLine, | ||
SwTableBoxFormat * | pBoxFrameFormat, | ||
SwTableBox * | pBox, | ||
sal_uInt16 | nInsPos, | ||
sal_uInt16 | nCnt = 1 |
||
) |
Definition at line 131 of file swtable.cxx.
References SfxItemSet::ClearItem(), SfxItemSet::Get(), SwNode::GetContentNode(), SwDoc::GetDfltTextFormatColl(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), SwContentNode::GetpSwAttrSet(), SwTableBox::getRowSpan(), SwTableBox::GetSaveNumFormatColor(), SwTableBox::GetSaveUserColor(), SwTableBox::GetSttNd(), SwFormatAutoFormat::GetStyleHandle(), SwContentNode::GetSwAttrSet(), SwTableLine::GetTabBoxes(), SwNodes::GoNext(), SfxItemSet::HasItem(), i, SwNodes::InsBoxen(), SwNode::IsTextNode(), SfxItemSet::Put(), RES_CHRATR_COLOR(), RES_PARATR_LIST_AUTOFMT(), and SwTableBox::setRowSpan().
Referenced by SwTable::ConvertSubtableBox(), lcl_CopyCol(), SwTable::NewInsertCol(), SwTable::OldSplitRow(), and SwTable::SplitCol().
void sw_Box_CollectBox | ( | const SwTableBox * | pBox, |
SwCollectTableLineBoxes * | pSplPara | ||
) |
Definition at line 3037 of file ndtbl.cxx.
References SwCollectTableLineBoxes::AddBox(), SwTableBox::GetTabLines(), SwCollectTableLineBoxes::IsGetFromTop(), SwTableLines::size(), and sw_Line_CollectBox().
Referenced by SwTable::MakeCopy(), SwDoc::SplitTable(), and sw_Line_CollectBox().
void sw_BoxSetSplitBoxFormats | ( | SwTableBox * | pBox, |
SwCollectTableLineBoxes * | pSplPara | ||
) |
Definition at line 3055 of file ndtbl.cxx.
References SwCollectTableLineBoxes::AddToUndoHistory(), BorderCopy, BoxAttrAllCopy, SwStartNode::CheckSectionCondColl(), SwContentNode::ChgFormatColl(), SwTableBox::ClaimFrameFormat(), SwNode::EndOfSectionIndex(), SwDoc::GetAttrPool(), SwFormat::GetAttrSet(), SvxBoxItem::GetBottom(), SwFormat::GetBox(), SwCollectTableLineBoxes::GetBoxOfPos(), SwNode::GetContentNode(), SwFormat::GetDoc(), SwContentNode::GetFormatColl(), SwTableBox::GetFrameFormat(), SwCollectTableLineBoxes::GetMode(), SwNodeIndex::GetNode(), SwNodeIndex::GetNodes(), SwTableBox::GetSttNd(), SwTableBox::GetTabLines(), SvxBoxItem::GetTop(), SwNodes::GoNext(), SwCollectTableLineBoxes::IsGetFromTop(), rBoxItem, RES_BACKGROUND(), RES_LR_SPACE(), RES_PROTECT(), RES_SHADOW(), RES_UL_SPACE(), RES_VERT_ORIENT(), SwFormat::SetFormatAttr(), SvxBoxItem::SetLine(), SwTableLines::size(), SwNode::StartOfSectionIndex(), and sw_Line_CollectBox().
Referenced by SwTable::MakeCopy(), SwDoc::SplitTable(), and sw_Line_CollectBox().
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().
bool sw_Line_CollectBox | ( | const SwTableLine *& | rpLine, |
void * | pPara | ||
) |
Definition at line 3025 of file ndtbl.cxx.
References SwTableLine::GetTabBoxes(), SwCollectTableLineBoxes::IsGetValues(), sw_Box_CollectBox(), and sw_BoxSetSplitBoxFormats().
Referenced by sw_Box_CollectBox(), sw_BoxSetSplitBoxFormats(), and sw_GC_Line_Border().
void sw_LineSetHeadCondColl | ( | const SwTableLine * | pLine | ) |
Definition at line 2338 of file tblrwcl.cxx.
References SwTableLine::GetTabBoxes(), and lcl_BoxSetHeadCondColl().
Referenced by lcl_BoxSetHeadCondColl(), and SwNodes::MergeTable().