LibreOffice Module sc (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScGridMerger Class Reference

#include <gridmerg.hxx>

Collaboration diagram for ScGridMerger:
[legend]

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< OutputDevicepDev
 
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
 

Detailed Description

Definition at line 27 of file gridmerg.hxx.

Constructor & Destructor Documentation

◆ ScGridMerger()

ScGridMerger::ScGridMerger ( OutputDevice pOutDev,
tools::Long  nOnePixelX,
tools::Long  nOnePixelY 
)

Definition at line 31 of file gridmerg.cxx.

References bOptimize, nCount, and pDev.

◆ ~ScGridMerger()

ScGridMerger::~ScGridMerger ( )

Definition at line 48 of file gridmerg.cxx.

References Flush().

Member Function Documentation

◆ AddHorLine()

void ScGridMerger::AddHorLine ( bool  bWorksInPixels,
tools::Long  nX1,
tools::Long  nX2,
tools::Long  nY,
bool  bDashed = false 
)

◆ AddLine()

void ScGridMerger::AddLine ( tools::Long  nStart,
tools::Long  nEnd,
tools::Long  nPos 
)
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().

◆ AddVerLine()

void ScGridMerger::AddVerLine ( bool  bWorksInPixels,
tools::Long  nX,
tools::Long  nY1,
tools::Long  nY2,
bool  bDashed = false 
)

◆ Flush()

void ScGridMerger::Flush ( void  )

Member Data Documentation

◆ bOptimize

bool ScGridMerger::bOptimize
private

Definition at line 39 of file gridmerg.hxx.

Referenced by AddHorLine(), AddVerLine(), and ScGridMerger().

◆ bVertical

bool ScGridMerger::bVertical
private

Definition at line 38 of file gridmerg.hxx.

Referenced by AddHorLine(), AddLine(), AddVerLine(), and Flush().

◆ nCount

tools::Long ScGridMerger::nCount
private

Definition at line 37 of file gridmerg.hxx.

Referenced by AddLine(), and Flush().

◆ nFixEnd

tools::Long ScGridMerger::nFixEnd
private

Definition at line 34 of file gridmerg.hxx.

Referenced by AddLine(), and Flush().

◆ nFixStart

tools::Long ScGridMerger::nFixStart
private

Definition at line 33 of file gridmerg.hxx.

Referenced by AddLine(), and Flush().

◆ nOneX

tools::Long ScGridMerger::nOneX
private

Definition at line 31 of file gridmerg.hxx.

Referenced by AddLine().

◆ nOneY

tools::Long ScGridMerger::nOneY
private

Definition at line 32 of file gridmerg.hxx.

Referenced by AddLine().

◆ nVarDiff

tools::Long ScGridMerger::nVarDiff
private

Definition at line 36 of file gridmerg.hxx.

Referenced by AddLine(), and Flush().

◆ nVarStart

tools::Long ScGridMerger::nVarStart
private

Definition at line 35 of file gridmerg.hxx.

Referenced by AddLine(), and Flush().

◆ pDev

VclPtr<OutputDevice> ScGridMerger::pDev
private

Definition at line 30 of file gridmerg.hxx.

Referenced by AddHorLine(), AddVerLine(), Flush(), and ScGridMerger().


The documentation for this class was generated from the following files: