#include <manipulator.h>

Inheritance diagram for KSpread::Manipulator:
KSpread::Region KSpread::AdjustColumnRowManipulator KSpread::DilationManipulator KSpread::FormatManipulator KSpread::HideShowManipulator KSpread::InsertDeleteManipulator KSpread::MergeManipulator KSpread::ResizeColumnManipulator KSpread::ResizeRowManipulator

Public Member Functions

Sheet * sheet () const
 
void setSheet (Sheet *sheet)
 
bool creation ()
 
void setCreation (bool creation)
 
bool format ()
 
void setFormat (bool f)
 
virtual void execute ()
 
virtual void unexecute ()
 
virtual void setArgument (const TQString &, const TQString &)
 
virtual void setReverse (bool reverse)
 
void setRegisterUndo (bool registerUndo)
 
virtual void setName (const TQString &n)
 
virtual TQString name () const
 
- Public Member Functions inherited from KSpread::Region
 Region ()
 
 Region (const TQPoint &point, Sheet *sheet=0)
 
 Region (const TQRect &range, Sheet *sheet=0)
 
 Region (View *view, const TQString &strRegion, Sheet *sheet=0)
 
 Region (const Region &region)
 
 Region (int col, int row, Sheet *sheet=0)
 
 Region (int col, int row, int width, int height, Sheet *sheet=0)
 
virtual ~Region ()
 
TQString name (Sheet *originSheet=0) const
 
Sheet * filterSheetName (TQString &sRegion)
 
bool isEmpty () const
 
bool isSingular () const
 
bool isContiguous () const
 
bool isValid () const
 
bool isColumnSelected (uint col=0) const
 
bool isRowSelected (uint row=0) const
 
bool isColumnOrRowSelected () const
 
bool isColumnAffected (uint col) const
 
bool isRowAffected (uint row) const
 
bool contains (const TQPoint &point, Sheet *sheet=0) const
 
Element * add (const TQPoint &point, Sheet *sheet=0)
 
Element * add (const TQRect &range, Sheet *sheet=0)
 
Element * add (const Region &region)
 
void sub (const TQPoint &point)
 
void sub (const TQRect &range)
 
void sub (const Region &region)
 
virtual Element * eor (const TQPoint &point, Sheet *sheet=0)
 
virtual void clear ()
 
TQRect boundingRect () const
 
bool operator== (const Region &region) const
 
void operator= (const Region &region)
 
View * view () const
 
void setView (View *)
 
ConstIterator constBegin () const
 
ConstIterator constEnd () const
 

Protected Member Functions

virtual bool process (Element *)
 
virtual bool process (Cell *)
 
virtual bool process (Format *)
 
virtual bool preProcessing ()
 
virtual bool postProcessing ()
 
- Protected Member Functions inherited from KSpread::Region
TQValueList< Element * > & cells () const
 
Iterator insert (Iterator iterator, const TQPoint &point, Sheet *, bool multi=true)
 
Iterator insert (Iterator iterator, const TQRect &range, Sheet *, bool multi=true)
 
virtual Point * createPoint (const TQPoint &) const
 
virtual Point * createPoint (const TQString &) const
 
virtual Point * createPoint (const Point &) const
 
virtual Range * createRange (const TQRect &) const
 
virtual Range * createRange (const TQString &) const
 
virtual Range * createRange (const Range &) const
 

Protected Attributes

Sheet * m_sheet
 
TQString m_name
 
bool m_creation: 1
 
bool m_reverse: 1
 
bool m_firstrun: 1
 
bool m_format: 1
 
bool m_register: 1
 

Additional Inherited Members

- Public Types inherited from KSpread::Region
typedef TQValueList< Element * >::Iterator Iterator
 
typedef TQValueList< Element * >::ConstIterator ConstIterator
 

Detailed Description

Manipulator.

Definition at line 66 of file manipulator.h.

Constructor & Destructor Documentation

