LibreOffice Module sw (master) 1
Public Types | Public Member Functions | Private Attributes | List of all members
SwTableLines Class Reference

#include <swtable.hxx>

Public Types

typedef std::vector< SwTableLine * >::size_type size_type
 
typedef std::vector< SwTableLine * >::iterator iterator
 
typedef std::vector< SwTableLine * >::const_iterator const_iterator
 

Public Member Functions

 ~SwTableLines ()
 
bool empty () const
 
size_type size () const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
SwTableLinefront () const
 
SwTableLineback () const
 
void clear ()
 
iterator erase (iterator aIt)
 
iterator erase (iterator aFirst, iterator aLast)
 
iterator insert (iterator aIt, SwTableLine *pLine)
 
template<typename TInputIterator >
void insert (iterator aIt, TInputIterator aFirst, TInputIterator aLast)
 
void push_back (SwTableLine *pLine)
 
void reserve (size_type nSize)
 
SwTableLine *& operator[] (size_type nPos)
 
SwTableLineoperator[] (size_type nPos) const
 
sal_uInt16 GetPos (const SwTableLine *pBox) const
 

Private Attributes

std::vector< SwTableLine * > m_vLines
 

Detailed Description

Definition at line 63 of file swtable.hxx.

Member Typedef Documentation

◆ const_iterator

typedef std::vector<SwTableLine*>::const_iterator SwTableLines::const_iterator

Definition at line 70 of file swtable.hxx.

◆ iterator

typedef std::vector<SwTableLine*>::iterator SwTableLines::iterator

Definition at line 69 of file swtable.hxx.

◆ size_type

typedef std::vector<SwTableLine*>::size_type SwTableLines::size_type

Definition at line 68 of file swtable.hxx.

Constructor & Destructor Documentation

◆ ~SwTableLines()

SwTableLines::~SwTableLines ( )

Definition at line 3209 of file swtable.cxx.

References begin(), and end().

Member Function Documentation

◆ back()

SwTableLine * SwTableLines::back ( ) const
inline

◆ begin() [1/2]

iterator SwTableLines::begin ( )
inline

◆ begin() [2/2]

const_iterator SwTableLines::begin ( ) const
inline

Definition at line 78 of file swtable.hxx.

References m_vLines.

◆ clear()

void SwTableLines::clear ( )
inline

Definition at line 83 of file swtable.hxx.

References m_vLines.

Referenced by SwNodes::MergeTable(), SwDDETable::NoDDETable(), and SwDDETable::SwDDETable().

◆ empty()

bool SwTableLines::empty ( ) const
inline

◆ end() [1/2]

iterator SwTableLines::end ( )
inline

◆ end() [2/2]

const_iterator SwTableLines::end ( ) const
inline

Definition at line 80 of file swtable.hxx.

References m_vLines.

◆ erase() [1/2]

iterator SwTableLines::erase ( iterator  aFirst,
iterator  aLast 
)
inline

Definition at line 85 of file swtable.hxx.

References m_vLines.

◆ erase() [2/2]

iterator SwTableLines::erase ( iterator  aIt)
inline

Definition at line 84 of file swtable.hxx.

References m_vLines.

Referenced by SaveTable::CreateNew(), DeleteBox_(), lcl_CpyLines(), lcl_MergeGCLine(), and SwNodes::SplitTable().

◆ front()

SwTableLine * SwTableLines::front ( ) const
inline

◆ GetPos()

sal_uInt16 SwTableLines::GetPos ( const SwTableLine pBox) const
inline

◆ insert() [1/2]

iterator SwTableLines::insert ( iterator  aIt,
SwTableLine pLine 
)
inline

◆ insert() [2/2]

template<typename TInputIterator >
void SwTableLines::insert ( iterator  aIt,
TInputIterator  aFirst,
TInputIterator  aLast 
)
inline

Definition at line 88 of file swtable.hxx.

References m_vLines.

◆ operator[]() [1/2]

SwTableLine *& SwTableLines::operator[] ( size_type  nPos)
inline

Definition at line 94 of file swtable.hxx.

References m_vLines, and nPos.

◆ operator[]() [2/2]

SwTableLine * SwTableLines::operator[] ( size_type  nPos) const
inline

Definition at line 95 of file swtable.hxx.

References m_vLines, and nPos.

◆ push_back()

void SwTableLines::push_back ( SwTableLine pLine)
inline

◆ reserve()

void SwTableLines::reserve ( size_type  nSize)
inline

Definition at line 93 of file swtable.hxx.

References m_vLines.

Referenced by SwTableBox::SwTableBox().

◆ size()

size_type SwTableLines::size ( ) const
inline

Definition at line 76 of file swtable.hxx.

References m_vLines.

Referenced by WW8TabDesc::AdjustNewBand(), FndBox_::AreLinesToRestore(), SwDDETable::ChangeContent(), SwTable::CheckConsistency(), SwTable::CheckRowSpan(), SwTable::CleanUpBottomRowSpan(), SwTable::CollectBoxSelection(), SwWriteTable::CollectTableRowsCols(), ConvertNestedTablesToText(), SwTable::ConvertSubtableBox(), SwTable::ConvertSubtables(), SaveTable::CreateNew(), SwTable::CreateSelection(), SwDoc::DeleteRow(), FndBox_::DelFrames(), SwChartDataProvider::detectArguments(), SwTable::ExpandColumnSelection(), SwXMLExport::ExportTableLines(), SwXMLExport::ExportTableLinesAutoStyles(), SwWriteTable::FillTableRowsCols(), FindBox_(), SwTableBox::FindEndOfRowSpan(), SwTableLine::FindNextBox(), SwTableBox::FindStartOfRowSpan(), RtfAttributeOutput::FinishTableRowCell(), SwTable::GCLines(), SwXTableRows::getByIndex(), ww8::WW8TableNodeInfoInner::getColumnWidthsBasedOnAllRows(), SwXTableRows::getCount(), SwWriteTable::GetLineHeight(), SwXTextTable::getPropertyValue(), SwXTextTable::Impl::GetRowCount(), SwVbaTableHelper::GetTabBox(), SwTable::GetTabCols(), SwVbaTableHelper::getTabColumnsMaxCount(), SwTable::GetTableBox(), SwTable::HasDeletedRowOrCell(), SwChartDataProvider::Impl_createDataSource(), SwXTableRows::insertByIndex(), SwTable::InsTable(), SwTable::IsDeleted(), SwTable::IsEmpty(), SwGCLineBorder::IsLastLine(), WW8TabDesc::IsValidCell(), lcl_AdjustLines(), lcl_CalcWidth(), lcl_ChangeRowSpan(), lcl_CheckCol(), lcl_CheckRowSpan(), lcl_CopyTableBox(), lcl_CpyBox(), lcl_CpyLines(), lcl_FindStartEndRow(), lcl_FndNxtPrvDelBox(), lcl_getAllMergedBoxes(), lcl_GetRowNumber(), lcl_Merge_MoveLine(), lcl_MergeGCBox(), lcl_MergeGCLine(), lcl_ProcessBoxGet(), lcl_ProcessBoxPtr(), lcl_ProcessBoxSet(), lcl_ProcessBoxSize(), lcl_RelToBox(), lcl_SaveUpperLowerBorder(), lcl_SetTableBoxWidths(), lcl_SetTableBoxWidths2(), SwTabFrame::MakeAll(), FndBox_::MakeFrames(), FndBox_::MakeNewFrames(), HTMLTable::MakeTable(), WW8TabDesc::MergeCells(), SwFEShell::MergeTab(), SwNodes::MergeTable(), SwTable::NewInsertCol(), SwTable::NewSetTabCols(), MSWordExportBase::OutputTextNode(), WW8TabDesc::ParkPaM(), SwTable::PrepareDeleteCol(), ww8::WW8TableInfo::processSwTable(), ww8::WW8TableInfo::processTableBox(), ww8::WW8TableInfo::processTableBoxLines(), SaveTable::RestoreAttr(), SwTable::RestoreRowSpan(), SaveTable::SaveTable(), SwTable::SetColWidth(), WW8TabDesc::SetPamInCell(), SwXTextTable::setPropertyValue(), SwTable::SetRowHeight(), SwTable::SetTabCols(), FndBox_::SetTableLines(), SwDoc::SplitTable(), SwNodes::SplitTable(), sw_Box_CollectBox(), sw_BoxSetSplitBoxFormats(), SwCellFrame::SwCellFrame(), SwTabFrame::SwTabFrame(), SwXMLTableLines_Impl::SwXMLTableLines_Impl(), and SwDoc::TextToTable().

Member Data Documentation

◆ m_vLines

std::vector<SwTableLine*> SwTableLines::m_vLines
private

Definition at line 65 of file swtable.hxx.

Referenced by back(), begin(), clear(), empty(), end(), erase(), front(), insert(), operator[](), push_back(), reserve(), and size().


The documentation for this class was generated from the following files: