From c9c1b3501569d83f9c1e9f7ca153230cd117b8a9 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 25 Jun 2018 12:50:54 -0400 Subject: obj.metainfo node type info, ancestors --- src/sdp/output/epub3.d | 4 ++-- src/sdp/output/sqlite.d | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/sdp/output') diff --git a/src/sdp/output/epub3.d b/src/sdp/output/epub3.d index 0e864f7..dce1b0c 100644 --- a/src/sdp/output/epub3.d +++ b/src/sdp/output/epub3.d @@ -150,7 +150,7 @@ template outputEPub3() { string _txt = obj.text.replaceAll(rgx.inline_notes_al_gen, "").strip; foreach_reverse (n; 0 .. 7) { string k = n.to!string; - switch (obj.metainfo.dom_collapsed[n]) { + switch (obj.metainfo.dom_structure_collapsed_tags_status[n]) { case DomTags.close : toc ~= markup.indent_by_spaces_provided((n + 1), " ") ~ "" ~ "\n"; toc ~= markup.indent_by_spaces_provided(n, " ") ~ "" ~ "\n"; @@ -247,7 +247,7 @@ template outputEPub3() { string _txt = obj.text.replaceAll(rgx.inline_notes_al_gen, "").strip; string hashtag =(obj.metainfo.heading_lev_markup <= 4) ? "" : ("#" ~ obj.metainfo.ocn.to!string); foreach_reverse (k; 0 .. 7) { - switch (obj.metainfo.dom_markedup[k]) { + switch (obj.metainfo.dom_structure_markedup_tags_status[k]) { case DomTags.close : toc ~= "\n "; break; diff --git a/src/sdp/output/sqlite.d b/src/sdp/output/sqlite.d index 1aa578d..636fe6f 100644 --- a/src/sdp/output/sqlite.d +++ b/src/sdp/output/sqlite.d @@ -1031,9 +1031,9 @@ template SQLiteInsertDocObjectsLoop() { if ((doc_matters.opt.action.verbose)) { writeln( "markup: ", obj.metainfo.heading_lev_markup, - "> ", obj.metainfo.dom_markedup, + "> ", obj.metainfo.dom_structure_markedup_tags_status, "; collapsed: ", obj.metainfo.heading_lev_collapsed, - "> ", obj.metainfo.dom_collapsed, + "> ", obj.metainfo.dom_structure_collapsed_tags_status, "; ocn: ", obj.metainfo.ocn, " node: ", obj.metainfo.node, "; parent: ", obj.metainfo.parent_lev_markup, -- cgit v1.2.3