poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From one...@apache.org
Subject svn commit: r1738502 - in /poi/trunk/test-data: diagram/SimpleMacro.vba diagram/SimpleMacro.vsd document/SimpleMacro.doc document/SimpleMacro.docm document/SimpleMacro.vba slideshow/SimpleMacro.ppt slideshow/SimpleMacro.pptm slideshow/SimpleMacro.vba
Date Mon, 11 Apr 2016 03:02:18 GMT
Author: onealj
Date: Mon Apr 11 03:02:18 2016
New Revision: 1738502

URL: http://svn.apache.org/viewvc?rev=1738502&view=rev
Log:
bug 52949: add Word, Powerpoint, and Visio (HDGF) files with macros to test macro extraction

Added:
    poi/trunk/test-data/diagram/SimpleMacro.vba   (with props)
    poi/trunk/test-data/diagram/SimpleMacro.vsd   (with props)
    poi/trunk/test-data/document/SimpleMacro.doc   (with props)
    poi/trunk/test-data/document/SimpleMacro.docm   (with props)
    poi/trunk/test-data/document/SimpleMacro.vba   (with props)
    poi/trunk/test-data/slideshow/SimpleMacro.ppt   (with props)
    poi/trunk/test-data/slideshow/SimpleMacro.pptm   (with props)
    poi/trunk/test-data/slideshow/SimpleMacro.vba   (with props)

Added: poi/trunk/test-data/diagram/SimpleMacro.vba
URL: http://svn.apache.org/viewvc/poi/trunk/test-data/diagram/SimpleMacro.vba?rev=1738502&view=auto
==============================================================================
--- poi/trunk/test-data/diagram/SimpleMacro.vba (added)
+++ poi/trunk/test-data/diagram/SimpleMacro.vba Mon Apr 11 03:02:18 2016
@@ -0,0 +1,12 @@
+Sub TestMacro()
+'
+' TestMacro Macro
+' This is a test macro
+'
+
+'
+    With ActiveDocument.Pages(1).Shapes(1)
+        .Text = "This is a macro vector graphics drawing"
+    End With
+End Sub
+

Propchange: poi/trunk/test-data/diagram/SimpleMacro.vba
------------------------------------------------------------------------------
    svn:eol-style = CRLF

Added: poi/trunk/test-data/diagram/SimpleMacro.vsd
URL: http://svn.apache.org/viewvc/poi/trunk/test-data/diagram/SimpleMacro.vsd?rev=1738502&view=auto
==============================================================================
Binary file - no diff available.

Propchange: poi/trunk/test-data/diagram/SimpleMacro.vsd
------------------------------------------------------------------------------
    svn:mime-type = application/vnd.visio

Added: poi/trunk/test-data/document/SimpleMacro.doc
URL: http://svn.apache.org/viewvc/poi/trunk/test-data/document/SimpleMacro.doc?rev=1738502&view=auto
==============================================================================
Binary file - no diff available.

Propchange: poi/trunk/test-data/document/SimpleMacro.doc
------------------------------------------------------------------------------
    svn:mime-type = application/msword

Added: poi/trunk/test-data/document/SimpleMacro.docm
URL: http://svn.apache.org/viewvc/poi/trunk/test-data/document/SimpleMacro.docm?rev=1738502&view=auto
==============================================================================
Binary file - no diff available.

Propchange: poi/trunk/test-data/document/SimpleMacro.docm
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: poi/trunk/test-data/document/SimpleMacro.vba
URL: http://svn.apache.org/viewvc/poi/trunk/test-data/document/SimpleMacro.vba?rev=1738502&view=auto
==============================================================================
--- poi/trunk/test-data/document/SimpleMacro.vba (added)
+++ poi/trunk/test-data/document/SimpleMacro.vba Mon Apr 11 03:02:18 2016
@@ -0,0 +1,10 @@
+Sub TestMacro()
+'
+' TestMacro Macro
+' This is a test macro
+'
+
+'
+    ActiveDocument.Paragraphs(1).Range.Text = "This is a macro word processing document"
+End Sub
+

Propchange: poi/trunk/test-data/document/SimpleMacro.vba
------------------------------------------------------------------------------
    svn:eol-style = CRLF

Added: poi/trunk/test-data/slideshow/SimpleMacro.ppt
URL: http://svn.apache.org/viewvc/poi/trunk/test-data/slideshow/SimpleMacro.ppt?rev=1738502&view=auto
==============================================================================
Binary file - no diff available.

Propchange: poi/trunk/test-data/slideshow/SimpleMacro.ppt
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: poi/trunk/test-data/slideshow/SimpleMacro.pptm
URL: http://svn.apache.org/viewvc/poi/trunk/test-data/slideshow/SimpleMacro.pptm?rev=1738502&view=auto
==============================================================================
Binary file - no diff available.

Propchange: poi/trunk/test-data/slideshow/SimpleMacro.pptm
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: poi/trunk/test-data/slideshow/SimpleMacro.vba
URL: http://svn.apache.org/viewvc/poi/trunk/test-data/slideshow/SimpleMacro.vba?rev=1738502&view=auto
==============================================================================
--- poi/trunk/test-data/slideshow/SimpleMacro.vba (added)
+++ poi/trunk/test-data/slideshow/SimpleMacro.vba Mon Apr 11 03:02:18 2016
@@ -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

Propchange: poi/trunk/test-data/slideshow/SimpleMacro.vba
------------------------------------------------------------------------------
    svn:eol-style = CRLF



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message