You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2020/11/09 01:45:00 UTC
[jira] [Commented] (TIKA-3156) Missing content from .odt file with
hyperlinked image
[ https://issues.apache.org/jira/browse/TIKA-3156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17228311#comment-17228311 ]
Hudson commented on TIKA-3156:
------------------------------
SUCCESS: Integrated in Jenkins build Tika » tika-main-jdk8 #43 (See [https://ci-builds.apache.org/job/Tika/job/tika-main-jdk8/43/])
TIKA-3156: Added ability to read hyperlinked images from ODT files (dmeikle: [https://github.com/apache/tika/commit/2b456679200bd8b2e86864ae6db847923d2bc134])
* (edit) tika-parser-modules/tika-parser-miscoffice-module/src/main/java/org/apache/tika/parser/odf/OpenDocumentParser.java
* (add) tika-parser-modules/tika-parser-miscoffice-module/src/test/resources/test-documents/testODTEmbeddedImageLink.odt
* (edit) CHANGES.txt
* (edit) tika-parser-modules/tika-parser-miscoffice-module/src/main/java/org/apache/tika/parser/odf/OpenDocumentBodyHandler.java
* (edit) tika-parser-modules/tika-parser-miscoffice-module/src/test/java/org/apache/tika/parser/odf/ODFParserTest.java
> Missing content from .odt file with hyperlinked image
> -----------------------------------------------------
>
> Key: TIKA-3156
> URL: https://issues.apache.org/jira/browse/TIKA-3156
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 1.24.1
> Reporter: Robert Kaulbach
> Assignee: Dave Meikle
> Priority: Minor
> Attachments: link-gdocs.odt
>
>
> The attached file was created in Google Docs with an image inside and saved as an .odt file. After saving, I opened the file with LibreOffice and added a hyperlink to the image.
>
> When I parse the file with Tika, neither LinkContentHandler or ToXMLContentHandler show any trace of the hyperlink.
>
> The link is clickable when I open the document, and inside content.xml as :
> _<draw:a xlink:type="simple" xlink:href="[http://example.test/]">_
>
> I tried enabling all options in OfficeParserConfig and OOXMLParser but the link is still not extracted.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)