diff --git a/src/Makefile.am b/src/Makefile.am index bd2e44af..d9566b30 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -656,6 +656,9 @@ filters/okular-note.xsl \ filters/opendoc-body.xsl \ filters/opendoc-flat.xsl \ filters/opendoc-meta.xsl \ +filters/openxml-xls-body.xsl \ +filters/openxml-word-body.xsl \ +filters/openxml-meta.xsl \ filters/ppt-dump.py \ filters/rcl7z \ filters/rclabw.py \ diff --git a/src/filters/openxml-meta.xsl b/src/filters/openxml-meta.xsl new file mode 100644 index 00000000..5a4677a4 --- /dev/null +++ b/src/filters/openxml-meta.xsl @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + author + + + + + + + + + + + + date + + + + + + + + + + + + diff --git a/src/filters/openxml-word-body.xsl b/src/filters/openxml-word-body.xsl new file mode 100644 index 00000000..e9962a32 --- /dev/null +++ b/src/filters/openxml-word-body.xsl @@ -0,0 +1,27 @@ + + + + + + +
+ +
+
+ + +

+ +

+
+ +
diff --git a/src/filters/openxml-xls-body.xsl b/src/filters/openxml-xls-body.xsl new file mode 100644 index 00000000..5c0d6c71 --- /dev/null +++ b/src/filters/openxml-xls-body.xsl @@ -0,0 +1,19 @@ + + + + + + +
+ +
+
+ + +

+ +

+
+ +
diff --git a/src/sampleconf/mimeconf b/src/sampleconf/mimeconf index 7a0e8850..103daee2 100644 --- a/src/sampleconf/mimeconf +++ b/src/sampleconf/mimeconf @@ -88,17 +88,17 @@ application/vnd.oasis.opendocument.presentation-flat-xml = internal xsltproc ope application/vnd.oasis.opendocument.text-flat-xml = internal xsltproc opendoc-flat.xsl application/vnd.oasis.opendocument.spreadsheet-flat-xml = internal xsltproc opendoc-flat.xsl application/vnd.openxmlformats-officedocument.wordprocessingml.document = \ - execm rclopxml.py + internal xsltproc docProps/core.xml openxml-meta.xsl word/document.xml openxml-word-body.xsl application/vnd.openxmlformats-officedocument.wordprocessingml.template = \ - execm rclopxml.py + internal xsltproc docProps/core.xml openxml-meta.xsl word/document.xml openxml-word-body.xsl application/vnd.openxmlformats-officedocument.presentationml.template = \ execm rclopxml.py application/vnd.openxmlformats-officedocument.presentationml.presentation = \ execm rclopxml.py application/vnd.openxmlformats-officedocument.spreadsheetml.sheet = \ - execm rclopxml.py + internal xsltproc docProps/core.xml openxml-meta.xsl xl/sharedStrings.xml openxml-xls-body.xsl application/vnd.openxmlformats-officedocument.spreadsheetml.template =\ - execm rclopxml.py + internal xsltproc docProps/core.xml openxml-meta.xsl xl/sharedStrings.xml openxml-xls-body.xsl application/vnd.sun.xml.calc = internal xsltproc meta.xml opendoc-meta.xsl content.xml opendoc-body.xsl application/vnd.sun.xml.calc.template = internal xsltproc meta.xml opendoc-meta.xsl content.xml opendoc-body.xsl application/vnd.sun.xml.draw = internal xsltproc meta.xml opendoc-meta.xsl content.xml opendoc-body.xsl