summaryrefslogtreecommitdiff
path: root/examples/ooxml-strict
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ooxml-strict')
-rw-r--r--examples/ooxml-strict/dumpsample.py1
-rwxr-xr-xexamples/ooxml-strict/test.sh1
-rw-r--r--examples/ooxml-strict/testppt.pptxbin0 -> 34048 bytes
-rw-r--r--examples/ooxml-strict/title-and-subtitle.pptxbin0 -> 34696 bytes
4 files changed, 2 insertions, 0 deletions
diff --git a/examples/ooxml-strict/dumpsample.py b/examples/ooxml-strict/dumpsample.py
index f0cf8cf..377ee60 100644
--- a/examples/ooxml-strict/dumpsample.py
+++ b/examples/ooxml-strict/dumpsample.py
@@ -42,6 +42,7 @@ else:
for i in range(worklist.iterations(mimetype)):
contentIter()
currOutFile = outDir+"/"+inFileName+str(iteration)+inFileExt
+ print sax_instance.toxml().encode('utf-8')
package.copyWithReplace(currOutFile,{fragment: sax_instance.toxml().encode('utf-8')})
iteration += 1
print "Written "+currOutFile
diff --git a/examples/ooxml-strict/test.sh b/examples/ooxml-strict/test.sh
index 0263bd9..cb76603 100755
--- a/examples/ooxml-strict/test.sh
+++ b/examples/ooxml-strict/test.sh
@@ -8,3 +8,4 @@ sh genbindings.sh
echo ; echo ; echo "Running demo iteration" ; echo ; echo
python dumpsample.py demo Lorem-ipsum.docx /tmp
python xls_sample.py demo_refmode test-refmode.xlsx /tmp
+python dumpsample.py demo3 testppt.pptx /tmp
diff --git a/examples/ooxml-strict/testppt.pptx b/examples/ooxml-strict/testppt.pptx
new file mode 100644
index 0000000..da7e352
--- /dev/null
+++ b/examples/ooxml-strict/testppt.pptx
Binary files differ
diff --git a/examples/ooxml-strict/title-and-subtitle.pptx b/examples/ooxml-strict/title-and-subtitle.pptx
new file mode 100644
index 0000000..344b3a6
--- /dev/null
+++ b/examples/ooxml-strict/title-and-subtitle.pptx
Binary files differ