curationexperts / trove

Digital Image Library based on Tufts repository models
0 stars 2 forks source link

Allow user choices for pptx/PDF export #192

Closed acozine closed 1 year ago

acozine commented 9 years ago

Ideally, allow the user to select:

mark-dce commented 9 years ago

The current pptx exporter is written using the apache POI library: http://poi.apache.org/index.html
http://poi.apache.org/slideshow/index.html
http://poi.apache.org/apidocs/index.html

For more control, we may want to consider either building pure OOXML documents in the future (hard-ish) or creating a boilerplate presentation that we unzip, modify as necessary, and rezip (harder than poi, but way more control). Full documentation for the MSOffice powerpoint xml specification can be found here:
http://www.ecma-international.org/publications/standards/Ecma-376.htm
and is summarized here:
http://www.officeopenxml.com/index.php

The hardest part of the problem appears to be figuring out how to clip text when it's simply too long to fit on a slide. You can set autoFit with the POI library, but it only applies gets applied if you actually open the document in OpenOffice or LibreOffice - MS Office does not appear to apply the autoFit until some text is actually edited.

acozine commented 1 year ago

Nine years on, this should probably be archived. Closing this issue for the sake of tidiness.