33#define SC_PREVIEW_MAXRANGES 4
34#define SC_PREVIEW_RANGE_EDGE 0
35#define SC_PREVIEW_RANGE_REPCOL 1
36#define SC_PREVIEW_RANGE_REPROW 2
37#define SC_PREVIEW_RANGE_TAB 3
64 std::unique_ptr<ScPreviewColRowInfo[]>
66 std::unique_ptr<ScPreviewColRowInfo[]>
88 typedef std::list<std::unique_ptr<ScPreviewLocationEntry>>
Entries_t;
sal_uInt8 aDrawRangeId[SC_PREVIEW_MAXRANGES]
void AddColHeaders(const tools::Rectangle &rRect, SCCOL nStartCol, SCCOL nEndCol, bool bRepCol)
void AddCellRange(const tools::Rectangle &rRect, const ScRange &rRange, bool bRepCol, bool bRepRow, const MapMode &rDrawMap)
bool GetHeaderPosition(tools::Rectangle &rHeaderRect) const
bool IsFooterLeft() const
tools::Rectangle aDrawRectangle[SC_PREVIEW_MAXRANGES]
VclPtr< OutputDevice > pWindow
void SetPrintTab(SCTAB nNew)
bool GetNoteInRange(const tools::Rectangle &rVisiblePixel, tools::Long nIndex, bool bNoteMarks, ScAddress &rCellPos, tools::Rectangle &rNoteRect) const
sal_uInt16 GetDrawRanges() const
MapMode aDrawMapMode[SC_PREVIEW_MAXRANGES]
bool HasCellsInRange(const tools::Rectangle &rVisiblePixel) const
void AddNoteMark(const tools::Rectangle &rRect, const ScAddress &rPos)
void AddRowHeaders(const tools::Rectangle &rRect, SCROW nStartRow, SCROW nEndRow, bool bRepRow)
bool GetMainCellRange(ScRange &rRange, tools::Rectangle &rPixRect) const
tools::Rectangle GetCellOutputRect(const ScAddress &rCellPos) const
tools::Rectangle GetHeaderCellOutputRect(const tools::Rectangle &rVisRect, const ScAddress &rCellPos, bool bColHeader) const
void SetCellMapMode(const MapMode &rMapMode)
ScPreviewLocationData(ScDocument *pDocument, OutputDevice *pWin)
tools::Rectangle GetNoteInRangeOutputRect(const tools::Rectangle &rVisiblePixel, bool bNoteMarks, const ScAddress &aCellPos) const
void AddHeaderFooter(const tools::Rectangle &rRect, bool bHeader, bool bLeft)
tools::Long GetNoteCountInRange(const tools::Rectangle &rVisiblePixel, bool bNoteMarks) const
bool IsHeaderLeft() const
void GetCellPosition(const ScAddress &rCellPos, tools::Rectangle &rCellRect) const
void GetTableInfo(const tools::Rectangle &rVisiblePixel, ScPreviewTableInfo &rInfo) const
tools::Rectangle GetOffsetPixel(const ScAddress &rCellPos, const ScRange &rRange) const
bool GetFooterPosition(tools::Rectangle &rFooterRect) const
std::list< std::unique_ptr< ScPreviewLocationEntry > > Entries_t
SCTAB GetPrintTab() const
void GetDrawRange(sal_uInt16 nPos, tools::Rectangle &rPixelRect, MapMode &rMapMode, sal_uInt8 &rRangeId) const
void AddNoteText(const tools::Rectangle &rRect, const ScAddress &rPos)
std::unique_ptr< ScPreviewColRowInfo[]> pColInfo
std::unique_ptr< ScPreviewColRowInfo[]> pRowInfo
const ScPreviewColRowInfo * GetRowInfo() const
void SetColInfo(SCCOL nCount, ScPreviewColRowInfo *pNewInfo)
void LimitToArea(const tools::Rectangle &rPixelArea)
void SetTab(SCTAB nNewTab)
const ScPreviewColRowInfo * GetColInfo() const
void SetRowInfo(SCROW nCount, ScPreviewColRowInfo *pNewInfo)
#define SC_PREVIEW_MAXRANGES
void Set(bool bHeader, SCCOLROW nIndex, tools::Long nStart, tools::Long nEnd)
sal_Int32 SCCOLROW
a type capable of holding either SCCOL or SCROW