Skip to content

TIKA-4831: The icon of a GeoGebra tool is its thumbnail - #3100

Open
dschmidt wants to merge 2 commits into
apache:mainfrom
dschmidt:geogebra-tool-icon
Open

TIKA-4831: The icon of a GeoGebra tool is its thumbnail#3100
dschmidt wants to merge 2 commits into
apache:mainfrom
dschmidt:geogebra-tool-icon

Conversation

@dschmidt

Copy link
Copy Markdown
Contributor

Follow-up to #3044: a tool file (.ggt) has no geogebra_thumbnail.png, but a tool can have an icon, stored in a directory with a generated name and referenced by the macro's iconFile attribute (File Format reference, ".ggt"). The parser now emits that icon as the tool's THUMBNAIL, and not a second time as a picture.

Order of preference is unchanged for the other files: the worksheet thumbnail, then the first slide thumbnail, then the tool icon. A worksheet with an embedded tool keeps its own thumbnail; the icon stays INLINE there.

I could not find a real .ggt with an icon anywhere public (GitHub does not index binaries, GeoGebra's site offers no tools for download), so the test builds one after the XML reference.

https://issues.apache.org/jira/browse/TIKA-4831

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant