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

#include <pagedata.hxx>

Collaboration diagram for ScPrintRangeData:
[legend]

Public Member Functions

 ScPrintRangeData ()
 
 ~ScPrintRangeData ()
 
void SetPrintRange (const ScRange &rNew)
 
const ScRangeGetPrintRange () const
 
void SetPagesX (size_t nCount, const SCCOL *pEnd)
 
void SetPagesY (size_t nCount, const SCROW *pEnd)
 
size_t GetPagesX () const
 
const SCCOLGetPageEndX () const
 
size_t GetPagesY () const
 
const SCROWGetPageEndY () const
 
void SetFirstPage (tools::Long nNew)
 
tools::Long GetFirstPage () const
 
void SetTopDown (bool bSet)
 
bool IsTopDown () const
 
void SetAutomatic (bool bSet)
 
bool IsAutomatic () const
 

Private Attributes

ScRange aPrintRange
 
std::vector< SCCOLmvPageEndX
 
std::vector< SCROWmvPageEndY
 
tools::Long nFirstPage
 
bool bTopDown
 
bool bAutomatic
 

Detailed Description

Definition at line 27 of file pagedata.hxx.

Constructor & Destructor Documentation

ScPrintRangeData::ScPrintRangeData ( )

Definition at line 26 of file pagedata.cxx.

References bAutomatic, bTopDown, and nFirstPage.

ScPrintRangeData::~ScPrintRangeData ( )

Definition at line 32 of file pagedata.cxx.

Member Function Documentation

tools::Long ScPrintRangeData::GetFirstPage ( ) const
inline

Definition at line 55 of file pagedata.hxx.

References nFirstPage.

Referenced by ScGridWindow::DrawPagePreview().

const SCCOL* ScPrintRangeData::GetPageEndX ( ) const
inline

Definition at line 50 of file pagedata.hxx.

References mvPageEndX.

Referenced by ScGridWindow::DrawPagePreview(), and ScGridWindow::HitPageBreak().

const SCROW* ScPrintRangeData::GetPageEndY ( ) const
inline

Definition at line 52 of file pagedata.hxx.

References mvPageEndY.

Referenced by ScGridWindow::DrawPagePreview(), and ScGridWindow::HitPageBreak().

size_t ScPrintRangeData::GetPagesX ( ) const
inline

Definition at line 49 of file pagedata.hxx.

References mvPageEndX.

Referenced by ScGridWindow::DrawPagePreview(), and ScGridWindow::HitPageBreak().

size_t ScPrintRangeData::GetPagesY ( ) const
inline

Definition at line 51 of file pagedata.hxx.

References mvPageEndY.

Referenced by ScGridWindow::DrawPagePreview(), and ScGridWindow::HitPageBreak().

const ScRange& ScPrintRangeData::GetPrintRange ( ) const
inline
bool ScPrintRangeData::IsAutomatic ( ) const
inline

Definition at line 59 of file pagedata.hxx.

References bAutomatic.

Referenced by ScGridWindow::DrawPagePreview().

bool ScPrintRangeData::IsTopDown ( ) const
inline

Definition at line 57 of file pagedata.hxx.

References bTopDown.

Referenced by ScGridWindow::DrawPagePreview().

void ScPrintRangeData::SetAutomatic ( bool  bSet)
inline

Definition at line 58 of file pagedata.hxx.

void ScPrintRangeData::SetFirstPage ( tools::Long  nNew)
inline

Definition at line 54 of file pagedata.hxx.

void ScPrintRangeData::SetPagesX ( size_t  nCount,
const SCCOL pEnd 
)

Definition at line 36 of file pagedata.cxx.

References mvPageEndX.

void ScPrintRangeData::SetPagesY ( size_t  nCount,
const SCROW pEnd 
)

Definition at line 42 of file pagedata.cxx.

References mvPageEndY.

void ScPrintRangeData::SetPrintRange ( const ScRange rNew)
inline

Definition at line 43 of file pagedata.hxx.

void ScPrintRangeData::SetTopDown ( bool  bSet)
inline

Definition at line 56 of file pagedata.hxx.

Member Data Documentation

ScRange ScPrintRangeData::aPrintRange
private

Definition at line 30 of file pagedata.hxx.

Referenced by GetPrintRange().

bool ScPrintRangeData::bAutomatic
private

Definition at line 37 of file pagedata.hxx.

Referenced by IsAutomatic(), and ScPrintRangeData().

bool ScPrintRangeData::bTopDown
private

Definition at line 36 of file pagedata.hxx.

Referenced by IsTopDown(), and ScPrintRangeData().

std::vector<SCCOL> ScPrintRangeData::mvPageEndX
private

Definition at line 32 of file pagedata.hxx.

Referenced by GetPageEndX(), GetPagesX(), and SetPagesX().

std::vector<SCROW> ScPrintRangeData::mvPageEndY
private

Definition at line 34 of file pagedata.hxx.

Referenced by GetPageEndY(), GetPagesY(), and SetPagesY().

tools::Long ScPrintRangeData::nFirstPage
private

Definition at line 35 of file pagedata.hxx.

Referenced by GetFirstPage(), and ScPrintRangeData().


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