[PATCH] fdo#59071 Slideshow: allow automatic transitions with sub-se...

Thorsten Behrens thb at documentfoundation.org
Wed Apr 3 02:38:44 PDT 2013


Cao Cuong Ngo (via Code Review) wrote:
> Enable slide transition each 0.25 second instead of whole second.
> 
Hi Cao Cuong Ngo,

you were asking about my API extension comment - I admit the code is
indeed rather involved in that case, you want to look into:

 - xmloff/source/draw/sdpropls.cxx (the XML_SD_TYPE_PRESPAGE_DURATION
   property)
 - xmloff/source/draw/propimp0.cxx
   (XMLDurationPropertyHdl::import/exportXML - it currently works with
   integers)
 - offapi/com/sun/star/presentation/DrawPage.idl (which is published
   API, and has this [property] long Duration entry)
 - sd/source/ui/unoidl/unopage.cxx

The ODF export works by extracting / pushing back UNO properties into
various presentation document bits and pieces, and wraps this a bit
opaquely, if generically, via this huge property table. So concretely,
I'd add a new HighresDuration (or somesuch) optional api property, and
handle that in xmloff during import. Keep the old Duration
implementation in sdpage, by simply rounding your internal model value
to integers.

HTH,

-- Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130403/792f48fc/attachment.pgp>


More information about the LibreOffice mailing list