#include <TextExtractor.h>
Public Member Functions | |
SDF::Obj | GetFont () |
UString | GetFontName () |
double | GetFontSize () |
int | GetWeight () |
bool | IsItalic () |
bool | IsSerif () |
std::vector< int > | GetColor () |
void | GetColor (UInt8 rgb[3]) |
bool | operator== (const Style &s) const |
bool | operator!= (const Style &s) const |
Style () | |
A class representing predominant text style associated with a given Line, a Word, or a Glyph. The class includes information about the font, font size, font styles, text color, etc.
Definition at line 352 of file TextExtractor.h.
pdftron::PDF::Style::Style | ( | ) |
std::vector<int> pdftron::PDF::Style::GetColor | ( | ) |
void pdftron::PDF::Style::GetColor | ( | UInt8 | rgb[3] | ) |
SDF::Obj pdftron::PDF::Style::GetFont | ( | ) |
UString pdftron::PDF::Style::GetFontName | ( | ) |
double pdftron::PDF::Style::GetFontSize | ( | ) |
int pdftron::PDF::Style::GetWeight | ( | ) |
bool pdftron::PDF::Style::IsItalic | ( | ) |
bool pdftron::PDF::Style::IsSerif | ( | ) |
bool pdftron::PDF::Style::operator!= | ( | const Style & | s | ) | const |
bool pdftron::PDF::Style::operator== | ( | const Style & | s | ) | const |