filters

Swinder::FormatBackground Class Reference

#include <format.h>

List of all members.


Detailed Description

Defines background information for cell.

Definition at line 401 of file kspread/excel/sidewinder/format.h.


Public Types

enum  {
  SolidPattern, Dense1Pattern, Dense2Pattern, Dense3Pattern,
  Dense4Pattern, Dense5Pattern, Dense6Pattern, Dense7Pattern,
  HorPattern, VerPattern, CrossPattern, BDiagPattern,
  FDiagPattern, DiagCrossPattern, EmptyPattern
}

Public Member Functions

 FormatBackground ()
 ~FormatBackground ()
 FormatBackground (const FormatBackground &)
FormatBackgroundoperator= (const FormatBackground &)
FormatBackgroundassign (const FormatBackground &)
bool isNull () const
unsigned pattern () const
void setPattern (unsigned)
Color backgroundColor () const
void setBackgroundColor (const Color &)
Color foregroundColor () const
void setForegroundColor (const Color &)
bool operator== (const FormatBackground &f) const
bool operator!= (const FormatBackground &f) const

Constructor & Destructor Documentation

FormatBackground::FormatBackground (  ) 

Creates a default background information.

Definition at line 376 of file format.cpp.

FormatBackground::~FormatBackground (  ) 

Destroys the background information.

Definition at line 383 of file format.cpp.

FormatBackground::FormatBackground ( const FormatBackground background  ) 

Creates a copy of background information.

Definition at line 389 of file format.cpp.


Member Function Documentation

FormatBackground & FormatBackground::operator= ( const FormatBackground background  ) 

Assigns from another background information.

Definition at line 396 of file format.cpp.

FormatBackground & FormatBackground::assign ( const FormatBackground background  ) 

Assigns from another background information.

Definition at line 402 of file format.cpp.

bool FormatBackground::isNull (  )  const

Returns true if it is a default background information.

Definition at line 411 of file format.cpp.

unsigned FormatBackground::pattern (  )  const

Returns pattern for this background.

See also:
setPattern

Definition at line 416 of file format.cpp.

void FormatBackground::setPattern ( unsigned  pattern  ) 

Set the pattern for this background.

See also:
pattern

Definition at line 421 of file format.cpp.

Color FormatBackground::backgroundColor (  )  const

Returns the background color of the background area.

See also:
setBackgroundColor

Definition at line 427 of file format.cpp.

void FormatBackground::setBackgroundColor ( const Color color  ) 

Set the background color.

See also:
backgroundColor

Definition at line 432 of file format.cpp.

Color FormatBackground::foregroundColor (  )  const

Returns the foreground color of the background area.

See also:
setForegroundColor

Definition at line 438 of file format.cpp.

void FormatBackground::setForegroundColor ( const Color color  ) 

Sets the foreground color.

See also:
foregroundColor

Definition at line 443 of file format.cpp.

bool FormatBackground::operator== ( const FormatBackground f  )  const

Returns true if this background is equal to f; otherwise returns false.

Definition at line 449 of file format.cpp.

bool FormatBackground::operator!= ( const FormatBackground f  )  const

Returns true if this background is not equal to f; otherwise returns false.

Definition at line 457 of file format.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys