[ 
https://issues.apache.org/jira/browse/TIKA-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15510446#comment-15510446
 ] 

Tim Allison commented on TIKA-2069:
-----------------------------------

Currently, multiple macros are appended to one string in POI.

{noformat}
<body><p>Attribute VB_Name = "NewMacros"
Sub Embolden()
Attribute Embolden.VB_Description = "This tests changing the selection to bold"
Attribute Embolden.VB_ProcData.VB_Invoke_Func = "Project.NewMacros.Embolden"
'
' Embolden Macro
'
'
    Selection.Font.Bold = wdToggle
    Selection.Font.BoldBi = wdToggle
End Sub

Sub Italicize()
Attribute Italicize.VB_Description = "This tests italicizing"
Attribute Italicize.VB_ProcData.VB_Invoke_Func = "Project.NewMacros.Italicize"
'
' Italicize Macro
'
'
    Selection.Font.Italic = wdToggle
    Selection.Font.ItalicBi = wdToggle
End Sub
{noformat}

> Extract Macro text from Microsoft Office documents
> --------------------------------------------------
>
>                 Key: TIKA-2069
>                 URL: https://issues.apache.org/jira/browse/TIKA-2069
>             Project: Tika
>          Issue Type: Improvement
>          Components: detector, parser
>    Affects Versions: 1.13
>         Environment: RHEL 5.x, Apache Tomcat
>            Reporter: Jeff Swindle
>              Labels: features
>         Attachments: excel-macro.PNG, test-macro-doc.docm, 
> test-macro-doc.docm-tika-app-output.txt, word-macro.PNG, xlsmacro.xlsm, 
> xlsmacro.xlsm.tika-app-output.txt
>
>
> Tika supports macro-enabled Microsoft Office documents by extracting metadata 
> and contents, however, macros within the document are not in the metadata or 
> content output.
> Desire is to have the macro text extracted also.
> Info regarding macro extraction: http://www.decalage.info/vba_tools



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to