xlnt
Public Member Functions | List of all members
xlnt::border::border_property Class Reference

Each side of a cell can have a border_property applied to it to change how it is displayed. More...

#include <border.hpp>

Public Member Functions

optional< class colorcolor () const
 Returns the color of the side. More...
 
border_propertycolor (const xlnt::color &c)
 Sets the color of the side and returns a reference to the side properties. More...
 
optional< border_stylestyle () const
 Returns the style of the side. More...
 
border_propertystyle (border_style style)
 Sets the style of the side and returns a reference to the side properties. More...
 
bool operator== (const border_property &right) const
 Returns true if left is exactly equal to right. More...
 
bool operator!= (const border_property &right) const
 Returns true if left is not exactly equal to right. More...
 

Detailed Description

Each side of a cell can have a border_property applied to it to change how it is displayed.

Member Function Documentation

◆ color() [1/2]

optional<class color> xlnt::border::border_property::color ( ) const

Returns the color of the side.

◆ color() [2/2]

border_property& xlnt::border::border_property::color ( const xlnt::color c)

Sets the color of the side and returns a reference to the side properties.

◆ operator!=()

bool xlnt::border::border_property::operator!= ( const border_property right) const

Returns true if left is not exactly equal to right.

◆ operator==()

bool xlnt::border::border_property::operator== ( const border_property right) const

Returns true if left is exactly equal to right.

◆ style() [1/2]

optional<border_style> xlnt::border::border_property::style ( ) const

Returns the style of the side.

◆ style() [2/2]

border_property& xlnt::border::border_property::style ( border_style  style)

Sets the style of the side and returns a reference to the side properties.


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