LibreOffice Module sc (master) 1
|
#include <prnsave.hxx>
Public Member Functions | |
ScPrintRangeSaver (SCTAB nCount) | |
~ScPrintRangeSaver () | |
SCTAB | GetTabCount () const |
ScPrintSaverTab & | GetTabData (SCTAB nTab) |
const ScPrintSaverTab & | GetTabData (SCTAB nTab) const |
void | GetPrintRangesInfo (tools::JsonWriter &rPrintRanges) const |
bool | operator== (const ScPrintRangeSaver &rCmp) const |
Private Attributes | |
SCTAB | nTabCount |
std::unique_ptr< ScPrintSaverTab[]> | pData |
Definition at line 53 of file prnsave.hxx.
ScPrintRangeSaver::ScPrintRangeSaver | ( | SCTAB | nCount | ) |
Definition at line 60 of file prnsave.cxx.
ScPrintRangeSaver::~ScPrintRangeSaver | ( | ) |
Definition at line 67 of file prnsave.cxx.
void ScPrintRangeSaver::GetPrintRangesInfo | ( | tools::JsonWriter & | rPrintRanges | ) | const |
Definition at line 83 of file prnsave.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScPrintSaverTab::GetPrintRanges(), nTabCount, pData, tools::JsonWriter::put(), tools::JsonWriter::putRaw(), ScAddress::Row(), tools::JsonWriter::startArray(), and tools::JsonWriter::startStruct().
|
inline |
Definition at line 62 of file prnsave.hxx.
References nTabCount.
Referenced by ScDocument::RestorePrintRanges().
ScPrintSaverTab & ScPrintRangeSaver::GetTabData | ( | SCTAB | nTab | ) |
Definition at line 71 of file prnsave.cxx.
References nTabCount, and pData.
Referenced by ScDocument::RestorePrintRanges().
const ScPrintSaverTab & ScPrintRangeSaver::GetTabData | ( | SCTAB | nTab | ) | const |
Definition at line 77 of file prnsave.cxx.
bool ScPrintRangeSaver::operator== | ( | const ScPrintRangeSaver & | rCmp | ) | const |
Definition at line 114 of file prnsave.cxx.
|
private |
Definition at line 55 of file prnsave.hxx.
Referenced by GetPrintRangesInfo(), GetTabCount(), GetTabData(), and operator==().
|
private |
Definition at line 56 of file prnsave.hxx.
Referenced by GetPrintRangesInfo(), GetTabData(), operator==(), and ScPrintRangeSaver().