22 #ifndef STLL_LAYOUTER_XHTML_H
23 #define STLL_LAYOUTER_XHTML_H
31 #include "internal/xmllibraries.h"
43 TextLayout_c
layoutXML(pugi::xml_node txt,
const TextStyleSheet_c & rules,
const Shape_c & shape);
46 TextLayout_c
layoutXML(
const xmlNode * txt,
const TextStyleSheet_c & rules,
const Shape_c & shape);
58 TextLayout_c
layoutXHTMLPugi(
const std::string & txt,
const TextStyleSheet_c & rules,
const Shape_c & shape);
61 TextLayout_c
layoutXHTMLLibXML2(
const std::string & txt,
const TextStyleSheet_c & rules,
const Shape_c & shape);
64 #define layoutXHTML2(lib, txt, rules, shape) layoutXHTML##lib(txt, rules, shape)
65 #define layoutXHTML(lib, txt, rules, shape) layoutXHTML2(lib, txt, rules, shape)
TextLayout_c layoutXML(pugi::xml_node txt, const TextStyleSheet_c &rules, const Shape_c &shape)
layout the given preparsed XML tree as an HTML dom tree
Module containing CSS functionality.
The namespace for the library. Every function and class is within this namespace. ...
Definition: color.h:31
TextLayout_c layoutXHTMLLibXML2(const std::string &txt, const TextStyleSheet_c &rules, const Shape_c &shape)
the paragraph layouter and its helpers
TextLayout_c layoutXHTMLPugi(const std::string &txt, const TextStyleSheet_c &rules, const Shape_c &shape)
layout the given XHTML code