summaryrefslogtreecommitdiff
path: root/src/plugins/html/DemoOutput.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/html/DemoOutput.hpp')
-rw-r--r--src/plugins/html/DemoOutput.hpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/plugins/html/DemoOutput.hpp b/src/plugins/html/DemoOutput.hpp
index e08ec2b..07d758b 100644
--- a/src/plugins/html/DemoOutput.hpp
+++ b/src/plugins/html/DemoOutput.hpp
@@ -49,21 +49,24 @@ private:
* children of the default field the respective transform function is
* called recursively.
*/
- Rooted<xml::Element> transformSection(Handle<model::StructuredEntity> sec,
- AnnoMap& startMap, AnnoMap& endMap);
+ Rooted<xml::Element> transformSection(Handle<xml::Element> parent,
+ Handle<model::StructuredEntity> sec,
+ AnnoMap &startMap, AnnoMap &endMap);
/**
* This transforms a list entity, namely ul and ol to an XHTML element.
* For each item, the transformParagraph function is called.
*/
- Rooted<xml::Element> transformList(Handle<model::StructuredEntity> list,
- AnnoMap& startMap, AnnoMap& endMap);
+ Rooted<xml::Element> transformList(Handle<xml::Element> parent,
+ Handle<model::StructuredEntity> list,
+ AnnoMap &startMap, AnnoMap &endMap);
/**
* This transforms a paragraph-like entity, namely heading, item and
* paragraph, to an XHTML element including the text and the anchors
* contained. For anchor handling we require the AnnoMaps.
*/
- Rooted<xml::Element> transformParagraph(Handle<model::StructuredEntity> par,
- AnnoMap& startMap, AnnoMap& endMap);
+ Rooted<xml::Element> transformParagraph(Handle<xml::Element> parent,
+ Handle<model::StructuredEntity> par,
+ AnnoMap &startMap, AnnoMap &endMap);
public:
/**