Apache OpenOffice (AOO) Bugzilla – Issue 100663
Allow to generate a thumbnail of the first page or whole document per API.
Last modified: 2017-05-20 11:28:09 UTC
Currently it looks to be impossible to generate a thumbnail of the first document page per API. It would be quite easy to implement and looks to be useful for some users.
mod->mav: would it be easy and possible as well to generate a thumbnail of the whole document instead of just the first page? This would be very helpful e.g. for - document layout tests - layout comparison of different office suites
Yes it is possible. Would probably need a little bit more efforts. Changing the summary.
Just for completeness: I assume that it will be possible to chose any format that a Graphic object can be exported to. That would be png, bmp, EPS etc. The purpose mentioned by Max is important. It could make our "Convwatch" tooling much easier. In this case the output probably should be page oriented If the output format isn't multi-page capable we can return more than one image, but I still wonder whether it would be better to use an API like XRenderable where the API user decides which pages should be rendered. So we would have a loop over all renderable items (=pages or slides) that creates an object that can retrieve an object that can be exported to any graphical format.
Reset assigne to the default "issues@openoffice.apache.org".