From 08a1ec8cf5df6e3659208864c7ad8d7a89d9e74e Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Fri, 9 Jan 2015 11:31:09 +0100 Subject: first version of annotation handling in DemoOutput. Tests do not work yet, though. --- src/plugins/html/DemoOutput.hpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'src/plugins/html/DemoOutput.hpp') 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 transformSection(Handle sec, - AnnoMap& startMap, AnnoMap& endMap); + Rooted transformSection(Handle parent, + Handle 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 transformList(Handle list, - AnnoMap& startMap, AnnoMap& endMap); + Rooted transformList(Handle parent, + Handle 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 transformParagraph(Handle par, - AnnoMap& startMap, AnnoMap& endMap); + Rooted transformParagraph(Handle parent, + Handle par, + AnnoMap &startMap, AnnoMap &endMap); public: /** -- cgit v1.2.3