27#define PAGEBREAK_LINE_DISTANCE_PIXEL 5
28#define PAGEBREAK_LINE_DASH_LEN_PIXEL 5
29#define PAGEBREAK_LINE_DASH_COUNT 1
45 bOptimize = (
pDev->GetMapMode().GetMapUnit() == MapUnit::MapPixel );
103 nX2 =
pDev->PixelToLogic(
Point(nX2, 0)).X();
115 LineInfo aLineInfo(LineStyle::Dash, 1);
147 nY2 =
pDev->PixelToLogic(
Point(0, nY2)).Y();
159 LineInfo aLineInfo(LineStyle::Dash, 1);
207 DrawGridFlags::VertLines );
219 DrawGridFlags::HorzLines );
void SetDashCount(sal_uInt16 nDashCount)
void SetDashLen(double nDashLen)
void SetDistance(double nDistance)
constexpr tools::Long Y() const
constexpr tools::Long X() const
ScGridMerger(OutputDevice *pOutDev, tools::Long nOnePixelX, tools::Long nOnePixelY)
void AddHorLine(bool bWorksInPixels, tools::Long nX1, tools::Long nX2, tools::Long nY, bool bDashed=false)
void AddVerLine(bool bWorksInPixels, tools::Long nX, tools::Long nY1, tools::Long nY2, bool bDashed=false)
VclPtr< OutputDevice > pDev
void AddLine(tools::Long nStart, tools::Long nEnd, tools::Long nPos)
constexpr tools::Long Height() const
constexpr tools::Long Width() const
#define PAGEBREAK_LINE_DASH_LEN_PIXEL
#define PAGEBREAK_LINE_DISTANCE_PIXEL
#define PAGEBREAK_LINE_DASH_COUNT