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

#include <rowheightcontext.hxx>

Collaboration diagram for sc::RowHeightContext:
[legend]

Public Member Functions

 RowHeightContext (SCROW nMaxRow, double fPPTX, double fPPTY, const Fraction &rZoomX, const Fraction &rZoomY, OutputDevice *pOutDev)
 whether to set height to optimal even when the manual height flag is set. More...
 
 ~RowHeightContext ()
 
double getPPTX () const
 
double getPPTY () const
 
const FractiongetZoomX () const
 
const FractiongetZoomY () const
 
OutputDevicegetOutputDevice ()
 
void setExtraHeight (sal_uInt16 nH)
 
sal_uInt16 getExtraHeight () const
 
void setForceAutoSize (bool b)
 
bool isForceAutoSize () const
 
RowHeightsArraygetHeightArray ()
 

Private Attributes

RowHeightsArray maHeights
 
double mfPPTX
 
double mfPPTY
 
Fraction maZoomX
 
Fraction maZoomY
 
VclPtr< OutputDevicempOutDev
 
sal_uInt16 mnExtraHeight
 
bool mbForceAutoSize
 

Detailed Description

Definition at line 26 of file rowheightcontext.hxx.

Constructor & Destructor Documentation

sc::RowHeightContext::RowHeightContext ( SCROW  nMaxRow,
double  fPPTX,
double  fPPTY,
const Fraction rZoomX,
const Fraction rZoomY,
OutputDevice pOutDev 
)

whether to set height to optimal even when the manual height flag is set.

Definition at line 14 of file rowheightcontext.cxx.

sc::RowHeightContext::~RowHeightContext ( )

Definition at line 24 of file rowheightcontext.cxx.

Member Function Documentation

sal_uInt16 sc::RowHeightContext::getExtraHeight ( ) const
inline
RowHeightsArray& sc::RowHeightContext::getHeightArray ( )
inline

Definition at line 59 of file rowheightcontext.hxx.

Referenced by ScColumn::GetOptimalHeight().

OutputDevice* sc::RowHeightContext::getOutputDevice ( )
inline

Definition at line 51 of file rowheightcontext.hxx.

Referenced by ScColumn::GetOptimalHeight().

double sc::RowHeightContext::getPPTX ( ) const
inline

Definition at line 46 of file rowheightcontext.hxx.

Referenced by ScColumn::GetOptimalHeight().

double sc::RowHeightContext::getPPTY ( ) const
inline

Definition at line 47 of file rowheightcontext.hxx.

Referenced by ScColumn::GetOptimalHeight(), and ScTable::SetOptimalHeight().

const Fraction& sc::RowHeightContext::getZoomX ( ) const
inline

Definition at line 48 of file rowheightcontext.hxx.

Referenced by ScColumn::GetOptimalHeight().

const Fraction& sc::RowHeightContext::getZoomY ( ) const
inline

Definition at line 49 of file rowheightcontext.hxx.

Referenced by ScColumn::GetOptimalHeight().

bool sc::RowHeightContext::isForceAutoSize ( ) const
inline
void sc::RowHeightContext::setExtraHeight ( sal_uInt16  nH)

Definition at line 26 of file rowheightcontext.cxx.

References mnExtraHeight.

Referenced by ScEEImport::WriteToDocument().

void sc::RowHeightContext::setForceAutoSize ( bool  b)

Definition at line 31 of file rowheightcontext.cxx.

References mbForceAutoSize.

Referenced by ScDocFunc::SetWidthOrHeight(), and ScViewFunc::SetWidthOrHeight().

Member Data Documentation

RowHeightsArray sc::RowHeightContext::maHeights
private

Definition at line 28 of file rowheightcontext.hxx.

Fraction sc::RowHeightContext::maZoomX
private

Definition at line 32 of file rowheightcontext.hxx.

Fraction sc::RowHeightContext::maZoomY
private

Definition at line 33 of file rowheightcontext.hxx.

bool sc::RowHeightContext::mbForceAutoSize
private

Definition at line 37 of file rowheightcontext.hxx.

Referenced by setForceAutoSize().

double sc::RowHeightContext::mfPPTX
private

Definition at line 30 of file rowheightcontext.hxx.

double sc::RowHeightContext::mfPPTY
private

Definition at line 31 of file rowheightcontext.hxx.

sal_uInt16 sc::RowHeightContext::mnExtraHeight
private

Definition at line 36 of file rowheightcontext.hxx.

Referenced by setExtraHeight().

VclPtr<OutputDevice> sc::RowHeightContext::mpOutDev
private

Definition at line 34 of file rowheightcontext.hxx.


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