LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
ScPageBreakData Class Reference

#include <pagedata.hxx>

Public Member Functions

 ScPageBreakData (size_t nMax)
 
 ~ScPageBreakData ()
 
size_t GetCount () const
 
ScPrintRangeDataGetData (size_t i)
 
bool operator== (const ScPageBreakData &rOther) const
 
void AddPages ()
 

Private Attributes

size_t nAlloc
 
size_t nUsed
 
std::unique_ptr< ScPrintRangeData[]> pData
 

Detailed Description

Definition at line 62 of file pagedata.hxx.

Constructor & Destructor Documentation

◆ ScPageBreakData()

ScPageBreakData::ScPageBreakData ( size_t  nMax)

Definition at line 48 of file pagedata.cxx.

References nAlloc, nUsed, and pData.

◆ ~ScPageBreakData()

ScPageBreakData::~ScPageBreakData ( )

Definition at line 56 of file pagedata.cxx.

Member Function Documentation

◆ AddPages()

void ScPageBreakData::AddPages ( )

Definition at line 87 of file pagedata.cxx.

References i, nUsed, and pData.

◆ GetCount()

size_t ScPageBreakData::GetCount ( ) const
inline

◆ GetData()

ScPrintRangeData & ScPageBreakData::GetData ( size_t  i)

◆ operator==()

bool ScPageBreakData::operator== ( const ScPageBreakData rOther) const

compare ScPrintRangeData completely ??

Definition at line 73 of file pagedata.cxx.

References i, nUsed, and pData.

Member Data Documentation

◆ nAlloc

size_t ScPageBreakData::nAlloc
private

Definition at line 65 of file pagedata.hxx.

Referenced by GetData(), and ScPageBreakData().

◆ nUsed

size_t ScPageBreakData::nUsed
private

Definition at line 66 of file pagedata.hxx.

Referenced by AddPages(), GetCount(), GetData(), operator==(), and ScPageBreakData().

◆ pData

std::unique_ptr<ScPrintRangeData[]> ScPageBreakData::pData
private

Definition at line 67 of file pagedata.hxx.

Referenced by AddPages(), GetData(), operator==(), and ScPageBreakData().


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