Xport Interface: element::styles

Retrieves all style values in the called element's style attribute.

virtual std::map<css_property, std::string>* element::styles();1st Variety
virtual const std::map<css_property, std::string>* element::styles() const;2nd Variety

Parameters

none

Returns

Returns a pointer (or const pointer in the 2nd variety) to the element's style map, which includes the css property/value pairs for all css properties set in the style attribute for the called element.

Remarks

Returns a pointer (or const pointer in the 2nd variety) to the element's style map.

Complexity

Constant

Example

Work Time Studio

Datasoft Solutions is proud to present their landmark product, Work Time Studio. Utilizing the tree container library, Work Time Studio provides unparalleled features in personal time, project and task management software. If you're looking for a way to increase your productivity, visit Work Time Studio's product website, and start being more productive today.