#include <manipulator.h>

Inheritance diagram for KSpread::MergeManipulator:
KSpread::Manipulator KSpread::Region

Public Member Functions

virtual bool preProcessing ()
 
virtual void setReverse (bool reverse)
 
void setHorizontalMerge (bool state)
 
void setVerticalMerge (bool state)
 
- Public Member Functions inherited from KSpread::Manipulator
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 &)
 
void setRegisterUndo (bool registerUndo)
 
virtual void setName (const TQString &n)
 
- 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 postProcessing ()
 
virtual TQString name () const
 
- Protected Member Functions inherited from KSpread::Manipulator
virtual bool process (Cell *)
 
virtual bool process (Format *)
 
- 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

bool m_merge
 
- Protected Attributes inherited from KSpread::Manipulator
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

MergeManipulator.

Definition at line 419 of file manipulator.h.

Constructor & Destructor Documentation

◆ MergeManipulator()

MergeManipulator::MergeManipulator ( )

Definition at line 793 of file manipulator.cpp.

◆ ~MergeManipulator()

MergeManipulator::~MergeManipulator ( )
virtual

Definition at line 802 of file manipulator.cpp.

Member Function Documentation

◆ name()

TQString MergeManipulator::name ( ) const
protectedvirtual

Reimplemented from KSpread::Manipulator.

Definition at line 900 of file manipulator.cpp.

◆ postProcessing()

bool MergeManipulator::postProcessing ( )
protectedvirtual

Reimplemented from KSpread::Manipulator.

Definition at line 996 of file manipulator.cpp.

◆ preProcessing()

bool MergeManipulator::preProcessing ( )
virtual

Reimplemented from KSpread::Manipulator.

Definition at line 920 of file manipulator.cpp.

◆ process()

bool MergeManipulator::process ( Element *  element)
protectedvirtual

Reimplemented from KSpread::Manipulator.

Definition at line 807 of file manipulator.cpp.

◆ setHorizontalMerge()

void KSpread::MergeManipulator::setHorizontalMerge ( bool  state)
inline

Definition at line 428 of file manipulator.h.

◆ setReverse()

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

Reimplemented from KSpread::Manipulator.

Definition at line 427 of file manipulator.h.

◆ setVerticalMerge()

void KSpread::MergeManipulator::setVerticalMerge ( bool  state)
inline

Definition at line 429 of file manipulator.h.

Member Data Documentation

◆ m_merge

bool KSpread::MergeManipulator::m_merge
protected

Definition at line 438 of file manipulator.h.


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