HTML::Renderer Namespace Reference


Detailed Description

The renderer namespace hold all the required object for rendering a DOM document.


Classes

class  Box
 The box class store the W3C box model definition as defined in CSS2.1 Please refer to : http://www.w3.org/TR/REC-CSS2/box.html. More...
class  BoxHierarchy
 This class is used as a virtual "stack" in order to store the position of the given box in DOM hierarchy The idea is :
  • Each time the DOM iterator enters a child level, it push the element specific information (tag name, ID, class) on this object
  • When the iterator leaves a child level, the element specific information is popped from this object
  • When the iterator goes to the next sibling element, the last part is swap to the new element information
CSS engine will then be feed with these objects to give the right CSS style properties (using the parsed selector / rules to match the right styles). More...
class  Mapper
 The mapper is used to map a DOM tree to one or multiple (rendered) box(es). More...
struct  RequiredRendererImplementation
 The mapper rendering callback declaration. More...
class  TableLayout
 This class describes the layout of an HTML table. More...

Namespaces

namespace  Allocators
 The renderer allocators This can be used to preallocate a pool of renderer used element in order to speed up rendering by removing memory allocation time.

Functions

void analyseCellFromElement (const DOM::Element *element, uint32 &hspan, uint32 &vspan)
bool countMaxColumnFromRowsIn (TableLayout *tableLayout, const DOM::Element *element, uint32 &maxColumn, const TableLayout::Row::RowType type=TableLayout::Row::Data)
void createColumnsFromElement (TableLayout *tableLayout, const DOM::Element *element)
uint32 extractNumberFrom (const DOM::DOMString &text, const uint32 defaultValue)
uint32 handleColElements (TableLayout *tableLayout, const DOM::Element *element)


Function Documentation

void HTML::Renderer::analyseCellFromElement ( const DOM::Element element,
uint32 &  hspan,
uint32 &  vspan 
) [inline]

bool HTML::Renderer::countMaxColumnFromRowsIn ( TableLayout *  tableLayout,
const DOM::Element element,
uint32 &  maxColumn,
const TableLayout::Row::RowType  type = TableLayout::Row::Data 
) [inline]

void HTML::Renderer::createColumnsFromElement ( TableLayout *  tableLayout,
const DOM::Element element 
) [inline]

uint32 HTML::Renderer::extractNumberFrom ( const DOM::DOMString text,
const uint32  defaultValue 
) [inline]

uint32 HTML::Renderer::handleColElements ( TableLayout *  tableLayout,
const DOM::Element element 
) [inline]


(C) An X-Ryl669 project 2007

This document describes Unlimited Zooming Interface source code. UZI stands for Unlimited Zooming Interface, and source code license is