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

Ross Johnson commented on TIKA-3968:
------------------------------------

For what it's worth, the .emf files do look to contain the original file names 
within a special sequence of EMR_COMMENT records near the end of the files. For 
example, image3.emf ends with the following records: 
!image-2023-02-06-15-46-05-678.png!

> Reconstruct embedded file names from recent docx files
> ------------------------------------------------------
>
>                 Key: TIKA-3968
>                 URL: https://issues.apache.org/jira/browse/TIKA-3968
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Priority: Major
>         Attachments: Microsoft_Word_Document.docx, 
> image-2023-02-06-15-46-05-678.png, image1.emf, image2.emf, image3.emf, 
> oleObject1.bin, oleObject2.bin, testWORD has attachment.docx
>
>
> I'm starting to see among several users communicating with me privately that 
> Microsoft has changed their basic behavior for files attached to at least 
> docx files (possibly pptx and xlsx?).  Rather than storing the original file 
> name, the file associates an EMF file with an attachment.  The filename that 
> a human sees in the application is spelled/painted out in the EMF file, but 
> does NOT exist in any of the XML.
> I'm attaching an example file.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to