8 class el_text
: public element
12 string m_transformed_text
;
14 bool m_use_transformed
;
17 el_text(const char* text
, const document::ptr
& doc
);
19 void get_text(string
& text
) override
;
20 void compute_styles(bool recursive
) override
;
21 bool is_text() const override
{ return true; }
23 void draw(uint_ptr hdc
, int x
, int y
, const position
*clip
, const std::shared_ptr
<render_item
> &ri
) override
;
24 string
dump_get_name() override
;
25 std::vector
<std::tuple
<string
, string
>> dump_get_attrs() override
;
27 void get_content_size(size
& sz
, int max_width
) override
;
31 #endif // LH_EL_TEXT_H