Le 16/04/12 12:30, [email protected] a écrit : Hi,
> 1. Given a folder/selection of jpg pics, can Impress import the whole > set as a new slideshow, one pic per slide? Not that I know of, unless you do it programmatically (Python, JS or LOBasic). There might be an extension out there somewhere on the net that lets you do this, but I don't recall having seen one. > 2. Given a folder/selection of Impress slideshow files, can Impress or a > script merge them into one continuous, mass slideshow? A separator > slide may buffer between each merged file. You would need a script for that to merge the XML - even then, you would probably encounter the image saving bug/mess : LO, which inherited its image storing management routines from OOo, stores each image in a ODF file as a pseudo-randomly generated sequence of characters, and then includes a pointer to that in the XML attributes. Your script would have to be able to extract the image from one ODP file, in all likelihood meaning you would have to read the binary stream API to do this, store it in memory, rename it and resave it in the new file - fun, huh ? > > A shell script may do, but that must vary by OS. Maybe Python? Inside > LibreOffice is a "Script Provider for Python" extension. > > My users are average folk who need simple click methods. Old OOo > extensions are broken in Libre, or not easy for grandma to > click-install. They were all that my web searches found, so I ask. > Thank you! >From what I know, and I don't know everything ;-), you could only do this via a fairly complicated script. You could try using any of the language bindings available for your script, and Python is as good as any other in this respect, but be warned if you want it multi-OS and clickable, it will not be a task for the fainthearted. Alex -- For unsubscribe instructions e-mail to: [email protected] Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
