xlnt
Public Member Functions | Friends | List of all members
xlnt::conditional_format Class Reference

Describes a conditional format that will be applied to all cells in the associated range that satisfy the condition. This can only be constructed using methods on worksheet or range. More...

#include <conditional_format.hpp>

Public Member Functions

 conditional_format ()=delete
 Delete zero-argument constructor More...
 
 conditional_format (const conditional_format &other)=default
 Default copy constructor. Constructs a format using the same PIMPL as other. More...
 
bool has_border () const
 
class border border () const
 
conditional_format border (const xlnt::border &new_border)
 
bool has_fill () const
 
class fill fill () const
 
conditional_format fill (const xlnt::fill &new_fill)
 
bool has_font () const
 
class font font () const
 
conditional_format font (const xlnt::font &new_font)
 
bool operator== (const conditional_format &other) const
 Returns true if this format is equivalent to other. More...
 
bool operator!= (const conditional_format &other) const
 Returns true if this format is not equivalent to other. More...
 

Friends

struct detail::stylesheet
 
class detail::xlsx_consumer
 

Detailed Description

Describes a conditional format that will be applied to all cells in the associated range that satisfy the condition. This can only be constructed using methods on worksheet or range.

Constructor & Destructor Documentation

◆ conditional_format() [1/2]

xlnt::conditional_format::conditional_format ( )
delete

Delete zero-argument constructor

◆ conditional_format() [2/2]

xlnt::conditional_format::conditional_format ( const conditional_format other)
default

Default copy constructor. Constructs a format using the same PIMPL as other.

Member Function Documentation

◆ border() [1/2]

class border xlnt::conditional_format::border ( ) const

◆ border() [2/2]

conditional_format xlnt::conditional_format::border ( const xlnt::border new_border)

◆ fill() [1/2]

class fill xlnt::conditional_format::fill ( ) const

◆ fill() [2/2]

conditional_format xlnt::conditional_format::fill ( const xlnt::fill new_fill)

◆ font() [1/2]

class font xlnt::conditional_format::font ( ) const

◆ font() [2/2]

conditional_format xlnt::conditional_format::font ( const xlnt::font new_font)

◆ has_border()

bool xlnt::conditional_format::has_border ( ) const

◆ has_fill()

bool xlnt::conditional_format::has_fill ( ) const

◆ has_font()

bool xlnt::conditional_format::has_font ( ) const

◆ operator!=()

bool xlnt::conditional_format::operator!= ( const conditional_format other) const

Returns true if this format is not equivalent to other.

◆ operator==()

bool xlnt::conditional_format::operator== ( const conditional_format other) const

Returns true if this format is equivalent to other.


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