aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/out_odt.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-11-15 23:58:15 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2019-11-22 09:54:24 -0500
commit96b03396ddb487816ebd85d1c6f30400019702fc (patch)
tree4519db10b3f50efa07e5f9f34783c9b7e7eaa114 /org/out_odt.org
parentorg renaming (diff)
name changes
Diffstat (limited to 'org/out_odt.org')
-rw-r--r--org/out_odt.org14
1 files changed, 7 insertions, 7 deletions
diff --git a/org/out_odt.org b/org/out_odt.org
index 0a7f93d..966554d 100644
--- a/org/out_odt.org
+++ b/org/out_odt.org
@@ -48,7 +48,7 @@
module doc_reform.output.odt;
template formatODT() {
<<output_imports>>
- mixin DocReformOutputRgxInit;
+ mixin spineOutputRgxInit;
struct formatODT {
static auto rgx = Rgx();
<<odt_format_objects>>
@@ -57,7 +57,7 @@ template formatODT() {
template outputODT() {
<<output_imports>>
mixin InternalMarkup;
- mixin DocReformOutputRgxInit;
+ mixin spineOutputRgxInit;
auto rgx = Rgx();
// mixin outputXmlODT;
<<output_odt_variable_content_xml>>
@@ -848,7 +848,7 @@ void writeOutputODT(W,I)(
const W odt_content,
I doc_matters,
) {
- auto pth_odt = DocReformPathsODT!()(doc_matters);
+ auto pth_odt = spinePathsODT!()(doc_matters);
auto fn_odt = pth_odt.odt_file;
auto zip = new ZipArchive(); // ZipArchive zip = new ZipArchive();
void ODTzip()(string contents, string fn) {
@@ -948,7 +948,7 @@ void outputODT(D,I)(
string manifest_xml; // image list changes
string meta_xml; // time stamp
}
- // auto pth_odt = DocReformPathsODT!()(doc_matters);
+ // auto pth_odt = spinePathsODT!()(doc_matters);
auto odt = ODT();
odt.mimetype = mimetype;
odt.manifest_rdf = manifest_rdf;
@@ -990,7 +990,7 @@ import
void dirtree(I)(
I doc_matters,
) {
- auto pth_odt = DocReformPathsODT!()(doc_matters);
+ auto pth_odt = spinePathsODT!()(doc_matters);
if (doc_matters.opt.action.debug_do) { /+ (dir tree) +/
if (!exists(pth_odt.meta_inf_dir("fs"))) {
pth_odt.meta_inf_dir("fs").mkdirRecurse;
@@ -2391,7 +2391,7 @@ string odt_body(D,I)(
#+name: output_odt_variable_content_xml
#+BEGIN_SRC d
string odt_tail() {
- string _odt_tail = format(q"┃<text:p text:style-name="P_normal">DocReform: &lt;<text:a xl:type="simple" xl:href="http://www.doc_reform.org">www.doc_reform.org</text:a>&gt; and &lt;<text:a xl:type="simple" xl:href="http://www.sisudoc.org">www.sisudoc.org</text:a>&gt;</text:p>
+ string _odt_tail = format(q"┃<text:p text:style-name="P_normal">spine: &lt;<text:a xl:type="simple" xl:href="http://www.doc_reform.org">www.doc_reform.org</text:a>&gt; and &lt;<text:a xl:type="simple" xl:href="http://www.sisudoc.org">www.sisudoc.org</text:a>&gt;</text:p>
</office:text></office:body></office:document-content>┃",);
return _odt_tail;
}
@@ -2498,7 +2498,7 @@ void images_cp(M)(
auto ref M doc_matters,
) {
{ /+ (copy odt images) +/
- auto pth_odt = DocReformPathsODT!()(doc_matters);
+ auto pth_odt = spinePathsODT!()(doc_matters);
foreach (image; doc_matters.srcs.image_list) {
auto fn_src_in = doc_matters.src.image_dir_path ~ "/" ~ image;
auto fn_src_out_file = pth_odt.image_dir("fs") ~ "/" ~ image;