KSpread::SheetPropertiesCommand Class Reference

#include <commands.h>

Inherits KCommand.

Public Member Functions

 SheetPropertiesCommand (Doc *doc, Sheet *sheet)
 
void setLayoutDirection (Sheet::LayoutDirection direction)
 
void setAutoCalc (bool b)
 
void setShowGrid (bool b)
 
void setShowPageBorders (bool b)
 
void setShowFormula (bool b)
 
void setHideZero (bool b)
 
void setShowFormulaIndicator (bool b)
 
void setShowCommentIndicator (bool b)
 
void setColumnAsNumber (bool b)
 
void setLcMode (bool b)
 
void setCapitalizeFirstLetter (bool b)
 
virtual void execute ()
 
virtual void unexecute ()
 
virtual TQString name () const
 

Protected Attributes

Sheet * sheet
 
Doc * doc
 
Sheet::LayoutDirection oldDirection
 
Sheet::LayoutDirection newDirection
 
bool oldAutoCalc
 
bool newAutoCalc
 
bool oldShowGrid
 
bool newShowGrid
 
bool oldShowPageBorders
 
bool newShowPageBorders
 
bool oldShowFormula
 
bool newShowFormula
 
bool oldHideZero
 
bool newHideZero
 
bool oldShowFormulaIndicator
 
bool newShowFormulaIndicator
 
bool oldShowCommentIndicator
 
bool newShowCommentIndicator
 
bool oldColumnAsNumber
 
bool newColumnAsNumber
 
bool oldLcMode
 
bool newLcMode
 
bool oldCapitalizeFirstLetter
 
bool newCapitalizeFirstLetter
 

Detailed Description

Class SheetPropertiesCommand implements a command for changing sheet properties.

Definition at line 229 of file commands.h.

Constructor & Destructor Documentation

◆ SheetPropertiesCommand()

SheetPropertiesCommand::SheetPropertiesCommand ( Doc *  doc,
Sheet *  sheet 
)

Definition at line 268 of file commands.cpp.

Member Function Documentation

◆ execute()

void SheetPropertiesCommand::execute ( )
virtual

Definition at line 345 of file commands.cpp.

◆ name()

TQString SheetPropertiesCommand::name ( ) const
virtual

Definition at line 285 of file commands.cpp.

◆ setAutoCalc()

void SheetPropertiesCommand::setAutoCalc ( bool  b)

Definition at line 295 of file commands.cpp.

◆ setCapitalizeFirstLetter()

void SheetPropertiesCommand::setCapitalizeFirstLetter ( bool  b)

Definition at line 340 of file commands.cpp.

◆ setColumnAsNumber()

void SheetPropertiesCommand::setColumnAsNumber ( bool  b)

Definition at line 330 of file commands.cpp.

◆ setHideZero()

void SheetPropertiesCommand::setHideZero ( bool  b)

Definition at line 315 of file commands.cpp.

◆ setLayoutDirection()

void SheetPropertiesCommand::setLayoutDirection ( Sheet::LayoutDirection  direction)

Definition at line 290 of file commands.cpp.

◆ setLcMode()

void SheetPropertiesCommand::setLcMode ( bool  b)

Definition at line 335 of file commands.cpp.

◆ setShowCommentIndicator()

void SheetPropertiesCommand::setShowCommentIndicator ( bool  b)

Definition at line 325 of file commands.cpp.

◆ setShowFormula()

void SheetPropertiesCommand::setShowFormula ( bool  b)

Definition at line 310 of file commands.cpp.

◆ setShowFormulaIndicator()

void SheetPropertiesCommand::setShowFormulaIndicator ( bool  b)

Definition at line 320 of file commands.cpp.

◆ setShowGrid()

void SheetPropertiesCommand::setShowGrid ( bool  b)

Definition at line 300 of file commands.cpp.

◆ setShowPageBorders()

void SheetPropertiesCommand::setShowPageBorders ( bool  b)

Definition at line 305 of file commands.cpp.

◆ unexecute()

void SheetPropertiesCommand::unexecute ( )
virtual

Definition at line 361 of file commands.cpp.

Member Data Documentation

◆ doc

Doc* KSpread::SheetPropertiesCommand::doc
protected

Definition at line 251 of file commands.h.

◆ newAutoCalc

bool KSpread::SheetPropertiesCommand::newAutoCalc
protected

Definition at line 253 of file commands.h.

◆ newCapitalizeFirstLetter

bool KSpread::SheetPropertiesCommand::newCapitalizeFirstLetter
protected

Definition at line 262 of file commands.h.

◆ newColumnAsNumber

bool KSpread::SheetPropertiesCommand::newColumnAsNumber
protected

Definition at line 260 of file commands.h.

◆ newDirection

Sheet::LayoutDirection KSpread::SheetPropertiesCommand::newDirection
protected

Definition at line 252 of file commands.h.

◆ newHideZero

bool KSpread::SheetPropertiesCommand::newHideZero
protected

Definition at line 257 of file commands.h.

◆ newLcMode

bool KSpread::SheetPropertiesCommand::newLcMode
protected

Definition at line 261 of file commands.h.

◆ newShowCommentIndicator

bool KSpread::SheetPropertiesCommand::newShowCommentIndicator
protected

Definition at line 259 of file commands.h.

◆ newShowFormula

bool KSpread::SheetPropertiesCommand::newShowFormula
protected

Definition at line 256 of file commands.h.

◆ newShowFormulaIndicator

bool KSpread::SheetPropertiesCommand::newShowFormulaIndicator
protected

Definition at line 258 of file commands.h.

◆ newShowGrid

bool KSpread::SheetPropertiesCommand::newShowGrid
protected

Definition at line 254 of file commands.h.

◆ newShowPageBorders

bool KSpread::SheetPropertiesCommand::newShowPageBorders
protected

Definition at line 255 of file commands.h.

◆ oldAutoCalc

bool KSpread::SheetPropertiesCommand::oldAutoCalc
protected

Definition at line 253 of file commands.h.

◆ oldCapitalizeFirstLetter

bool KSpread::SheetPropertiesCommand::oldCapitalizeFirstLetter
protected

Definition at line 262 of file commands.h.

◆ oldColumnAsNumber

bool KSpread::SheetPropertiesCommand::oldColumnAsNumber
protected

Definition at line 260 of file commands.h.

◆ oldDirection

Sheet::LayoutDirection KSpread::SheetPropertiesCommand::oldDirection
protected

Definition at line 252 of file commands.h.

◆ oldHideZero

bool KSpread::SheetPropertiesCommand::oldHideZero
protected

Definition at line 257 of file commands.h.

◆ oldLcMode

bool KSpread::SheetPropertiesCommand::oldLcMode
protected

Definition at line 261 of file commands.h.

◆ oldShowCommentIndicator

bool KSpread::SheetPropertiesCommand::oldShowCommentIndicator
protected

Definition at line 259 of file commands.h.

◆ oldShowFormula

bool KSpread::SheetPropertiesCommand::oldShowFormula
protected

Definition at line 256 of file commands.h.

◆ oldShowFormulaIndicator

bool KSpread::SheetPropertiesCommand::oldShowFormulaIndicator
protected

Definition at line 258 of file commands.h.

◆ oldShowGrid

bool KSpread::SheetPropertiesCommand::oldShowGrid
protected

Definition at line 254 of file commands.h.

◆ oldShowPageBorders

bool KSpread::SheetPropertiesCommand::oldShowPageBorders
protected

Definition at line 255 of file commands.h.

◆ sheet

Sheet* KSpread::SheetPropertiesCommand::sheet
protected

Definition at line 250 of file commands.h.


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