fdo #36946 -- categories for slide transitions in impress -- where to implement categorisation

Andrzej J. R. Hunt andrzej at ahunt.org
Mon Apr 16 13:54:03 PDT 2012

On 05/04/12 14:59, Radek Doulik wrote:
> Yup, having fewer categories makes sense. Powerpoint 2010 has only 3
> categories too.
Ok, I now have "Wipe", "3d" and "Other" transitions as the categories -- 
but might add another one or two.
> I would prefer adding the information into transitions.xml. Otherwise it
> would be less clear when adding new transitions.
I've done that -- this should make adding new categories and adding new 
transitions fairly simple.

Attached is a preview patch -- I still need to actually decide what 
categories to add and which transitions to add to each category, so 
regard the actual categorisations as random -- this is just to show the 
code allowing the changes.

If anyone does modify transitions.xml or transitions-ogl.xml: "make sd" 
does not update the xml files that are used when running impress -- you 
will need to rerun make dev-install (takes some time) or copy the xml 
files from sd/xml/ to install/program/share/config/soffice.cfg/simpress/ 
(assuming you've done dev-install). I'm not sure how Effects.xcu is 
processed, but it may be enough to run "make officecfg" to update that.

There is a separate UI issue, related to this topic: when a 
non-transition is selected, a preview of a transition is still shown 
that does nothing -- this already occured for the "No Transition" entry, 
and now also occurs for the Categories. I'll look into this, but 
probably will make it a separate patch.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: categories.diff
Type: text/x-patch
Size: 46167 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120416/e901ae5a/attachment-0001.bin>

More information about the LibreOffice mailing list