|
| el_body (const std::shared_ptr< litehtml::document > &doc) |
|
bool | is_body () const override |
|
| html_tag (const shared_ptr< document > &doc) |
|
| html_tag (const element::ptr &parent, const string &style="display: block") |
|
bool | appendChild (const element::ptr &el) override |
|
bool | removeChild (const element::ptr &el) override |
|
void | clearRecursive () override |
|
string_id | tag () const override |
|
string_id | id () const override |
|
const char * | get_tagName () const override |
|
void | set_tagName (const char *tag) override |
|
void | set_data (const char *data) override |
|
const vector< string_id > & | classes () const |
|
const string_vector & | str_classes () const |
|
void | set_attr (const char *name, const char *val) override |
|
const char * | get_attr (const char *name, const char *def=nullptr) const override |
|
void | apply_stylesheet (const litehtml::css &stylesheet) override |
|
void | refresh_styles () override |
|
bool | is_white_space () const override |
|
bool | is_body () const override |
|
bool | is_break () const override |
|
bool | on_mouse_over () override |
|
bool | on_mouse_leave () override |
|
bool | on_lbutton_down () override |
|
bool | on_lbutton_up () override |
|
void | on_click () override |
|
bool | set_pseudo_class (string_id cls, bool add) override |
|
bool | set_class (const char *pclass, bool add) override |
|
bool | is_replaced () const override |
|
void | compute_styles (bool recursive=true) override |
|
void | draw (uint_ptr hdc, int x, int y, const position *clip, const std::shared_ptr< render_item > &ri) override |
|
void | draw_background (uint_ptr hdc, int x, int y, const position *clip, const std::shared_ptr< render_item > &ri) override |
|
template<class Type > |
const Type & | get_property (string_id name, bool inherited, const Type &default_value, uint_ptr css_properties_member_offset) const |
|
bool | get_custom_property (string_id name, css_token_vector &result) const |
|
elements_list & | children () |
|
int | select (const css_selector::vector &selector_list, bool apply_pseudo=true) override |
|
int | select (const string &selector) override |
|
int | select (const css_selector &selector, bool apply_pseudo=true) override |
|
int | select (const css_element_selector &selector, bool apply_pseudo=true) override |
|
int | select_pseudoclass (const css_attribute_selector &sel) |
|
int | select_attribute (const css_attribute_selector &sel) |
|
elements_list | select_all (const string &selector) override |
|
elements_list | select_all (const css_selector &selector) override |
|
element::ptr | select_one (const string &selector) override |
|
element::ptr | select_one (const css_selector &selector) override |
|
element::ptr | find_ancestor (const css_selector &selector, bool apply_pseudo=true, bool *is_pseudo=nullptr) override |
|
element::ptr | find_adjacent_sibling (const element::ptr &el, const css_selector &selector, bool apply_pseudo=true, bool *is_pseudo=nullptr) override |
|
element::ptr | find_sibling (const element::ptr &el, const css_selector &selector, bool apply_pseudo=true, bool *is_pseudo=nullptr) override |
|
void | get_text (string &text) override |
|
void | parse_attributes () override |
|
void | get_content_size (size &sz, int max_width) override |
|
void | add_style (const style &style) override |
|
bool | is_nth_child (const element::ptr &el, int num, int off, bool of_type, const css_selector::vector &selector_list) const override |
|
bool | is_nth_last_child (const element::ptr &el, int num, int off, bool of_type, const css_selector::vector &selector_list) const override |
|
bool | is_only_child (const element::ptr &el, bool of_type) const override |
|
const background * | get_background (bool own_only=false) override |
|
string | dump_get_name () override |
|
| element (const std::shared_ptr< document > &doc) |
|
virtual | ~element ()=default |
|
const css_properties & | css () const |
|
css_properties & | css_w () |
|
bool | in_normal_flow () const |
|
bool | is_inline () const |
|
bool | is_inline_box () const |
|
bool | is_block_box () const |
|
position | get_placement () const |
|
bool | is_positioned () const |
|
bool | is_float () const |
|
bool | is_block_formatting_context () const |
|
bool | is_root () const |
|
element::ptr | parent () const |
|
void | parent (const element::ptr &par) |
|
bool | is_table_skip () const |
|
std::shared_ptr< document > | get_document () const |
|
const std::list< std::shared_ptr< element > > & | children () const |
|
virtual bool | is_space () const |
|
virtual bool | is_comment () const |
|
virtual bool | is_text () const |
|
virtual bool | is_ancestor (const ptr &el) const |
|
virtual std::vector< std::tuple< string, string > > | dump_get_attrs () |
|
void | dump (litehtml::dumper &cout) |
|
std::tuple< element::ptr, element::ptr, element::ptr > | split_inlines () |
|
virtual std::shared_ptr< render_item > | create_render_item (const std::shared_ptr< render_item > &parent_ri) |
|
bool | requires_styles_update () |
|
void | add_render (const std::shared_ptr< render_item > &ri) |
|
bool | find_styles_changes (position::vector &redraw_boxes) |
|
element::ptr | add_pseudo_before (const style &style) |
|
element::ptr | add_pseudo_after (const style &style) |
|
string | get_counter_value (const string &counter_name) |
|
string | get_counters_value (const string_vector ¶meters) |
|
void | increment_counter (const string_id &counter_name_id, const int increment=1) |
|
void | reset_counter (const string_id &counter_name_id, const int value=0) |
|