kspread

KSpread::AdjustColumnRowManipulator Class Reference

Optimizes the height and the width of rows and columns, respectively. More...

#include <RowColumnManipulators.h>

Inheritance diagram for KSpread::AdjustColumnRowManipulator:

List of all members.

Public Member Functions

 AdjustColumnRowManipulator (QUndoCommand *parent=0)
virtual ~AdjustColumnRowManipulator ()
virtual bool preProcessing ()
virtual bool process (Element *)
void setAdjustColumn (bool state)
void setAdjustRow (bool state)

Protected Member Functions

double adjustColumnHelper (const Cell &cell)
double adjustRowHelper (const Cell &cell)
QString name () const
QSizeF textSize (const QString &text, const Style &style) const

Detailed Description

Optimizes the height and the width of rows and columns, respectively.

Definition at line 80 of file RowColumnManipulators.h.


Constructor & Destructor Documentation

AdjustColumnRowManipulator::AdjustColumnRowManipulator ( QUndoCommand parent = 0  ) 

Definition at line 257 of file RowColumnManipulators.cpp.

AdjustColumnRowManipulator::~AdjustColumnRowManipulator (  )  [virtual]

Definition at line 264 of file RowColumnManipulators.cpp.


Member Function Documentation

double AdjustColumnRowManipulator::adjustColumnHelper ( const Cell cell  )  [protected]

Definition at line 578 of file RowColumnManipulators.cpp.

double AdjustColumnRowManipulator::adjustRowHelper ( const Cell cell  )  [protected]

Definition at line 607 of file RowColumnManipulators.cpp.

QString AdjustColumnRowManipulator::name (  )  const [protected]

Definition at line 622 of file RowColumnManipulators.cpp.

bool AdjustColumnRowManipulator::preProcessing (  )  [virtual]

Preprocessing of the region.

Reimplemented from KSpread::AbstractRegionCommand.

Definition at line 373 of file RowColumnManipulators.cpp.

bool AdjustColumnRowManipulator::process ( Element  )  [virtual]

Processes element , a Region::Point or a Region::Range .

Invoked by mainProcessing() .

Reimplemented from KSpread::AbstractRegionCommand.

Definition at line 268 of file RowColumnManipulators.cpp.

void KSpread::AdjustColumnRowManipulator::setAdjustColumn ( bool  state  )  [inline]

Definition at line 89 of file RowColumnManipulators.h.

void KSpread::AdjustColumnRowManipulator::setAdjustRow ( bool  state  )  [inline]

Definition at line 90 of file RowColumnManipulators.h.

QSizeF AdjustColumnRowManipulator::textSize ( const QString text,
const Style style 
) const [protected]

Definition at line 532 of file RowColumnManipulators.cpp.


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