diff options
author | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-01-09 11:31:09 +0100 |
---|---|---|
committer | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-01-09 11:31:09 +0100 |
commit | 08a1ec8cf5df6e3659208864c7ad8d7a89d9e74e (patch) | |
tree | e86332ccbb243e8e8bb333c8d206b6d2f6c11e67 /src/plugins/html/DemoOutput.hpp | |
parent | 33caaa0d202d4d6a3abd1462f3d5650e9b6d506f (diff) |
first version of annotation handling in DemoOutput. Tests do not work yet, though.
Diffstat (limited to 'src/plugins/html/DemoOutput.hpp')
-rw-r--r-- | src/plugins/html/DemoOutput.hpp | 15 |
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: /** |