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

#include <prnsave.hxx>

Public Member Functions

 ScPrintRangeSaver (SCTAB nCount)
 
 ~ScPrintRangeSaver ()
 
SCTAB GetTabCount () const
 
ScPrintSaverTabGetTabData (SCTAB nTab)
 
const ScPrintSaverTabGetTabData (SCTAB nTab) const
 
void GetPrintRangesInfo (tools::JsonWriter &rPrintRanges) const
 
bool operator== (const ScPrintRangeSaver &rCmp) const
 

Private Attributes

SCTAB nTabCount
 
std::unique_ptr< ScPrintSaverTab[]> pData
 

Detailed Description

Definition at line 53 of file prnsave.hxx.

Constructor & Destructor Documentation

◆ ScPrintRangeSaver()

ScPrintRangeSaver::ScPrintRangeSaver ( SCTAB  nCount)

Definition at line 60 of file prnsave.cxx.

References nCount, and pData.

◆ ~ScPrintRangeSaver()

ScPrintRangeSaver::~ScPrintRangeSaver ( )

Definition at line 67 of file prnsave.cxx.

Member Function Documentation

◆ GetPrintRangesInfo()

void ScPrintRangeSaver::GetPrintRangesInfo ( tools::JsonWriter rPrintRanges) const

◆ GetTabCount()

SCTAB ScPrintRangeSaver::GetTabCount ( ) const
inline

Definition at line 62 of file prnsave.hxx.

References nTabCount.

Referenced by ScDocument::RestorePrintRanges().

◆ GetTabData() [1/2]

ScPrintSaverTab & ScPrintRangeSaver::GetTabData ( SCTAB  nTab)

Definition at line 71 of file prnsave.cxx.

References nTabCount, and pData.

Referenced by ScDocument::RestorePrintRanges().

◆ GetTabData() [2/2]

const ScPrintSaverTab & ScPrintRangeSaver::GetTabData ( SCTAB  nTab) const

Definition at line 77 of file prnsave.cxx.

References nTabCount, and pData.

◆ operator==()

bool ScPrintRangeSaver::operator== ( const ScPrintRangeSaver rCmp) const

Definition at line 114 of file prnsave.cxx.

References i, nTabCount, and pData.

Member Data Documentation

◆ nTabCount

SCTAB ScPrintRangeSaver::nTabCount
private

Definition at line 55 of file prnsave.hxx.

Referenced by GetPrintRangesInfo(), GetTabCount(), GetTabData(), and operator==().

◆ pData

std::unique_ptr<ScPrintSaverTab[]> ScPrintRangeSaver::pData
private

Definition at line 56 of file prnsave.hxx.

Referenced by GetPrintRangesInfo(), GetTabData(), operator==(), and ScPrintRangeSaver().


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