aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/output_hub.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-01-26 13:51:37 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commitd6569741844800684461d641fd28b5aa6fce2a8c (patch)
tree02640aace02554cdf9caff52fec2cc5c15fc2c50 /src/sdp/output_hub.d
parentregex template, made more uniform (diff)
output, template & struct names
Diffstat (limited to 'src/sdp/output_hub.d')
-rw-r--r--src/sdp/output_hub.d30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/sdp/output_hub.d b/src/sdp/output_hub.d
index db6bee2..16fc120 100644
--- a/src/sdp/output_hub.d
+++ b/src/sdp/output_hub.d
@@ -6,24 +6,24 @@ template outputHub() {
void outputHub(C,D)(C contents, D doc_matters) {
auto rgx = Rgx();
if (doc_matters.opt_action_bool["source"]) {
- /+ mixin SiSUoutputSource; +/
+ /+ mixin outputSource; +/
writeln("source");
}
if (doc_matters.opt_action_bool["sisupod"]) {
mixin SiSUpod;
- auto sisupod=SDPsisupod();
+ auto sisupod=SiSUpod();
sisupod.sisupod_assemble(doc_matters.source_filename);
writeln("sisupod source");
}
if (doc_matters.opt_action_bool["text"]) {
- /+ mixin SiSUoutputText; +/
+ /+ mixin outputText; +/
writeln("text processing");
// auto text=SDPoutput_text();
// text.scroll(contents, bookindex_unordered_hashes, biblio, dochead_make, dochead_meta, fn_src, opt_action_bool);
}
if (doc_matters.opt_action_bool["html"]) {
- mixin SiSUoutputHTML;
- auto html=SDPoutputHTML();
+ mixin outputHTML;
+ auto html=outputHTML();
html.css_write;
html.scroll(
contents,
@@ -34,16 +34,16 @@ template outputHub() {
doc_matters,
);
} else if(doc_matters.opt_action_bool["html_seg"]) {
- mixin SiSUoutputHTML;
- auto html=SDPoutputHTML();
+ mixin outputHTML;
+ auto html=outputHTML();
html.css_write;
html.seg(
contents,
doc_matters,
);
} else if(doc_matters.opt_action_bool["html_scroll"]) {
- mixin SiSUoutputHTML;
- auto html=SDPoutputHTML();
+ mixin outputHTML;
+ auto html=outputHTML();
html.css_write;
html.scroll(
contents,
@@ -51,8 +51,8 @@ template outputHub() {
);
}
if (doc_matters.opt_action_bool["epub"]) {
- mixin SiSUoutputEPub;
- auto epub=SDPoutputEPub();
+ mixin outputEPub;
+ auto epub=outputEPub();
epub.doc_content( // consolidate
contents,
doc_matters,
@@ -61,19 +61,19 @@ template outputHub() {
// writeln("epub processing");
}
if (doc_matters.opt_action_bool["pdf"]) {
- /+ mixin SiSUoutputPDF; +/
+ /+ mixin outputPDF; +/
writeln("pdf processing");
}
if (doc_matters.opt_action_bool["odt"]) {
- /+ mixin SiSUoutputODT; +/
+ /+ mixin outputODT; +/
writeln("odt processing");
}
if (doc_matters.opt_action_bool["sqlite"]) {
- /+ mixin SiSUoutputSQLite; +/
+ /+ mixin outputSQLite; +/
writeln("sqlite processing");
}
if (doc_matters.opt_action_bool["postgresql"]) {
- /+ mixin SiSUoutputPostgreSQL; +/
+ /+ mixin outputPostgreSQL; +/
writeln("pgsql processing");
}
}