filters

Swinder::FormatBorders Class Reference

#include <format.h>

Public Member Functions

 FormatBorders ()
 
 ~FormatBorders ()
 
 FormatBorders (const FormatBorders &)
 
FormatBorders & operator= (const FormatBorders &)
 
FormatBorders & assign (const FormatBorders &)
 
bool isNull () const
 
const Pen & leftBorder () const
 
void setLeftBorder (const Pen &pen)
 
const Pen & rightBorder () const
 
void setRightBorder (const Pen &pen)
 
const Pen & topBorder () const
 
void setTopBorder (const Pen &pen)
 
const Pen & bottomBorder () const
 
void setBottomBorder (const Pen &pen)
 
bool operator== (const FormatBorders &f) const
 
bool operator!= (const FormatBorders &f) const
 

Detailed Description

Defines borders information for cell.

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

Constructor & Destructor Documentation

◆ FormatBorders() [1/2]

FormatBorders::FormatBorders ( )

Creates a default border information.

Definition at line 476 of file kspread/excel/sidewinder/format.cpp.

◆ ~FormatBorders()

FormatBorders::~FormatBorders ( )

Destroys the border information.

Definition at line 483 of file kspread/excel/sidewinder/format.cpp.

◆ FormatBorders() [2/2]

FormatBorders::FormatBorders ( const FormatBorders &  border)

Creates a copy of border information.

Definition at line 489 of file kspread/excel/sidewinder/format.cpp.

Member Function Documentation

◆ assign()

FormatBorders & FormatBorders::assign ( const FormatBorders &  border)

Assigns from another border information.

Definition at line 502 of file kspread/excel/sidewinder/format.cpp.

◆ bottomBorder()

const Pen & FormatBorders::bottomBorder ( ) const

Returns pen style, width and color for bottom border.

See also
setBottomBorder

Definition at line 550 of file kspread/excel/sidewinder/format.cpp.

◆ isNull()

bool FormatBorders::isNull ( ) const

Returns true if it is a default border information.

Definition at line 512 of file kspread/excel/sidewinder/format.cpp.

◆ leftBorder()

const Pen & FormatBorders::leftBorder ( ) const

Returns pen style, width and color for left border.

See also
setLeftBorder

Definition at line 517 of file kspread/excel/sidewinder/format.cpp.

◆ operator!=()

bool FormatBorders::operator!= ( const FormatBorders &  f) const

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

Definition at line 570 of file kspread/excel/sidewinder/format.cpp.

◆ operator=()

FormatBorders & FormatBorders::operator= ( const FormatBorders &  border)

Assigns from another border information.

Definition at line 496 of file kspread/excel/sidewinder/format.cpp.

◆ operator==()

bool FormatBorders::operator== ( const FormatBorders &  f) const

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

Definition at line 561 of file kspread/excel/sidewinder/format.cpp.

◆ rightBorder()

const Pen & FormatBorders::rightBorder ( ) const

Returns pen style, width and color for right border.

See also
setRightBorder

Definition at line 528 of file kspread/excel/sidewinder/format.cpp.

◆ setBottomBorder()

void FormatBorders::setBottomBorder ( const Pen &  pen)

Sets pen style, width and color for bottom border.

See also
bottomBorder

Definition at line 555 of file kspread/excel/sidewinder/format.cpp.

◆ setLeftBorder()

void FormatBorders::setLeftBorder ( const Pen &  pen)

Sets pen style, width and color for left border.

See also
leftBorder

Definition at line 522 of file kspread/excel/sidewinder/format.cpp.

◆ setRightBorder()

void FormatBorders::setRightBorder ( const Pen &  pen)

Sets pen style, width and color for right border.

See also
rightBorder

Definition at line 533 of file kspread/excel/sidewinder/format.cpp.

◆ setTopBorder()

void FormatBorders::setTopBorder ( const Pen &  pen)

Sets pen style, width and color for top border.

See also
topBorder

Definition at line 544 of file kspread/excel/sidewinder/format.cpp.

◆ topBorder()

const Pen & FormatBorders::topBorder ( ) const

Returns pen style, width and color for top border.

See also
setTopBorder

Definition at line 539 of file kspread/excel/sidewinder/format.cpp.


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