OpenWord 1.0.0
Modern C++17 library for parsing, manipulating, and saving DOCX files.
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
openword::Color Struct Reference

#include <Document.h>

Public Member Functions

 Color ()=default
 
 Color (uint8_t red, uint8_t green, uint8_t blue)
 
std::string hex () const
 

Static Public Member Functions

static Color Auto ()
 

Public Attributes

uint8_t r {0}
 
uint8_t g {0}
 
uint8_t b {0}
 
bool is_auto {true}
 

Constructor & Destructor Documentation

◆ Color() [1/2]

openword::Color::Color ( )
default

◆ Color() [2/2]

openword::Color::Color ( uint8_t  red,
uint8_t  green,
uint8_t  blue 
)
inline

Member Function Documentation

◆ Auto()

static Color openword::Color::Auto ( )
inlinestatic

◆ hex()

std::string openword::Color::hex ( ) const

Member Data Documentation

◆ b

uint8_t openword::Color::b {0}

◆ g

uint8_t openword::Color::g {0}

◆ is_auto

bool openword::Color::is_auto {true}

◆ r

uint8_t openword::Color::r {0}

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