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

Swinder::FormatBackground::FormatBackground  ) 
 

Creates a default background information.

Swinder::FormatBackground::~FormatBackground  ) 
 

Destroys the background information.

Swinder::FormatBackground::FormatBackground const FormatBackground  ) 
 

Creates a copy of background information.


Member Function Documentation

FormatBackground& Swinder::FormatBackground::assign const FormatBackground  ) 
 

Assigns from another background information.

Color Swinder::FormatBackground::backgroundColor  )  const
 

Returns the background color of the background area.

See also:
setBackgroundColor

Color Swinder::FormatBackground::foregroundColor  )  const
 

Returns the foreground color of the background area.

See also:
setForegroundColor

bool Swinder::FormatBackground::isNull  )  const
 

Returns true if it is a default background information.

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

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

FormatBackground& Swinder::FormatBackground::operator= const FormatBackground  ) 
 

Assigns from another background information.

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

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

unsigned Swinder::FormatBackground::pattern  )  const
 

Returns pattern for this background.

See also:
setPattern

void Swinder::FormatBackground::setBackgroundColor const Color  ) 
 

Set the background color.

See also:
backgroundColor

void Swinder::FormatBackground::setForegroundColor const Color  ) 
 

Sets the foreground color.

See also:
foregroundColor

void Swinder::FormatBackground::setPattern unsigned   ) 
 

Set the pattern for this background.

See also:
pattern

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