LibreOffice Module sc (master) 1
|
#include <gridmerg.hxx>
Public Member Functions | |
ScGridMerger (OutputDevice *pOutDev, tools::Long nOnePixelX, tools::Long nOnePixelY) | |
~ScGridMerger () | |
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) |
void | Flush () |
Private Member Functions | |
void | AddLine (tools::Long nStart, tools::Long nEnd, tools::Long nPos) |
Private Attributes | |
VclPtr< OutputDevice > | pDev |
tools::Long | nOneX |
tools::Long | nOneY |
tools::Long | nFixStart |
tools::Long | nFixEnd |
tools::Long | nVarStart |
tools::Long | nVarDiff |
tools::Long | nCount |
bool | bVertical |
bool | bOptimize |
Definition at line 27 of file gridmerg.hxx.
ScGridMerger::ScGridMerger | ( | OutputDevice * | pOutDev, |
tools::Long | nOnePixelX, | ||
tools::Long | nOnePixelY | ||
) |
Definition at line 31 of file gridmerg.cxx.
ScGridMerger::~ScGridMerger | ( | ) |
Definition at line 48 of file gridmerg.cxx.
References Flush().
void ScGridMerger::AddHorLine | ( | bool | bWorksInPixels, |
tools::Long | nX1, | ||
tools::Long | nX2, | ||
tools::Long | nY, | ||
bool | bDashed = false |
||
) |
Definition at line 96 of file gridmerg.cxx.
References AddLine(), bOptimize, bVertical, Flush(), Size::Height(), PAGEBREAK_LINE_DASH_COUNT, PAGEBREAK_LINE_DASH_LEN_PIXEL, PAGEBREAK_LINE_DISTANCE_PIXEL, pDev, LineInfo::SetDashCount(), LineInfo::SetDashLen(), LineInfo::SetDistance(), Size::Width(), Point::X(), and Point::Y().
Referenced by ScOutputData::DrawGrid(), and ScHeaderControl::Paint().
|
private |
keep VarEnd?
Definition at line 53 of file gridmerg.cxx.
References bVertical, Flush(), nCount, nFixEnd, nFixStart, nOneX, nOneY, nPos, nVarDiff, and nVarStart.
Referenced by AddHorLine(), and AddVerLine().
void ScGridMerger::AddVerLine | ( | bool | bWorksInPixels, |
tools::Long | nX, | ||
tools::Long | nY1, | ||
tools::Long | nY2, | ||
bool | bDashed = false |
||
) |
Definition at line 140 of file gridmerg.cxx.
References AddLine(), bOptimize, bVertical, Flush(), Size::Height(), PAGEBREAK_LINE_DASH_COUNT, PAGEBREAK_LINE_DASH_LEN_PIXEL, PAGEBREAK_LINE_DISTANCE_PIXEL, pDev, LineInfo::SetDashCount(), LineInfo::SetDashLen(), LineInfo::SetDistance(), Size::Width(), Point::X(), and Point::Y().
Referenced by ScOutputData::DrawGrid(), and ScHeaderControl::Paint().
void ScGridMerger::Flush | ( | void | ) |
Definition at line 184 of file gridmerg.cxx.
References bVertical, nCount, nFixEnd, nFixStart, nVarDiff, nVarStart, and pDev.
Referenced by AddHorLine(), AddLine(), AddVerLine(), ScOutputData::DrawGrid(), ScHeaderControl::Paint(), and ~ScGridMerger().
|
private |
Definition at line 39 of file gridmerg.hxx.
Referenced by AddHorLine(), AddVerLine(), and ScGridMerger().
|
private |
Definition at line 38 of file gridmerg.hxx.
Referenced by AddHorLine(), AddLine(), AddVerLine(), and Flush().
|
private |
Definition at line 37 of file gridmerg.hxx.
|
private |
Definition at line 34 of file gridmerg.hxx.
|
private |
Definition at line 33 of file gridmerg.hxx.
|
private |
Definition at line 31 of file gridmerg.hxx.
Referenced by AddLine().
|
private |
Definition at line 32 of file gridmerg.hxx.
Referenced by AddLine().
|
private |
Definition at line 36 of file gridmerg.hxx.
|
private |
Definition at line 35 of file gridmerg.hxx.
|
private |
Definition at line 30 of file gridmerg.hxx.
Referenced by AddHorLine(), AddVerLine(), Flush(), and ScGridMerger().