aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/output/odt.d
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 /src/doc_reform/output/odt.d
parentorg renaming (diff)
name changes
Diffstat (limited to 'src/doc_reform/output/odt.d')
-rw-r--r--src/doc_reform/output/odt.d14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/doc_reform/output/odt.d b/src/doc_reform/output/odt.d
index 075a73c..2d0c45d 100644
--- a/src/doc_reform/output/odt.d
+++ b/src/doc_reform/output/odt.d
@@ -12,7 +12,7 @@ template formatODT() {
doc_reform.output.create_zip_file,
doc_reform.output.xmls,
doc_reform.output.xmls_css;
- mixin DocReformOutputRgxInit;
+ mixin spineOutputRgxInit;
struct formatODT {
static auto rgx = Rgx();
string _tags(O)(const O obj){
@@ -603,7 +603,7 @@ template outputODT() {
doc_reform.output.xmls,
doc_reform.output.xmls_css;
mixin InternalMarkup;
- mixin DocReformOutputRgxInit;
+ mixin spineOutputRgxInit;
auto rgx = Rgx();
// mixin outputXmlODT;
string odt_head(I)(I doc_matters) {
@@ -841,7 +841,7 @@ template outputODT() {
}
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;
}
@@ -886,7 +886,7 @@ template outputODT() {
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;
@@ -925,7 +925,7 @@ template outputODT() {
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;
@@ -1966,7 +1966,7 @@ template outputODT() {
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) {
@@ -2060,7 +2060,7 @@ template outputODT() {
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;