◆ Manipulator()

Manipulator::Manipulator ( )

Definition at line 87 of file manipulator.cpp.

◆ ~Manipulator()

Manipulator::~Manipulator ( )
virtual

Definition at line 99 of file manipulator.cpp.

Member Function Documentation

◆ creation()

bool KSpread::Manipulator::creation ( )
inline

Definition at line 75 of file manipulator.h.

◆ execute()

void Manipulator::execute ( )
virtual

Definition at line 103 of file manipulator.cpp.

◆ format()

bool KSpread::Manipulator::format ( )
inline

Is this a formatting manipulator ? If so, execute will call process(Format*) for each complete row/column, instead of going cell-by-cell.

True by default.

Definition at line 81 of file manipulator.h.

◆ name()

virtual TQString KSpread::Manipulator::name ( ) const
inlinevirtual

Definition at line 93 of file manipulator.h.

◆ postProcessing()

virtual bool KSpread::Manipulator::postProcessing ( )
inlineprotectedvirtual

Definition at line 101 of file manipulator.h.

◆ preProcessing()

virtual bool KSpread::Manipulator::preProcessing ( )
inlineprotectedvirtual

Definition at line 100 of file manipulator.h.

◆ process() [1/3]

virtual bool KSpread::Manipulator::process ( Cell *  )
inlineprotectedvirtual

Definition at line 97 of file manipulator.h.

◆ process() [2/3]

bool Manipulator::process ( Element *  element)
protectedvirtual

Definition at line 164 of file manipulator.cpp.

◆ process() [3/3]

virtual bool KSpread::Manipulator::process ( Format *  )
inlineprotectedvirtual

Definition at line 98 of file manipulator.h.

◆ setArgument()

virtual void KSpread::Manipulator::setArgument ( const TQString &  ,
const TQString &   
)
inlinevirtual

Definition at line 87 of file manipulator.h.

◆ setCreation()

void KSpread::Manipulator::setCreation ( bool  creation)
inline

Definition at line 76 of file manipulator.h.

◆ setFormat()

void KSpread::Manipulator::setFormat ( bool  f)
inline

Definition at line 82 of file manipulator.h.

◆ setName()

virtual void KSpread::Manipulator::setName ( const TQString &  n)
inlinevirtual

Definition at line 92 of file manipulator.h.

◆ setRegisterUndo()

void KSpread::Manipulator::setRegisterUndo ( bool  registerUndo)
inline

Definition at line 90 of file manipulator.h.

◆ setReverse()

virtual void KSpread::Manipulator::setReverse ( bool  reverse)
inlinevirtual

Definition at line 89 of file manipulator.h.

◆ setSheet()

void KSpread::Manipulator::setSheet ( Sheet *  sheet)
inline

Definition at line 73 of file manipulator.h.

◆ sheet()

Sheet * KSpread::Manipulator::sheet ( ) const
inline

Definition at line 72 of file manipulator.h.

◆ unexecute()

void Manipulator::unexecute ( )
virtual

Definition at line 157 of file manipulator.cpp.

Member Data Documentation

◆ m_creation

bool KSpread::Manipulator::m_creation
protected

Definition at line 106 of file manipulator.h.

◆ m_firstrun

bool KSpread::Manipulator::m_firstrun
protected

Definition at line 108 of file manipulator.h.

◆ m_format

bool KSpread::Manipulator::m_format
protected

Definition at line 109 of file manipulator.h.

◆ m_name

TQString KSpread::Manipulator::m_name
protected

Definition at line 105 of file manipulator.h.

◆ m_register

bool KSpread::Manipulator::m_register
protected

Definition at line 110 of file manipulator.h.

◆ m_reverse

bool KSpread::Manipulator::m_reverse
protected

Definition at line 107 of file manipulator.h.

◆ m_sheet

Sheet* KSpread::Manipulator::m_sheet
protected

Definition at line 104 of file manipulator.h.


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