From d38c2cd2d51212dfcd50197d6a86c61dd74dcb68 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Fri, 6 Mar 2015 16:44:46 +0100 Subject: sc tiled rendering: Split ScGridWindow::Draw() to setup and drawing. The drawing part is planned to be shared with the tiled rendering, while the setup part has to be different. Change-Id: I9101111d44f4602cdb92916ff3889b52bf10a8bf --- sc/source/ui/inc/gridwin.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sc/source/ui/inc/gridwin.hxx') diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx index 712fb7245c62..17a255f7aacc 100644 --- a/sc/source/ui/inc/gridwin.hxx +++ b/sc/source/ui/inc/gridwin.hxx @@ -355,12 +355,15 @@ public: ::com::sun::star::sheet::DataPilotFieldOrientation GetDPFieldOrientation( SCCOL nCol, SCROW nRow ) const; - void DrawButtons( SCCOL nX1, SCCOL nX2, ScTableInfo& rTabInfo, OutputDevice* pContentDev); + void DrawButtons(SCCOL nX1, SCCOL nX2, const ScTableInfo& rTabInfo, OutputDevice* pContentDev); using Window::Draw; void Draw( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, ScUpdateMode eMode = SC_UPDATE_ALL ); + /// Draw content of the gridwindow; shared between the desktop and the tiled rendering. + void DrawContent(OutputDevice &rDevice, const ScTableInfo& rTableInfo, ScOutputData& aOutputData, bool bLogicText, ScUpdateMode eMode); + void CreateAnchorHandle(SdrHdlList& rHdl, const ScAddress& rAddress); void HideCursor(); -- cgit