20 #ifndef INCLUDED_SC_SOURCE_UI_INC_PFUNCACHE_HXX
21 #define INCLUDED_SC_SOURCE_UI_INC_PFUNCACHE_HXX
26 #include <printopt.hxx>
79 nPage(nP), aCellRange(rRange), aRectangle(rRect) {}
Stores the selection in the ScPrintFuncCache so it is only used for the same selection again...
ScPrintSelectionMode GetMode() const
tools::Long GetFirstAttr(SCTAB nTab) const
todo: It should be possible to have MarkArrays for each table, in order to enable "search all" across...
ScPrintPageLocation(tools::Long nP, const ScRange &rRange, const tools::Rectangle &rRect)
ScPrintSelectionMode eMode
bool operator==(const ScPrintSelectionStatus &rOther) const
The range that is printed on a page (excluding repeated columns/rows), and its position on the page...
void SetMode(ScPrintSelectionMode eNew)
std::vector< tools::Long > nFirstAttr
Stores the data for printing that is needed from several sheets, so it doesn't have to be calculated ...
ScPrintFuncCache(ScDocShell *pD, const ScMarkData &rMark, const ScPrintSelectionStatus &rStatus)
ScPrintSelectionMode
Possible types of selection for print functions.
bool FindLocation(const ScAddress &rCell, ScPrintPageLocation &rLocation) const
void InitLocations(const ScMarkData &rMark, OutputDevice *pDev)
tools::Long GetTabStart(SCTAB nTab) const
std::vector< tools::Long > nPages
SCTAB GetTabForPage(tools::Long nPage) const
tools::Long GetPageCount() const
bool IsSameSelection(const ScPrintSelectionStatus &rStatus) const
tools::Long GetDisplayStart(SCTAB nTab) const
void SetRanges(const ScRangeList &rNew)
const ScPrintOptions & GetOptions() const
tools::Rectangle aRectangle
void SetOptions(const ScPrintOptions &rNew)
ScPrintSelectionStatus aSelection
std::vector< ScPrintPageLocation > aLocations