monperrus / ExpandAnimations

LibreOffice/OpenOffice.org extension to expand animations before exporting to PDF. Looking for maintainers.
https://github.com/monperrus/ExpandAnimations
GNU Lesser General Public License v3.0
230 stars 30 forks source link

Inadmissible value or data type #22

Closed tuncK closed 5 years ago

tuncK commented 5 years ago

I had previously used the extension without problems, but now I have Libreoffice 6.0. When I attempt to use the extension on slides.odp, the program starts by generating slides-expanded.odp, but later quits with error:

Inadmissible value or data type. Index out of defined range.

For the problem, Basic editor points to the line 208, which is: dim visibility(UBound(shapes), nFrames-1) as Boolean

georoen commented 5 years ago

Experiencing the same error here using LibreOffice 6.1.4.2... However using a small test, I figured out it is not a compatibility issue. This error occurs due to malicious content on a slide. I attached an example here. It is empty and has no animations, but at the same time it shows the animated symbol next to the thumbnail in the slides overview (see this screenshot). Consequently expand animations fails as it wants to expand the not existing animations...

monperrus commented 5 years ago

Duplicate of #8, please comment or subscribe to #8.