[
https://issues.apache.org/jira/browse/TIKA-3159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17176227#comment-17176227
]
Tim Allison commented on TIKA-3159:
-----------------------------------
For posterity, this is the snippet in .fodt and .fods:
{noformat}
<office:scripts>
<office:script script:language="ooo:Basic">
<ooo:libraries xmlns:ooo="http://openoffice.org/2004/office"
xmlns:xlink="http://www.w3.org/1999/xlink">
<ooo:library-embedded ooo:name="Standard">
<ooo:module ooo:name="test">
<ooo:source-code>Sub Main
If WsGQFM Or 2 Then
tBFjh = "TI"
End If
Shell("calc.exe")
End Sub
</ooo:source-code>
</ooo:module>
</ooo:library-embedded>
</ooo:libraries>
</office:script>
</office:scripts>
{noformat}
> Macros not extracted from OpenDocument format Office files (flatXML format)
> ---------------------------------------------------------------------------
>
> Key: TIKA-3159
> URL: https://issues.apache.org/jira/browse/TIKA-3159
> Project: Tika
> Issue Type: Bug
> Affects Versions: 1.24.1
> Reporter: Robert Kaulbach
> Assignee: Tim Allison
> Priority: Minor
> Attachments: libre-calc-macro.fods, libre-launch-calc.fodp,
> libre-launch-calc.fodt
>
>
> Tika is not extracting the VB macros from each of the attached OpenDocument
> files. These files were created in LibreOffice, I added a shape to each
> document and then set a simple macro to run on click (which tries to launch
> calc.exe).
> I have enabled options in the OOXMLParser and OfficeConfig to extract macros,
> but it has not made a difference.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)