LibreOffice Module sw (master) 1
|
a subexpression of a CSS1 declaration More...
#include <parcss1.hxx>
Public Member Functions | |
CSS1Expression (CSS1Token eTyp, OUString aVal, double nVal, sal_Unicode cO=0) | |
~CSS1Expression () | |
void | Set (CSS1Token eTyp, const OUString &rVal, double nVal) |
CSS1Token | GetType () const |
const OUString & | GetString () const |
double | GetNumber () const |
sal_uInt32 | GetULength () const |
sal_Int32 | GetSLength () const |
sal_Unicode | GetOp () const |
void | GetURL (OUString &rURL) const |
bool | GetColor (Color &rRGB) const |
void | SetNext (CSS1Expression *pNxt) |
const CSS1Expression * | GetNext () const |
Private Attributes | |
sal_Unicode | cOp |
CSS1Token | eType |
OUString | aValue |
double | nValue |
CSS1Expression * | pNext |
a subexpression of a CSS1 declaration
It contains
Definition at line 119 of file parcss1.hxx.
|
inline |
Definition at line 129 of file parcss1.hxx.
CSS1Expression::~CSS1Expression | ( | ) |
Definition at line 1228 of file parcss1.cxx.
References pNext.
bool CSS1Expression::GetColor | ( | Color & | rRGB | ) | const |
Definition at line 1259 of file parcss1.cxx.
References aValue, CSS1_HEXCOLOR, CSS1_IDENT, CSS1_RGB, CSS1_STRING, eType, GetHTMLColor(), o3tl::getToken(), i, nPos, SAL_MAX_UINT32, Color::SetAlpha(), Color::SetBlue(), Color::SetGreen(), Color::SetRed(), o3tl::toDouble(), and o3tl::toInt32().
Referenced by ParseCSS1_background(), ParseCSS1_background_color(), ParseCSS1_border_color(), ParseCSS1_border_xxx(), and ParseCSS1_color().
|
inline |
Definition at line 149 of file parcss1.hxx.
References pNext.
Referenced by ParseCSS1_background(), ParseCSS1_border_color(), ParseCSS1_border_style(), ParseCSS1_border_width(), ParseCSS1_border_xxx(), ParseCSS1_font(), ParseCSS1_font_family(), ParseCSS1_font_style(), ParseCSS1_margin(), ParseCSS1_padding(), ParseCSS1_size(), and ParseCSS1_text_decoration().
|
inline |
Definition at line 140 of file parcss1.hxx.
References nValue.
Referenced by ParseCSS1_background(), ParseCSS1_border_xxx(), ParseCSS1_border_xxx_width(), ParseCSS1_column_count(), ParseCSS1_font(), ParseCSS1_font_size(), ParseCSS1_font_weight(), ParseCSS1_length(), ParseCSS1_letter_spacing(), ParseCSS1_line_height(), ParseCSS1_margin(), ParseCSS1_margin_bottom(), ParseCSS1_margin_left(), ParseCSS1_margin_right(), ParseCSS1_margin_top(), ParseCSS1_orphans(), ParseCSS1_padding_xxx(), ParseCSS1_size(), ParseCSS1_text_indent(), and ParseCSS1_widows().
|
inline |
Definition at line 143 of file parcss1.hxx.
References cOp.
Referenced by ParseCSS1_background(), ParseCSS1_border_xxx(), ParseCSS1_font(), ParseCSS1_font_family(), ParseCSS1_font_style(), ParseCSS1_margin(), and ParseCSS1_text_decoration().
|
inline |
Definition at line 163 of file parcss1.hxx.
References nValue.
Referenced by ParseCSS1_length(), ParseCSS1_letter_spacing(), ParseCSS1_margin(), ParseCSS1_margin_bottom(), ParseCSS1_margin_left(), ParseCSS1_margin_right(), ParseCSS1_margin_top(), ParseCSS1_padding_xxx(), and ParseCSS1_size().
|
inline |
Definition at line 139 of file parcss1.hxx.
References aValue.
Referenced by ParseCSS1_background(), ParseCSS1_background_color(), ParseCSS1_border_style(), ParseCSS1_border_xxx(), ParseCSS1_border_xxx_width(), ParseCSS1_direction(), ParseCSS1_float(), ParseCSS1_font(), ParseCSS1_font_family(), ParseCSS1_font_size(), ParseCSS1_font_style(), ParseCSS1_font_variant(), ParseCSS1_font_weight(), ParseCSS1_length(), ParseCSS1_letter_spacing(), ParseCSS1_list_style_type(), ParseCSS1_margin_left(), ParseCSS1_margin_right(), ParseCSS1_page_break_xxx(), ParseCSS1_position(), ParseCSS1_size(), ParseCSS1_so_language(), ParseCSS1_text_align(), ParseCSS1_text_decoration(), ParseCSS1_text_transform(), and ParseCSS1_visibility().
|
inline |
Definition at line 138 of file parcss1.hxx.
References eType.
Referenced by ParseCSS1_background(), ParseCSS1_background_color(), ParseCSS1_border_color(), ParseCSS1_border_style(), ParseCSS1_border_xxx(), ParseCSS1_border_xxx_width(), ParseCSS1_color(), ParseCSS1_column_count(), ParseCSS1_direction(), ParseCSS1_float(), ParseCSS1_font(), ParseCSS1_font_family(), ParseCSS1_font_size(), ParseCSS1_font_style(), ParseCSS1_font_variant(), ParseCSS1_font_weight(), ParseCSS1_length(), ParseCSS1_letter_spacing(), ParseCSS1_line_height(), ParseCSS1_list_style_type(), ParseCSS1_margin(), ParseCSS1_margin_bottom(), ParseCSS1_margin_left(), ParseCSS1_margin_right(), ParseCSS1_margin_top(), ParseCSS1_orphans(), ParseCSS1_padding_xxx(), ParseCSS1_page_break_xxx(), ParseCSS1_position(), ParseCSS1_size(), ParseCSS1_so_language(), ParseCSS1_text_align(), ParseCSS1_text_decoration(), ParseCSS1_text_indent(), ParseCSS1_text_transform(), ParseCSS1_visibility(), and ParseCSS1_widows().
|
inline |
Definition at line 158 of file parcss1.hxx.
Referenced by ParseCSS1_border_xxx(), ParseCSS1_border_xxx_width(), ParseCSS1_font_size(), and ParseCSS1_line_height().
void CSS1Expression::GetURL | ( | OUString & | rURL | ) | const |
Definition at line 1233 of file parcss1.cxx.
References aValue, CSS1_URL, eType, and comphelper::string::strip().
Referenced by ParseCSS1_background().
|
inline |
Definition at line 152 of file parcss1.hxx.
References aValue, cOp, eType, nValue, and pNext.
Referenced by ParseCSS1_font().
|
inline |
Definition at line 148 of file parcss1.hxx.
References pNext.
Referenced by CSS1Parser::ParseDeclaration().
|
private |
Definition at line 124 of file parcss1.hxx.
Referenced by GetColor(), GetString(), GetURL(), and Set().
|
private |
Definition at line 122 of file parcss1.hxx.
|
private |
Definition at line 123 of file parcss1.hxx.
Referenced by GetColor(), GetType(), GetURL(), and Set().
|
private |
Definition at line 125 of file parcss1.hxx.
Referenced by GetNumber(), GetSLength(), GetULength(), and Set().
|
private |
Definition at line 126 of file parcss1.hxx.
Referenced by GetNext(), Set(), SetNext(), and ~CSS1Expression().