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::ScPrintRangeData ( )

Definition at line 26 of file pagedata.cxx.

References bAutomatic, bTopDown, and nFirstPage.

◆ ~ScPrintRangeData()

ScPrintRangeData::~ScPrintRangeData ( )

Definition at line 32 of file pagedata.cxx.

Member Function Documentation

◆ GetFirstPage()

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

Definition at line 55 of file pagedata.hxx.

References nFirstPage.

Referenced by ScGridWindow::DrawPagePreview().

◆ GetPageEndX()

const SCCOL * ScPrintRangeData::GetPageEndX ( ) const
inline

Definition at line 50 of file pagedata.hxx.

References mvPageEndX.

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

◆ GetPageEndY()

const SCROW * ScPrintRangeData::GetPageEndY ( ) const
inline

Definition at line 52 of file pagedata.hxx.

References mvPageEndY.

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

◆ GetPagesX()

size_t ScPrintRangeData::GetPagesX ( ) const
inline

Definition at line 49 of file pagedata.hxx.

References mvPageEndX.

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

◆ GetPagesY()

size_t ScPrintRangeData::GetPagesY ( ) const
inline

Definition at line 51 of file pagedata.hxx.

References mvPageEndY.

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

◆ GetPrintRange()

const ScRange & ScPrintRangeData::GetPrintRange ( ) const
inline

◆ IsAutomatic()

bool ScPrintRangeData::IsAutomatic ( ) const
inline

Definition at line 59 of file pagedata.hxx.

References bAutomatic.

Referenced by ScGridWindow::DrawPagePreview().

◆ IsTopDown()

bool ScPrintRangeData::IsTopDown ( ) const
inline

Definition at line 57 of file pagedata.hxx.

References bTopDown.

Referenced by ScGridWindow::DrawPagePreview().

◆ SetAutomatic()

void ScPrintRangeData::SetAutomatic ( bool  bSet)
inline

Definition at line 58 of file pagedata.hxx.

References bAutomatic.

Referenced by ScPrintFunc::FillPageData().

◆ SetFirstPage()

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

Definition at line 54 of file pagedata.hxx.

References nFirstPage.

◆ SetPagesX()

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

Definition at line 36 of file pagedata.cxx.

References mvPageEndX, nCount, and pData.

Referenced by ScPrintFunc::FillPageData().

◆ SetPagesY()

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

Definition at line 42 of file pagedata.cxx.

References mvPageEndY, nCount, and pData.

Referenced by ScPrintFunc::FillPageData().

◆ SetPrintRange()

void ScPrintRangeData::SetPrintRange ( const ScRange rNew)
inline

Definition at line 43 of file pagedata.hxx.

References aPrintRange.

Referenced by ScPrintFunc::FillPageData().

◆ SetTopDown()

void ScPrintRangeData::SetTopDown ( bool  bSet)
inline

Definition at line 56 of file pagedata.hxx.

References bTopDown.

Referenced by ScPrintFunc::FillPageData().

Member Data Documentation

◆ aPrintRange

ScRange ScPrintRangeData::aPrintRange
private

Definition at line 30 of file pagedata.hxx.

Referenced by GetPrintRange(), and SetPrintRange().

◆ bAutomatic

bool ScPrintRangeData::bAutomatic
private

Definition at line 37 of file pagedata.hxx.

Referenced by IsAutomatic(), ScPrintRangeData(), and SetAutomatic().

◆ bTopDown

bool ScPrintRangeData::bTopDown
private

Definition at line 36 of file pagedata.hxx.

Referenced by IsTopDown(), ScPrintRangeData(), and SetTopDown().

◆ mvPageEndX

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

Definition at line 32 of file pagedata.hxx.

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

◆ mvPageEndY

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

Definition at line 34 of file pagedata.hxx.

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

◆ nFirstPage

tools::Long ScPrintRangeData::nFirstPage
private

Definition at line 35 of file pagedata.hxx.

Referenced by GetFirstPage(), ScPrintRangeData(), and SetFirstPage().


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