aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/output_hub.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-05-20 10:11:57 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2019-10-17 19:07:20 -0400
commit2e720c5cbf12b988265f014f569ac64b65038f95 (patch)
treecb4d3304012aa3c3c1cb3f0662828e4e68e2bec3 /org/output_hub.org
parentmeta_abstraction, ultimately cosmetic (diff)
0.7.1 odt (initial stub)doc-reform_v0.7.1
Diffstat (limited to 'org/output_hub.org')
-rw-r--r--org/output_hub.org15
1 files changed, 14 insertions, 1 deletions
diff --git a/org/output_hub.org b/org/output_hub.org
index 21f5b9d..bd56940 100644
--- a/org/output_hub.org
+++ b/org/output_hub.org
@@ -33,7 +33,7 @@ template outputHub() {
mixin Msg;
auto msg = Msg!()(doc_matters);
static auto rgx = Rgx();
- enum outTask { pod, source, sqlite, sqlite_multi, epub, html_scroll, html_seg, html_stuff }
+ enum outTask { pod, source, sqlite, sqlite_multi, odt, epub, html_scroll, html_seg, html_stuff }
void Scheduled(D,I)(int sched, D doc_abstraction, I doc_matters) {
auto msg = Msg!()(doc_matters);
<<output_scheduled_task>>
@@ -69,6 +69,7 @@ template outputHubOp() {
#+BEGIN_SRC d
import doc_reform.output,
doc_reform.output.xmls,
+ doc_reform.output.odt,
doc_reform.output.create_zip_file,
doc_reform.output.paths_output;
#+END_SRC
@@ -137,6 +138,18 @@ if (sched == outTask.html_stuff) {
}
#+END_SRC
+**** odf / odt :odf:odt:
+
+#+name: output_scheduled_task
+#+BEGIN_SRC d
+if (sched == outTask.odt) {
+ msg.v("odf:odt processing... ");
+ import doc_reform.output.odt;
+ outputODT!()(doc_abstraction, doc_matters);
+ msg.vv("odf:odt done");
+}
+#+END_SRC
+
**** sqlite discrete :sqlite:
#+name: output_scheduled_task