From 2e720c5cbf12b988265f014f569ac64b65038f95 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 20 May 2019 10:11:57 -0400 Subject: 0.7.1 odt (initial stub) --- org/output_hub.org | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'org/output_hub.org') 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); <> @@ -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 -- cgit v1.2.3