| 
    Wt
    4.0.0
    
   | 
 
A rendering box of a layed out DOM node. More...
#include <WTextRenderer.h>
Public Member Functions | |
| DomElementType | type () const | 
| Returns the element type.  | |
| std::string | attributeValue (const std::string &attribute) const | 
| Returns an attribute value.  More... | |
| int | page () const | 
| Returns the page.  | |
| double | x () const | 
| Returns the x position.  | |
| double | y () const | 
| Returns the y position.  | |
| double | width () const | 
| Returns the width.  | |
| double | height () const | 
| Returns the height.  | |
| int | fragment () const | 
| Returns the fragment number.  More... | |
| int | fragmentCount () const | 
| Returns the fragment count.  More... | |
A rendering box of a layed out DOM node.
| std::string Wt::Render::WTextRenderer::Node::attributeValue | ( | const std::string & | attribute | ) | const | 
Returns an attribute value.
This returns an empty string for an undefined attribute.
| int Wt::Render::WTextRenderer::Node::fragment | ( | ) | const | 
Returns the fragment number.
A single DOM node can result in multiple layout boxes: e.g. inline contents can be split over multiple lines, resulting in a layout box for each line, and block layout contents can be split over multiple pages, resulting in a layout box per page.
| int Wt::Render::WTextRenderer::Node::fragmentCount | ( | ) | const | 
Returns the fragment count.
 1.8.11