kspread

KSpread::CaseManipulator Class Reference

CaseManipulator converts data to uppercase/lowercase/. More...

#include <DataManipulators.h>

Inheritance diagram for KSpread::CaseManipulator:

List of all members.

Public Types

enum  CaseMode { Upper = 0, Lower, FirstUpper }

Public Member Functions

 CaseManipulator ()
virtual ~CaseManipulator ()
void changeFirstUpper ()
void changeLowerCase ()
void changeMode (CaseMode mode)

Protected Member Functions

virtual Value newValue (Element *element, int col, int row, bool *parse, Format::Type *fmtType)
virtual bool wantChange (Element *element, int col, int row)

Protected Attributes

CaseMode m_mode

Detailed Description

CaseManipulator converts data to uppercase/lowercase/.

..

Definition at line 166 of file DataManipulators.h.


Member Enumeration Documentation

Enumerator:
Upper 
Lower 
FirstUpper 

Definition at line 171 of file DataManipulators.h.


Constructor & Destructor Documentation

CaseManipulator::CaseManipulator (  ) 

Definition at line 362 of file DataManipulators.cpp.

CaseManipulator::~CaseManipulator (  )  [virtual]

Definition at line 368 of file DataManipulators.cpp.


Member Function Documentation

void KSpread::CaseManipulator::changeFirstUpper (  ) 
void KSpread::CaseManipulator::changeLowerCase (  ) 
void KSpread::CaseManipulator::changeMode ( CaseMode  mode  )  [inline]

Definition at line 176 of file DataManipulators.h.

Value CaseManipulator::newValue ( Element element,
int  col,
int  row,
bool *  parse,
Format::Type fmtType 
) [protected, virtual]

Return new value.

row/col are relative to sheet, not element. If the function sets *parse to true, the value will be treated as an user-entered string and parsed by Cell.

Implements KSpread::AbstractDataManipulator.

Definition at line 372 of file DataManipulators.cpp.

bool CaseManipulator::wantChange ( Element element,
int  col,
int  row 
) [protected, virtual]

do we want to change this cell ?

Reimplemented from KSpread::AbstractDataManipulator.

Definition at line 392 of file DataManipulators.cpp.


Member Data Documentation

Definition at line 186 of file DataManipulators.h.


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