Return-Path: X-Original-To: apmail-poi-commits-archive@minotaur.apache.org Delivered-To: apmail-poi-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4DE7318B00 for ; Mon, 11 Apr 2016 03:02:23 +0000 (UTC) Received: (qmail 91949 invoked by uid 500); 11 Apr 2016 03:02:23 -0000 Delivered-To: apmail-poi-commits-archive@poi.apache.org Received: (qmail 91911 invoked by uid 500); 11 Apr 2016 03:02:23 -0000 Mailing-List: contact commits-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@poi.apache.org Delivered-To: mailing list commits@poi.apache.org Received: (qmail 91898 invoked by uid 99); 11 Apr 2016 03:02:23 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2016 03:02:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id AABEBC0220 for ; Mon, 11 Apr 2016 03:02:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.799 X-Spam-Level: * X-Spam-Status: No, score=1.799 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Wq9RGS1L-C2E for ; Mon, 11 Apr 2016 03:02:21 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 0C59E5FB44 for ; Mon, 11 Apr 2016 03:02:21 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 28B8FE01AB for ; Mon, 11 Apr 2016 03:02:20 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 4B7D13A0186 for ; Mon, 11 Apr 2016 03:02:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@poi.apache.org From: onealj@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20160411030219.4B7D13A0186@svn01-us-west.apache.org> 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