28#include <osl/diagnose.h>
32#include <document.hxx>
45 for (nCol=0; nCol<
nX1; nCol++)
50 for (nCol=
nX1; nCol<=
nX2; nCol++)
61 Point aMMOffset( aOffset );
66 aMMOffset +=
Point( nLogStX, nLogStY );
68 for (nCol=
nX1; nCol<=
nX2; nCol++)
96 mpDev->SetMapMode( aOldMode );
130 mpDev->SetMapMode( aOldMode );
137 bool bHideAllDrawingLayer(
false);
166 mpDev->SetMapMode( aOldMode );
181 rOutl.SetDefaultHorizontalTextDirection(
193 mpDev->SetDrawMode( nOldDrawMode | DrawModeFlags::SettingsLine | DrawModeFlags::SettingsFill |
194 DrawModeFlags::SettingsText | DrawModeFlags::SettingsGradient );
207 pPageView->
DrawLayer(sal::static_int_cast<SdrLayerID>(nLayer),
mpDev);
212 mpDev->SetDrawMode(nOldDrawMode);
static const AllSettings & GetSettings()
const Fraction & GetScaleX() const
const Fraction & GetScaleY() const
constexpr tools::Long Y() const
void setX(tools::Long nX)
void setY(tools::Long nY)
tools::Long AdjustY(tools::Long nVertMove)
tools::Long AdjustX(tools::Long nHorzMove)
constexpr tools::Long X() const
SC_DLLPUBLIC sal_uInt16 GetRowHeight(SCROW nRow, SCTAB nTab, bool bHiddenAsZero=true) const
SC_DLLPUBLIC sal_uInt16 GetColWidth(SCCOL nCol, SCTAB nTab, bool bHiddenAsZero=true) const
EEHorizontalTextDirection GetEditTextDirection(SCTAB nTab) const
SC_DLLPUBLIC ScDrawLayer * GetDrawLayer()
SdrPaintWindow * mpTargetPaintWindow
void PostPrintDrawingLayer(const Point &rMMOffset)
VclPtr< OutputDevice > mpDev
void PrintDrawingLayer(SdrLayerID nLayer, const Point &rMMOffset)
void DrawSelectiveObjects(SdrLayerID nLayer)
Point PrePrintDrawingLayer(tools::Long nLogStX, tools::Long nLogStY)
ScTabViewShell * pViewShell
ScDrawView * GetScDrawView()
SdrOutliner & GetDrawOutliner(const SdrTextObj *pObj=nullptr) const
void DrawLayer(SdrLayerID nID, OutputDevice *pGivenTarget, sdr::contact::ViewObjectContactRedirector *pRedirector=nullptr, const tools::Rectangle &rRect=tools::Rectangle(), basegfx::B2IRectangle const *pPageFrame=nullptr)
void EndDrawLayers(SdrPaintWindow &rPaintWindow, bool bPaintFormLayer)
bool getHideFormControl() const
SdrPageView * GetSdrPageView() const
bool getHideChart() const
SdrPaintWindow * BeginDrawLayers(OutputDevice *pOut, const vcl::Region &rReg, bool bDisableIntersect=false)
constexpr Point convert(const Point &rPoint, o3tl::Length eFrom, o3tl::Length eTo)