kspread

#include <manipulator_data.h>

Public Member Functions

void setParsing (bool val)
void setValue (Value val)
void setFormat (FormatType fmtType)

Protected Member Functions

virtual Value newValue (Element *element, int col, int row, bool *, FormatType *)

Protected Attributes

Value data
FormatType m_format
bool m_parsing: 1

Detailed Description

DataManipulator - allows setting values on one range.

If multiple ranges are selected, they all get set to the same values

Definition at line 66 of file manipulator_data.h.

Constructor & Destructor Documentation

◆ DataManipulator()

DataManipulator::DataManipulator ( )

Definition at line 108 of file manipulator_data.cpp.

◆ ~DataManipulator()

DataManipulator::~DataManipulator ( )
virtual

Definition at line 116 of file manipulator_data.cpp.

Member Function Documentation

◆ newValue()

Value DataManipulator::newValue ( Element * element,
int col,
int row,
bool * parsing,
FormatType * formatType )
protectedvirtual

Definition at line 120 of file manipulator_data.cpp.

◆ setFormat()

void KSpread::DataManipulator::setFormat ( FormatType fmtType)
inline

If set, all cells shall be switched to this format.

Will do nothing if parsing is true.

Definition at line 76 of file manipulator_data.h.

◆ setParsing()

void KSpread::DataManipulator::setParsing ( bool val)
inline

Definition at line 70 of file manipulator_data.h.

◆ setValue()

void KSpread::DataManipulator::setValue ( Value val)
inline

set the values for the range.

Can be either a single value, or a value array

Definition at line 73 of file manipulator_data.h.

Member Data Documentation

◆ data

Value KSpread::DataManipulator::data
protected

Definition at line 81 of file manipulator_data.h.

◆ m_format

FormatType KSpread::DataManipulator::m_format
protected

Definition at line 82 of file manipulator_data.h.

◆ m_parsing

bool KSpread::DataManipulator::m_parsing
protected

Definition at line 83 of file manipulator_data.h.


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