LCOV - code coverage report
Current view: top level - sd/source/filter/ppt - pptanimations.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 1 0.0 %
Date: 2012-08-25 Functions: 0 2 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2                 :            : /*
       3                 :            :  * This file is part of the LibreOffice project.
       4                 :            :  *
       5                 :            :  * This Source Code Form is subject to the terms of the Mozilla Public
       6                 :            :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7                 :            :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8                 :            :  *
       9                 :            :  * This file incorporates work covered by the following license notice:
      10                 :            :  *
      11                 :            :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12                 :            :  *   contributor license agreements. See the NOTICE file distributed
      13                 :            :  *   with this work for additional information regarding copyright
      14                 :            :  *   ownership. The ASF licenses this file to you under the Apache
      15                 :            :  *   License, Version 2.0 (the "License"); you may not use this file
      16                 :            :  *   except in compliance with the License. You may obtain a copy of
      17                 :            :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18                 :            :  */
      19                 :            : 
      20                 :            : #ifndef _SD_PPT_ANIMATIONS_HXX
      21                 :            : #define _SD_PPT_ANIMATIONS_HXX
      22                 :            : 
      23                 :            : #include <com/sun/star/uno/Any.h>
      24                 :            : #include <com/sun/star/animations/TransitionType.hpp>
      25                 :            : #include <com/sun/star/animations/TransitionSubType.hpp>
      26                 :            : #include <com/sun/star/presentation/EffectPresetClass.hpp>
      27                 :            : 
      28                 :            : #include <map>
      29                 :            : #include <sal/types.h>
      30                 :            : 
      31                 :            : class SvStream;
      32                 :            : 
      33                 :            : namespace ppt
      34                 :            : {
      35                 :            : 
      36                 :            : // old transition types
      37                 :            : #define PPT_TRANSITION_TYPE_NONE            0
      38                 :            : #define PPT_TRANSITION_TYPE_RANDOM          1
      39                 :            : #define PPT_TRANSITION_TYPE_BLINDS          2
      40                 :            : #define PPT_TRANSITION_TYPE_CHECKER         3
      41                 :            : #define PPT_TRANSITION_TYPE_COVER           4
      42                 :            : #define PPT_TRANSITION_TYPE_DISSOLVE        5
      43                 :            : #define PPT_TRANSITION_TYPE_FADE            6
      44                 :            : #define PPT_TRANSITION_TYPE_PULL            7
      45                 :            : #define PPT_TRANSITION_TYPE_RANDOM_BARS     8
      46                 :            : #define PPT_TRANSITION_TYPE_STRIPS          9
      47                 :            : #define PPT_TRANSITION_TYPE_WIPE           10
      48                 :            : #define PPT_TRANSITION_TYPE_ZOOM           11
      49                 :            : #define PPT_TRANSITION_TYPE_SPLIT          13
      50                 :            : 
      51                 :            : // effects, new in xp
      52                 :            : #define PPT_TRANSITION_TYPE_DIAMOND         17
      53                 :            : #define PPT_TRANSITION_TYPE_PLUS            18
      54                 :            : #define PPT_TRANSITION_TYPE_WEDGE           19
      55                 :            : #define PPT_TRANSITION_TYPE_PUSH            20
      56                 :            : #define PPT_TRANSITION_TYPE_COMB            21
      57                 :            : #define PPT_TRANSITION_TYPE_NEWSFLASH       22
      58                 :            : #define PPT_TRANSITION_TYPE_SMOOTHFADE      23
      59                 :            : #define PPT_TRANSITION_TYPE_WHEEL           26
      60                 :            : #define PPT_TRANSITION_TYPE_CIRCLE          27
      61                 :            : 
      62                 :            : // atoms
      63                 :            : #define DFF_msofbtAnimEvent                         0xf125
      64                 :            : #define DFF_msofbtAnimNode                          0xf127
      65                 :            : #define DFF_msofbtAnimTrigger                       0xf128
      66                 :            : #define DFF_msofbtAnimValue                         0xf129
      67                 :            : #define DFF_msofbtAnimateTarget                     0xf12a
      68                 :            : #define DFF_msofbtAnimate                           0xf12b
      69                 :            : #define DFF_msofbtAnimateColor                      0xf12c
      70                 :            : #define DFF_msofbtAnimateFilter                     0xf12d
      71                 :            : #define DFF_msofbtAnimateMotion                     0xf12e
      72                 :            : #define DFF_msofbtAnimateRotation                   0xf12f
      73                 :            : #define DFF_msofbtAnimateScale                      0xf130
      74                 :            : #define DFF_msofbtAnimateSet                        0xf131
      75                 :            : #define DFF_msofbtAnimCommand                       0xf132
      76                 :            : #define DFF_msofbtAnimateTargetSettings             0xf133
      77                 :            : #define DFF_msofbtAnimateData                       0xf134
      78                 :            : #define DFF_msofbtAnimateColorData                  0xf135
      79                 :            : #define DFF_msofbtAnimateFilterData                 0xf136
      80                 :            : #define DFF_msofbtAnimateMotionData                 0xf137
      81                 :            : #define DFF_msofbtAnimateScaleData                  0xf139
      82                 :            : #define DFF_msofbtAnimateSetData                    0xf13a
      83                 :            : #define DFF_msofbtCommandData                       0xf13b
      84                 :            : #define DFF_msofbtAnimateTargetElement              0xf13c
      85                 :            : #define DFF_msofbtAnimPropertySet                   0xf13d
      86                 :            : #define DFF_msofbtAnimateAttributeNames             0xf13e
      87                 :            : #define DFF_msofbtAnimKeyPoints                     0xf13f
      88                 :            : #define DFF_msofbtAnimIteration                     0xf140
      89                 :            : #define DFF_msofbtAnimAction                        0xf141          // correct name??
      90                 :            : #define DFF_msofbtAnimAttributeValue                0xf142
      91                 :            : #define DFF_msofbtAnimKeyTime                       0xf143
      92                 :            : #define DFF_msofbtAnimGroup                         0xf144
      93                 :            : #define DFF_msofbtAnimSubGoup                       0xf145
      94                 :            : #define DFF_msofbtAnimateRotationData               0xf138
      95                 :            : #define DFF_msofbtAnimReference                     0x2afb
      96                 :            : 
      97                 :            : // property ids
      98                 :            : #define DFF_ANIM_ID                         1
      99                 :            : #define DFF_ANIM_RUNTIMECONTEXT             2
     100                 :            : #define DFF_ANIM_PATH_EDIT_MODE             3
     101                 :            : #define DFF_ANIM_COLORSPACE                 4
     102                 :            : #define DFF_ANIM_DIRECTION                  5       // TODO: Conflict?
     103                 :            : #define DFF_ANIM_MASTERREL                  5       // TODO: Conflict?
     104                 :            : #define DFF_ANIM_OVERRIDE                   6
     105                 :            : #define DFF_ANIM_PRESET_ID                  9
     106                 :            : #define DFF_ANIM_PRESET_SUB_TYPE            10
     107                 :            : #define DFF_ANIM_PRESET_CLASS               11
     108                 :            : #define DFF_ANIM_AFTEREFFECT                13
     109                 :            : #define DFF_ANIM_ENDAFTERSLIDE              15
     110                 :            : #define DFF_ANIM_TIMEFILTER                 16
     111                 :            : #define DFF_ANIM_EVENT_FILTER               17
     112                 :            : #define DFF_ANIM_GROUP_ID                   19
     113                 :            : #define DFF_ANIM_NODE_TYPE                  20
     114                 :            : #define DFF_ANIM_VOLUME                     22
     115                 :            : #define DFF_ANIM_PROPERTY_ID_COUNT                      (DFF_ANIM_VOLUME + 1)
     116                 :            : 
     117                 :            : // property types
     118                 :            : #define DFF_ANIM_PROP_TYPE_BYTE             0
     119                 :            : #define DFF_ANIM_PROP_TYPE_INT32            1
     120                 :            : #define DFF_ANIM_PROP_TYPE_FLOAT            2
     121                 :            : #define DFF_ANIM_PROP_TYPE_UNISTRING        3
     122                 :            : 
     123                 :            : #define DFF_ANIM_PRESS_CLASS_USER_DEFINED   0
     124                 :            : #define DFF_ANIM_PRESS_CLASS_ENTRANCE       1
     125                 :            : #define DFF_ANIM_PRESS_CLASS_EXIT           2
     126                 :            : #define DFF_ANIM_PRESS_CLASS_EMPHASIS       3
     127                 :            : #define DFF_ANIM_PRESS_CLASS_MOTIONPATH     4
     128                 :            : #define DFF_ANIM_PRESS_CLASS_OLE_ACTION     5
     129                 :            : #define DFF_ANIM_PRESS_CLASS_MEDIACALL      6
     130                 :            : 
     131                 :            : #define DFF_ANIM_NODE_TYPE_ON_CLICK         1
     132                 :            : #define DFF_ANIM_NODE_TYPE_WITH_PREVIOUS    2
     133                 :            : #define DFF_ANIM_NODE_TYPE_AFTER_PREVIOUS   3
     134                 :            : #define DFF_ANIM_NODE_TYPE_MAIN_SEQUENCE    4
     135                 :            : #define DFF_ANIM_NODE_TYPE_INTERACTIVE_SEQ  5
     136                 :            : #define DFF_ANIM_NODE_TYPE_TIMING_ROOT      9
     137                 :            : 
     138                 :            : /* constants for fill entry in AnimationNode */
     139                 :            : const sal_Int32 mso_Anim_GroupType_PAR      = 0;
     140                 :            : const sal_Int32 mso_Anim_GroupType_SEQ      = 1;
     141                 :            : const sal_Int32 mso_Anim_GroupType_NODE     = 3;
     142                 :            : const sal_Int32 mso_Anim_GroupType_MEDIA    = 4;
     143                 :            : 
     144                 :            : /* constants for fill entry in AnimationNode */
     145                 :            : const sal_Int32 mso_Anim_Fill_ALWAYS    = 1;
     146                 :            : const sal_Int32 mso_Anim_Fill_WHENOFF   = 2;
     147                 :            : const sal_Int32 mso_Anim_Fill_NEVER     = 3;
     148                 :            : 
     149                 :            : /* constants for fill entry in AnimationNode */
     150                 :            : const sal_Int32 mso_Anim_Fill_REMOVE    = 1;
     151                 :            : const sal_Int32 mso_Anim_Fill_FREEZE    = 2;
     152                 :            : const sal_Int32 mso_Anim_Fill_HOLD      = 3;
     153                 :            : 
     154                 :            : /* constants for behaviour entry in PPtAnimationNode */
     155                 :            : const sal_Int32 mso_Anim_Behaviour_FILTER   = 24;
     156                 :            : const sal_Int32 mso_Anim_Behaviour_ANIMATION= 25;
     157                 :            : 
     158                 :            : typedef ::std::map< sal_Int32, ::com::sun::star::uno::Any > PropertySetMap_t;
     159                 :            : 
     160                 :          0 : class PropertySet
     161                 :            : {
     162                 :            : public:
     163                 :            :     PropertySetMap_t maProperties;
     164                 :            : 
     165                 :            :     bool hasProperty( sal_Int32 nProperty ) const;
     166                 :            :     ::com::sun::star::uno::Any getProperty( sal_Int32 nProperty ) const;
     167                 :            : };
     168                 :            : 
     169                 :            : 
     170                 :            : enum MS_AttributeNames
     171                 :            : {
     172                 :            :     MS_PPT_X, MS_PPT_Y, MS_PPT_W, MS_PPT_H, MS_PPT_C, MS_R, MS_XSHEAR, MS_FILLCOLOR, MS_FILLTYPE,
     173                 :            :     MS_STROKECOLOR, MS_STROKEON, MS_STYLECOLOR, MS_STYLEROTATION, MS_FONTWEIGHT,
     174                 :            :     MS_STYLEUNDERLINE, MS_STYLEFONTFAMILY, MS_STYLEFONTSIZE, MS_STYLEFONTSTYLE,
     175                 :            :     MS_STYLEVISIBILITY, MS_STYLEOPACITY, MS_UNKNOWN
     176                 :            : };
     177                 :            : 
     178                 :            : struct ImplAttributeNameConversion
     179                 :            : {
     180                 :            :     MS_AttributeNames   meAttribute;
     181                 :            :     const char* mpMSName;
     182                 :            :     const char* mpAPIName;
     183                 :            : };
     184                 :            : 
     185                 :            : /** this atom is the first entry in each animation group */
     186                 :            : struct AnimationNode
     187                 :            : {
     188                 :            : public:
     189                 :            :     /** see mso_Anim_GroupType_? */
     190                 :            :     sal_Int32 mnGroupType;
     191                 :            : 
     192                 :            :     /** see mso_Anim_Restart_? */
     193                 :            :     sal_Int32 mnRestart;
     194                 :            : 
     195                 :            :     /** see mso_Anim_Fill_? */
     196                 :            :     sal_Int32 mnFill;
     197                 :            : 
     198                 :            :     /** see mso_Anim_Behaviour_? */
     199                 :            :     sal_Int32 mnNodeType;
     200                 :            : 
     201                 :            :     /** duration of this group in 1000th seconds */
     202                 :            :     sal_Int32 mnDuration;
     203                 :            : 
     204                 :            :     sal_Int32 mnU1, mnU3, mnU4;
     205                 :            : 
     206                 :            : public:
     207                 :            : 
     208                 :            :     friend SvStream& operator>>(SvStream& rIn, AnimationNode& rAtom);
     209                 :            :     friend SvStream& operator<<(SvStream& rOut, AnimationNode& rAtom);
     210                 :            : };
     211                 :            : 
     212                 :            : static const ImplAttributeNameConversion gImplConversionList[] =
     213                 :            : {
     214                 :            :     { MS_PPT_X,             "ppt_x",                        "X" },
     215                 :            :     { MS_PPT_Y,             "ppt_y",                        "Y" },
     216                 :            :     { MS_PPT_W,             "ppt_w",                        "Width" },
     217                 :            :     { MS_PPT_H,             "ppt_h",                        "Height" },
     218                 :            :     { MS_PPT_C,             "ppt_c",                        "DimColor" },
     219                 :            :     { MS_R,                 "r",                            "Rotate" },
     220                 :            :     { MS_XSHEAR,            "xshear",                       "SkewX" },
     221                 :            :     { MS_FILLCOLOR,         "fillColor",                    "FillColor" },
     222                 :            :     { MS_FILLCOLOR,         "fillcolor",                    "FillColor" },
     223                 :            :     { MS_FILLTYPE,          "fill.type",                    "FillStyle" },
     224                 :            :     { MS_STROKECOLOR,       "stroke.color",                 "LineColor" },
     225                 :            :     { MS_STROKEON,          "stroke.on",                    "LineStyle" },
     226                 :            :     { MS_STYLECOLOR,        "style.color",                  "CharColor" },
     227                 :            :     { MS_STYLEROTATION,     "style.rotation",               "Rotate" },
     228                 :            :     { MS_FONTWEIGHT,        "style.fontWeight",             "CharWeight" },
     229                 :            :     { MS_STYLEUNDERLINE,    "style.textDecorationUnderline","CharUnderline" },
     230                 :            :     { MS_STYLEFONTFAMILY,   "style.fontFamily",             "CharFontName" },
     231                 :            :     { MS_STYLEFONTSIZE,     "style.fontSize",               "CharHeight" },
     232                 :            :     { MS_STYLEFONTSTYLE,    "style.fontStyle",              "CharPosture" },
     233                 :            :     { MS_STYLEVISIBILITY,   "style.visibility",             "Visibility" },
     234                 :            :     { MS_STYLEOPACITY,      "style.opacity",                "Opacity" },
     235                 :            :     { MS_UNKNOWN, NULL, NULL }
     236                 :            : };
     237                 :            : 
     238                 :            : struct transition
     239                 :            : {
     240                 :            :     const sal_Char* mpName;
     241                 :            :     sal_Int16 mnType;
     242                 :            :     sal_Int16 mnSubType;
     243                 :            :     sal_Bool mbDirection; // true: default geometric direction
     244                 :            : 
     245                 :            :     static const transition* find( const rtl::OUString& rName );
     246                 :            :     static const sal_Char* find( const sal_Int16 mnType, const sal_Int16 mnSubType, const sal_Bool bDirection );
     247                 :            : };
     248                 :            : static const transition gTransitions[] =
     249                 :            : {
     250                 :            : { "wipe(up)", ::com::sun::star::animations::TransitionType::BARWIPE, ::com::sun::star::animations::TransitionSubType::TOPTOBOTTOM, sal_True },
     251                 :            : { "wipe(right)", ::com::sun::star::animations::TransitionType::BARWIPE, ::com::sun::star::animations::TransitionSubType::LEFTTORIGHT, sal_False },
     252                 :            : { "wipe(left)", ::com::sun::star::animations::TransitionType::BARWIPE, ::com::sun::star::animations::TransitionSubType::LEFTTORIGHT, sal_True },
     253                 :            : { "wipe(down)", ::com::sun::star::animations::TransitionType::BARWIPE, ::com::sun::star::animations::TransitionSubType::TOPTOBOTTOM, sal_False },
     254                 :            : { "wheel(1)", ::com::sun::star::animations::TransitionType::PINWHEELWIPE, ::com::sun::star::animations::TransitionSubType::ONEBLADE, sal_True },
     255                 :            : { "wheel(2)", ::com::sun::star::animations::TransitionType::PINWHEELWIPE, ::com::sun::star::animations::TransitionSubType::TWOBLADEVERTICAL, sal_True },
     256                 :            : { "wheel(3)", ::com::sun::star::animations::TransitionType::PINWHEELWIPE, ::com::sun::star::animations::TransitionSubType::THREEBLADE, sal_True },
     257                 :            : { "wheel(4)", ::com::sun::star::animations::TransitionType::PINWHEELWIPE, ::com::sun::star::animations::TransitionSubType::FOURBLADE, sal_True },
     258                 :            : { "wheel(8)", ::com::sun::star::animations::TransitionType::PINWHEELWIPE, ::com::sun::star::animations::TransitionSubType::EIGHTBLADE, sal_True },
     259                 :            : { "strips(downLeft)", ::com::sun::star::animations::TransitionType::WATERFALLWIPE, ::com::sun::star::animations::TransitionSubType::HORIZONTALRIGHT, sal_True },
     260                 :            : { "strips(upLeft)", ::com::sun::star::animations::TransitionType::WATERFALLWIPE, ::com::sun::star::animations::TransitionSubType::HORIZONTALLEFT, sal_False },
     261                 :            : { "strips(downRight)", ::com::sun::star::animations::TransitionType::WATERFALLWIPE, ::com::sun::star::animations::TransitionSubType::HORIZONTALLEFT, sal_True },
     262                 :            : { "strips(upRight)", ::com::sun::star::animations::TransitionType::WATERFALLWIPE, ::com::sun::star::animations::TransitionSubType::HORIZONTALRIGHT, sal_False },
     263                 :            : { "barn(inVertical)", ::com::sun::star::animations::TransitionType::BARNDOORWIPE, ::com::sun::star::animations::TransitionSubType::VERTICAL, sal_False },
     264                 :            : { "barn(outVertical)", ::com::sun::star::animations::TransitionType::BARNDOORWIPE, ::com::sun::star::animations::TransitionSubType::VERTICAL, sal_True },
     265                 :            : { "barn(inHorizontal)", ::com::sun::star::animations::TransitionType::BARNDOORWIPE, ::com::sun::star::animations::TransitionSubType::HORIZONTAL, sal_False },
     266                 :            : { "barn(outHorizontal)", ::com::sun::star::animations::TransitionType::BARNDOORWIPE, ::com::sun::star::animations::TransitionSubType::HORIZONTAL, sal_True },
     267                 :            : { "randombar(vertical)", ::com::sun::star::animations::TransitionType::RANDOMBARWIPE, ::com::sun::star::animations::TransitionSubType::VERTICAL, sal_True},
     268                 :            : { "randombar(horizontal)", ::com::sun::star::animations::TransitionType::RANDOMBARWIPE, ::com::sun::star::animations::TransitionSubType::HORIZONTAL, sal_True },
     269                 :            : { "checkerboard(down)", ::com::sun::star::animations::TransitionType::CHECKERBOARDWIPE, ::com::sun::star::animations::TransitionSubType::DOWN, sal_True},
     270                 :            : { "checkerboard(across)", ::com::sun::star::animations::TransitionType::CHECKERBOARDWIPE, ::com::sun::star::animations::TransitionSubType::ACROSS, sal_True },
     271                 :            : { "plus(out)", ::com::sun::star::animations::TransitionType::FOURBOXWIPE, ::com::sun::star::animations::TransitionSubType::CORNERSIN, sal_False },
     272                 :            : { "plus(in)", ::com::sun::star::animations::TransitionType::FOURBOXWIPE, ::com::sun::star::animations::TransitionSubType::CORNERSIN, sal_True },
     273                 :            : { "diamond(out)", ::com::sun::star::animations::TransitionType::IRISWIPE, ::com::sun::star::animations::TransitionSubType::DIAMOND, sal_True },
     274                 :            : { "diamond(in)", ::com::sun::star::animations::TransitionType::IRISWIPE, ::com::sun::star::animations::TransitionSubType::DIAMOND, sal_False },
     275                 :            : { "circle(out)", ::com::sun::star::animations::TransitionType::ELLIPSEWIPE, ::com::sun::star::animations::TransitionSubType::HORIZONTAL, sal_True },
     276                 :            : { "circle(in)", ::com::sun::star::animations::TransitionType::ELLIPSEWIPE, ::com::sun::star::animations::TransitionSubType::HORIZONTAL, sal_False },
     277                 :            : { "box(out)", ::com::sun::star::animations::TransitionType::IRISWIPE, ::com::sun::star::animations::TransitionSubType::RECTANGLE, sal_True },
     278                 :            : { "box(in)", ::com::sun::star::animations::TransitionType::IRISWIPE, ::com::sun::star::animations::TransitionSubType::RECTANGLE, sal_False },
     279                 :            : { "wedge", ::com::sun::star::animations::TransitionType::FANWIPE, ::com::sun::star::animations::TransitionSubType::CENTERTOP, sal_True },
     280                 :            : { "blinds(vertical)", ::com::sun::star::animations::TransitionType::BLINDSWIPE, ::com::sun::star::animations::TransitionSubType::VERTICAL, sal_True },
     281                 :            : { "blinds(horizontal)", ::com::sun::star::animations::TransitionType::BLINDSWIPE, ::com::sun::star::animations::TransitionSubType::HORIZONTAL, sal_True },
     282                 :            : { "fade", ::com::sun::star::animations::TransitionType::FADE, ::com::sun::star::animations::TransitionSubType::CROSSFADE, sal_True },
     283                 :            : { "slide(fromTop)", ::com::sun::star::animations::TransitionType::SLIDEWIPE, ::com::sun::star::animations::TransitionSubType::FROMTOP, sal_True },
     284                 :            : { "slide(fromRight)", ::com::sun::star::animations::TransitionType::SLIDEWIPE, ::com::sun::star::animations::TransitionSubType::FROMRIGHT, sal_True },
     285                 :            : { "slide(fromLeft)", ::com::sun::star::animations::TransitionType::SLIDEWIPE, ::com::sun::star::animations::TransitionSubType::FROMLEFT, sal_True },
     286                 :            : { "slide(fromBottom)", ::com::sun::star::animations::TransitionType::SLIDEWIPE, ::com::sun::star::animations::TransitionSubType::FROMBOTTOM, sal_True },
     287                 :            : { "dissolve", ::com::sun::star::animations::TransitionType::DISSOLVE, ::com::sun::star::animations::TransitionSubType::DEFAULT, sal_True },
     288                 :            : { "image", ::com::sun::star::animations::TransitionType::DISSOLVE, ::com::sun::star::animations::TransitionSubType::DEFAULT, sal_True }, // TODO
     289                 :            : { NULL, 0, 0, sal_False }
     290                 :            : };
     291                 :            : 
     292                 :            : struct convert_subtype
     293                 :            : {
     294                 :            :     sal_Int32 mnID;
     295                 :            :     const sal_Char* mpStrSubType;
     296                 :            : };
     297                 :            : static const convert_subtype gConvertArray[] =
     298                 :            : {
     299                 :            :     // fly in
     300                 :            :     {   1, "from-top" },
     301                 :            :     {   2, "from-right" },
     302                 :            :     {   3, "from-top-right" },
     303                 :            :     {   4, "from-bottom" },
     304                 :            :     {   5, "horizontal" },
     305                 :            :     {   6, "from-bottom-right" },
     306                 :            :     {   8, "from-left" },
     307                 :            :     {   9, "from-top-left" },
     308                 :            :     {  10, "vertical" },
     309                 :            :     {  12, "from-bottom-left" },
     310                 :            :     {  16, "in" },
     311                 :            :     {  21, "vertical-in" },
     312                 :            :     {  26, "horizontal-in" },
     313                 :            :     {  32, "out" },
     314                 :            :     {  36, "out-from-screen-center" },
     315                 :            :     {  37, "vertical-out" },
     316                 :            :     {  42, "horizontal-out" },
     317                 :            :     {  272, "in-slightly" },
     318                 :            :     {  288, "out-slightly" },
     319                 :            :     {  528, "in-from-screen-center" },
     320                 :            :     {  0, 0 }
     321                 :            : };
     322                 :            : 
     323                 :            : struct preset_maping
     324                 :            : {
     325                 :            :     sal_Int32   mnPresetClass;
     326                 :            :     sal_Int32   mnPresetId;
     327                 :            :     const sal_Char* mpStrPresetId;
     328                 :            : };
     329                 :            : 
     330                 :            : static const preset_maping gPresetMaping[] =
     331                 :            : {
     332                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 1    ,"ooo-entrance-appear" },
     333                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 2    ,"ooo-entrance-fly-in" },
     334                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 3    ,"ooo-entrance-venetian-blinds" },
     335                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 4    ,"ooo-entrance-box" },
     336                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 5    ,"ooo-entrance-checkerboard" },
     337                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 6    ,"ooo-entrance-circle" },
     338                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 7    ,"ooo-entrance-fly-in-slow" },
     339                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 8    ,"ooo-entrance-diamond" },
     340                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 9    ,"ooo-entrance-dissolve-in" },
     341                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 10   ,"ooo-entrance-fade-in" },
     342                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 11   ,"ooo-entrance-flash-once" },
     343                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 12   ,"ooo-entrance-peek-in" },
     344                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 13   ,"ooo-entrance-plus" },
     345                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 14   ,"ooo-entrance-random-bars" },
     346                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 15   ,"ooo-entrance-spiral-in" },
     347                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 16   ,"ooo-entrance-split" },
     348                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 17   ,"ooo-entrance-stretchy" },
     349                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 18   ,"ooo-entrance-diagonal-squares" },
     350                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 19   ,"ooo-entrance-swivel" },
     351                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 20   ,"ooo-entrance-wedge" },
     352                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 21   ,"ooo-entrance-wheel" },
     353                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 22   ,"ooo-entrance-wipe" },
     354                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 23   ,"ooo-entrance-zoom" },
     355                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 24   ,"ooo-entrance-random" },
     356                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 25   ,"ooo-entrance-boomerang" },
     357                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 26   ,"ooo-entrance-bounce" },
     358                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 27   ,"ooo-entrance-colored-lettering" },
     359                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 28   ,"ooo-entrance-movie-credits" },
     360                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 29   ,"ooo-entrance-ease-in" },
     361                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 30   ,"ooo-entrance-float" },
     362                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 31   ,"ooo-entrance-turn-and-grow" },
     363                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 34   ,"ooo-entrance-breaks" },
     364                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 35   ,"ooo-entrance-pinwheel" },
     365                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 37   ,"ooo-entrance-rise-up" },
     366                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 38   ,"ooo-entrance-falling-in" },
     367                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 39   ,"ooo-entrance-thread" },
     368                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 40   ,"ooo-entrance-unfold" },
     369                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 41   ,"ooo-entrance-whip" },
     370                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 42   ,"ooo-entrance-ascend" },
     371                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 43   ,"ooo-entrance-center-revolve" },
     372                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 45   ,"ooo-entrance-fade-in-and-swivel" },
     373                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 47   ,"ooo-entrance-descend" },
     374                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 48   ,"ooo-entrance-sling" },
     375                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 49   ,"ooo-entrance-spin-in" },
     376                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 50   ,"ooo-entrance-compress" },
     377                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 51   ,"ooo-entrance-magnify" },
     378                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 52   ,"ooo-entrance-curve-up" },
     379                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 53   ,"ooo-entrance-fade-in-and-zoom" },
     380                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 54   ,"ooo-entrance-glide" },
     381                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 55   ,"ooo-entrance-expand" },
     382                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 56   ,"ooo-entrance-flip" },
     383                 :            :     { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 58   ,"ooo-entrance-fold" },
     384                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 1    ,"ooo-emphasis-fill-color" },
     385                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 2    ,"ooo-emphasis-font" },
     386                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 3    ,"ooo-emphasis-font-color" },
     387                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 4    ,"ooo-emphasis-font-size" },
     388                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 5    ,"ooo-emphasis-font-style" },
     389                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 6    ,"ooo-emphasis-grow-and-shrink" },
     390                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 7    ,"ooo-emphasis-line-color" },
     391                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 8    ,"ooo-emphasis-spin" },
     392                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 9    ,"ooo-emphasis-transparency" },
     393                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 10   ,"ooo-emphasis-bold-flash" },
     394                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 14   ,"ooo-emphasis-blast" },
     395                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 15   ,"ooo-emphasis-bold-reveal" },
     396                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 16   ,"ooo-emphasis-color-over-by-word" },
     397                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 18   ,"ooo-emphasis-reveal-underline" },
     398                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 19   ,"ooo-emphasis-color-blend" },
     399                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 20   ,"ooo-emphasis-color-over-by-letter" },
     400                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 21   ,"ooo-emphasis-complementary-color" },
     401                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 22   ,"ooo-emphasis-complementary-color-2" },
     402                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 23   ,"ooo-emphasis-contrasting-color" },
     403                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 24   ,"ooo-emphasis-darken" },
     404                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 25   ,"ooo-emphasis-desaturate" },
     405                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 26   ,"ooo-emphasis-flash-bulb" },
     406                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 27   ,"ooo-emphasis-flicker" },
     407                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 28   ,"ooo-emphasis-grow-with-color" },
     408                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 30   ,"ooo-emphasis-lighten" },
     409                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 31   ,"ooo-emphasis-style-emphasis" },
     410                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 32   ,"ooo-emphasis-teeter" },
     411                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 33   ,"ooo-emphasis-vertical-highlight" },
     412                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 34   ,"ooo-emphasis-wave" },
     413                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 35   ,"ooo-emphasis-blink" },
     414                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 36   ,"ooo-emphasis-shimmer" },
     415                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 1        ,"ooo-exit-disappear" },
     416                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 2        ,"ooo-exit-fly-out" },
     417                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 3        ,"ooo-exit-venetian-blinds" },
     418                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 4        ,"ooo-exit-box" },
     419                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 5        ,"ooo-exit-checkerboard" },
     420                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 6        ,"ooo-exit-circle" },
     421                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 7        ,"ooo-exit-crawl-out" },
     422                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 8        ,"ooo-exit-diamond" },
     423                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 9        ,"ooo-exit-dissolve" },
     424                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 10       ,"ooo-exit-fade-out" },
     425                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 11       ,"ooo-exit-flash-once" },
     426                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 12       ,"ooo-exit-peek-out" },
     427                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 13       ,"ooo-exit-plus" },
     428                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 14       ,"ooo-exit-random-bars" },
     429                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 15       ,"ooo-exit-spiral-out" },
     430                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 16       ,"ooo-exit-split" },
     431                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 17       ,"ooo-exit-collapse" },
     432                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 18       ,"ooo-exit-diagonal-squares" },
     433                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 19       ,"ooo-exit-swivel" },
     434                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 20       ,"ooo-exit-wedge" },
     435                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 21       ,"ooo-exit-wheel" },
     436                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 22       ,"ooo-exit-wipe" },
     437                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 23       ,"ooo-exit-zoom" },
     438                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 24       ,"ooo-exit-random" },
     439                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 25       ,"ooo-exit-boomerang" },
     440                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 26       ,"ooo-exit-bounce" },
     441                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 27       ,"ooo-exit-colored-lettering" },
     442                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 28       ,"ooo-exit-movie-credits" },
     443                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 29       ,"ooo-exit-ease-out" },
     444                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 30       ,"ooo-exit-float" },
     445                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 31       ,"ooo-exit-turn-and-grow" },
     446                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 34       ,"ooo-exit-breaks" },
     447                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 35       ,"ooo-exit-pinwheel" },
     448                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 37       ,"ooo-exit-sink-down" },
     449                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 38       ,"ooo-exit-swish" },
     450                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 39       ,"ooo-exit-thread" },
     451                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 40       ,"ooo-exit-unfold" },
     452                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 41       ,"ooo-exit-whip" },
     453                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 42       ,"ooo-exit-descend" },
     454                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 43       ,"ooo-exit-center-revolve" },
     455                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 45       ,"ooo-exit-fade-out-and-swivel" },
     456                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 47       ,"ooo-exit-ascend" },
     457                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 48       ,"ooo-exit-sling" },
     458                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 53       ,"ooo-exit-fade-out-and-zoom" },
     459                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 55       ,"ooo-exit-contract" },
     460                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 49       ,"ooo-exit-spin-out" },
     461                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 50       ,"ooo-exit-stretchy" },
     462                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 51       ,"ooo-exit-magnify" },
     463                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 52       ,"ooo-exit-curve-down" },
     464                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 54       ,"ooo-exit-glide" },
     465                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 56       ,"ooo-exit-flip" },
     466                 :            :     { ::com::sun::star::presentation::EffectPresetClass::EXIT, 58       ,"ooo-exit-fold" },
     467                 :            : 
     468                 :            : 
     469                 :            : 
     470                 :            : 
     471                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 16     ,"ooo-motionpath-4-point-star" },
     472                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 5      ,"ooo-motionpath-5-point-star" },
     473                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 11     ,"ooo-motionpath-6-point-star" },
     474                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 17     ,"ooo-motionpath-8-point-star" },
     475                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 1      ,"ooo-motionpath-circle" },
     476                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 6      ,"ooo-motionpath-crescent-moon" },
     477                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 3      ,"ooo-motionpath-diamond" },
     478                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 13     ,"ooo-motionpath-equal-triangle" },
     479                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 12     ,"ooo-motionpath-oval" },
     480                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 9      ,"ooo-motionpath-heart" },
     481                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 4      ,"ooo-motionpath-hexagon" },
     482                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 10     ,"ooo-motionpath-octagon" },
     483                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 14     ,"ooo-motionpath-parallelogram" },
     484                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 15     ,"ooo-motionpath-pentagon" },
     485                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 2      ,"ooo-motionpath-right-triangle" },
     486                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 7      ,"ooo-motionpath-square" },
     487                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 18     ,"ooo-motionpath-teardrop" },
     488                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 8      ,"ooo-motionpath-trapezoid" },
     489                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 37     ,"ooo-motionpath-arc-down" },
     490                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 51     ,"ooo-motionpath-arc-left" },
     491                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 58     ,"ooo-motionpath-arc-right" },
     492                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 44     ,"ooo-motionpath-arc-up" },
     493                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 41     ,"ooo-motionpath-bounce-left" },
     494                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 54     ,"ooo-motionpath-bounce-right" },
     495                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 48     ,"ooo-motionpath-curvy-left" },
     496                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 61     ,"ooo-motionpath-curvy-right" },
     497                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 60     ,"ooo-motionpath-decaying-wave" },
     498                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 49     ,"ooo-motionpath-diagonal-down-right" },
     499                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 56     ,"ooo-motionpath-diagonal-up-right" },
     500                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 42     ,"ooo-motionpath-down" },
     501                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 52     ,"ooo-motionpath-funnel" },
     502                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 53     ,"ooo-motionpath-spring" },
     503                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 62     ,"ooo-motionpath-stairs-down" },
     504                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 50     ,"ooo-motionpath-turn-down" },
     505                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 36     ,"ooo-motionpath-turn-down-right" },
     506                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 43     ,"ooo-motionpath-turn-up" },
     507                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 57     ,"ooo-motionpath-turn-up-right" },
     508                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 64     ,"ooo-motionpath-up" },
     509                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 47     ,"ooo-motionpath-wave" },
     510                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 38     ,"ooo-motionpath-zigzag" },
     511                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 31     ,"ooo-motionpath-bean" },
     512                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 25     ,"ooo-motionpath-buzz-saw" },
     513                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 20     ,"ooo-motionpath-curved-square" },
     514                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 21     ,"ooo-motionpath-curved-x" },
     515                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 23     ,"ooo-motionpath-curvy-star" },
     516                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 28     ,"ooo-motionpath-figure-8-four" },
     517                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 26     ,"ooo-motionpath-horizontal-figure-8" },
     518                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 34     ,"ooo-motionpath-inverted-square" },
     519                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 33     ,"ooo-motionpath-inverted-triangle" },
     520                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 24     ,"ooo-motionpath-loop-de-loop" },
     521                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 29     ,"ooo-motionpath-neutron" },
     522                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 27     ,"ooo-motionpath-peanut" },
     523                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 32     ,"ooo-motionpath-clover" },
     524                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 19     ,"ooo-motionpath-pointy-star" },
     525                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 30     ,"ooo-motionpath-swoosh" },
     526                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 22     ,"ooo-motionpath-vertical-figure-8" },
     527                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 35     ,"ooo-motionpath-left" },
     528                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 63     ,"ooo-motionpath-right" },
     529                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 55     ,"ooo-motionpath-spiral-left" },
     530                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 46     ,"ooo-motionpath-spiral-right" },
     531                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 40     ,"ooo-motionpath-sine-wave" },
     532                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 59     ,"ooo-motionpath-s-curve-1" },
     533                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 39     ,"ooo-motionpath-s-curve-2" },
     534                 :            :     { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 45     ,"ooo-motionpath-heartbeat" },
     535                 :            : 
     536                 :            : 
     537                 :            :     { 0,0,0 }
     538                 :            : };
     539                 :            : 
     540                 :            : } // namespace ppt
     541                 :            : 
     542                 :            : #endif
     543                 :            : 
     544                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10