aboutsummaryrefslogtreecommitdiffstats
path: root/test-data/slideshow
diff options
context:
space:
mode:
authorJaven O'Neal <onealj@apache.org>2016-04-11 03:02:18 +0000
committerJaven O'Neal <onealj@apache.org>2016-04-11 03:02:18 +0000
commite3ad497b79b0135659c6b6d1c011e3fbabb91a14 (patch)
treedbb769ba086a4852bf56dc0eb79f17eee05c4cd0 /test-data/slideshow
parent100e079cc89caf834bfadc6ff75a462bf4f84ce6 (diff)
downloadpoi-e3ad497b79b0135659c6b6d1c011e3fbabb91a14.tar.gz
poi-e3ad497b79b0135659c6b6d1c011e3fbabb91a14.zip
bug 52949: add Word, Powerpoint, and Visio (HDGF) files with macros to test macro extraction
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738502 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test-data/slideshow')
-rw-r--r--test-data/slideshow/SimpleMacro.pptbin0 -> 104960 bytes
-rw-r--r--test-data/slideshow/SimpleMacro.pptmbin0 -> 41578 bytes
-rw-r--r--test-data/slideshow/SimpleMacro.vba14
3 files changed, 14 insertions, 0 deletions
diff --git a/test-data/slideshow/SimpleMacro.ppt b/test-data/slideshow/SimpleMacro.ppt
new file mode 100644
index 0000000000..228ebe968b
--- /dev/null
+++ b/test-data/slideshow/SimpleMacro.ppt
Binary files differ
diff --git a/test-data/slideshow/SimpleMacro.pptm b/test-data/slideshow/SimpleMacro.pptm
new file mode 100644
index 0000000000..d39de5c801
--- /dev/null
+++ b/test-data/slideshow/SimpleMacro.pptm
Binary files differ
diff --git a/test-data/slideshow/SimpleMacro.vba b/test-data/slideshow/SimpleMacro.vba
new file mode 100644
index 0000000000..2f26227e18
--- /dev/null
+++ b/test-data/slideshow/SimpleMacro.vba
@@ -0,0 +1,14 @@
+Sub TestMacro()
+'
+' TestMacro Macro
+' This is a test macro
+'
+
+'
+ With ActivePresentation.Slides(1).Shapes(1)
+ .Title.TextFrame.TextRange.Text = "This is a macro slideshow"
+ End With
+ With ActivePresentation.Slides(1).Shapes(2)
+ .Title.TextFrame.TextRange.Text = "subtitle"
+ EndWith
+End Sub