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 25 of file rowheightcontext.hxx.

Constructor & Destructor Documentation

◆ RowHeightContext()

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.

◆ ~RowHeightContext()

sc::RowHeightContext::~RowHeightContext ( )

Definition at line 24 of file rowheightcontext.cxx.

Member Function Documentation

◆ getExtraHeight()

sal_uInt16 sc::RowHeightContext::getExtraHeight ( ) const
inline

◆ getHeightArray()

RowHeightsArray & sc::RowHeightContext::getHeightArray ( )
inline

Definition at line 58 of file rowheightcontext.hxx.

Referenced by ScColumn::GetOptimalHeight().

◆ getOutputDevice()

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

Definition at line 50 of file rowheightcontext.hxx.

Referenced by ScColumn::GetOptimalHeight().

◆ getPPTX()

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

Definition at line 45 of file rowheightcontext.hxx.

Referenced by ScColumn::GetOptimalHeight().

◆ getPPTY()

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

Definition at line 46 of file rowheightcontext.hxx.

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

◆ getZoomX()

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

Definition at line 47 of file rowheightcontext.hxx.

Referenced by ScColumn::GetOptimalHeight().

◆ getZoomY()

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

Definition at line 48 of file rowheightcontext.hxx.

Referenced by ScColumn::GetOptimalHeight().

◆ isForceAutoSize()

bool sc::RowHeightContext::isForceAutoSize ( ) const
inline

◆ setExtraHeight()

void sc::RowHeightContext::setExtraHeight ( sal_uInt16  nH)

Definition at line 26 of file rowheightcontext.cxx.

References mnExtraHeight.

Referenced by ScViewFunc::SetWidthOrHeight(), and ScEEImport::WriteToDocument().

◆ setForceAutoSize()

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

Definition at line 31 of file rowheightcontext.cxx.

References mbForceAutoSize.

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

Member Data Documentation

◆ maHeights

RowHeightsArray sc::RowHeightContext::maHeights
private

Definition at line 27 of file rowheightcontext.hxx.

◆ maZoomX

Fraction sc::RowHeightContext::maZoomX
private

Definition at line 31 of file rowheightcontext.hxx.

◆ maZoomY

Fraction sc::RowHeightContext::maZoomY
private

Definition at line 32 of file rowheightcontext.hxx.

◆ mbForceAutoSize

bool sc::RowHeightContext::mbForceAutoSize
private

Definition at line 36 of file rowheightcontext.hxx.

Referenced by setForceAutoSize().

◆ mfPPTX

double sc::RowHeightContext::mfPPTX
private

Definition at line 29 of file rowheightcontext.hxx.

◆ mfPPTY

double sc::RowHeightContext::mfPPTY
private

Definition at line 30 of file rowheightcontext.hxx.

◆ mnExtraHeight

sal_uInt16 sc::RowHeightContext::mnExtraHeight
private

Definition at line 35 of file rowheightcontext.hxx.

Referenced by setExtraHeight().

◆ mpOutDev

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

Definition at line 33 of file rowheightcontext.hxx.


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