aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/output_hub.org
diff options
context:
space:
mode:
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