summaryrefslogtreecommitdiff
path: root/sd/source/ui/animations
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2009-01-06 08:40:41 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2009-01-06 08:40:41 +0000
commit5d06990ec5f71b3c6c462ca55f46ec0a4d2ccd96 (patch)
treeff4ef820dd70bca6de20f2dc2e6b28538a0136f1 /sd/source/ui/animations
parent4774bcff020f1b9bf79141f6d7fb630fa2b724cd (diff)
CWS-TOOLING: integrate CWS impress147
2008-12-16 15:51:15 +0100 wg r265553 : i96805 2008-12-03 12:32:33 +0100 wg r264766 : 96805 2008-12-03 11:40:11 +0100 wg r264761 : 96805 2008-11-20 15:39:56 +0100 cl r264062 : migrated cws from cvs to svn 2008-11-19 14:16:40 +0100 cl r263992 : CWS-TOOLING: rebase CWS impress147 to trunk@263288 (milestone: DEV300:m35)
Diffstat (limited to 'sd/source/ui/animations')
-rw-r--r--sd/source/ui/animations/CustomAnimation.hrc11
-rw-r--r--sd/source/ui/animations/CustomAnimationCreateDialog.cxx8
-rw-r--r--sd/source/ui/animations/CustomAnimationCreateDialog.hxx4
-rw-r--r--sd/source/ui/animations/CustomAnimationCreateDialog.src8
4 files changed, 22 insertions, 9 deletions
diff --git a/sd/source/ui/animations/CustomAnimation.hrc b/sd/source/ui/animations/CustomAnimation.hrc
index 3e3381ac1c30..f2858501aea1 100644
--- a/sd/source/ui/animations/CustomAnimation.hrc
+++ b/sd/source/ui/animations/CustomAnimation.hrc
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: CustomAnimation.hrc,v $
- * $Revision: 1.5 $
+ * $Revision: 1.5.74.1 $
*
* This file is part of OpenOffice.org.
*
@@ -52,10 +52,11 @@
#define RID_TP_CUSTOMANIMATION_EMPHASIS RID_CUSTOMANIMATION_START+5
#define RID_TP_CUSTOMANIMATION_EXIT RID_CUSTOMANIMATION_START+6
#define RID_TP_CUSTOMANIMATION_MOTIONPATH RID_CUSTOMANIMATION_START+7
-#define RID_CUSTOMANIMATION_ROTATION_POPUP RID_CUSTOMANIMATION_START+8
-#define RID_CUSTOMANIMATION_FONTSIZE_POPUP RID_CUSTOMANIMATION_START+9
-#define RID_CUSTOMANIMATION_SCALE_POPUP RID_CUSTOMANIMATION_START+10
-#define RID_CUSTOMANIMATION_FONTSTYLE_POPUP RID_CUSTOMANIMATION_START+11
+#define RID_TP_CUSTOMANIMATION_MISCEFFECTS RID_CUSTOMANIMATION_START+8
+#define RID_CUSTOMANIMATION_ROTATION_POPUP RID_CUSTOMANIMATION_START+9
+#define RID_CUSTOMANIMATION_FONTSIZE_POPUP RID_CUSTOMANIMATION_START+10
+#define RID_CUSTOMANIMATION_SCALE_POPUP RID_CUSTOMANIMATION_START+11
+#define RID_CUSTOMANIMATION_FONTSTYLE_POPUP RID_CUSTOMANIMATION_START+12
#define IMG_CUSTOMANIMATION_ON_CLICK RID_CUSTOMANIMATION_START+0
#define IMG_CUSTOMANIMATION_ON_CLICK_H RID_CUSTOMANIMATION_START+1
diff --git a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx
index 24b0bf7d2fcb..cdb894984edd 100644
--- a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx
+++ b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: CustomAnimationCreateDialog.cxx,v $
- * $Revision: 1.14 $
+ * $Revision: 1.14.74.1 $
*
* This file is part of OpenOffice.org.
*
@@ -86,6 +86,7 @@ const int ENTRANCE = 0;
const int EMPHASIS = 1;
const int EXIT = 2;
const int MOTIONPATH = 3;
+const int MISCEFFECTS = 4;
extern void fillDurationComboBox( ComboBox* pBox );
@@ -555,6 +556,9 @@ CustomAnimationCreateDialog::CustomAnimationCreateDialog( Window* pParent, Custo
mpTabPages[MOTIONPATH] = new CustomAnimationCreateTabPage( mpTabControl, this, MOTIONPATH, rPresets.getMotionPathsPresets(), bHasText );
mpTabPages[MOTIONPATH]->SetHelpId( HID_SD_CUSTOMANIMATIONDIALOG_MOTIONPATH );
mpTabControl->SetTabPage( RID_TP_CUSTOMANIMATION_MOTIONPATH, mpTabPages[MOTIONPATH] );
+ mpTabPages[MISCEFFECTS] = new CustomAnimationCreateTabPage( mpTabControl, this, MISCEFFECTS, rPresets.getMiscPresets(), bHasText );
+ mpTabPages[MISCEFFECTS]->SetHelpId( HID_SD_CUSTOMANIMATIONDIALOG_MISCEFFECTS );
+ mpTabControl->SetTabPage( RID_TP_CUSTOMANIMATION_MISCEFFECTS, mpTabPages[MISCEFFECTS] );
getCurrentPage()->setDuration( mfDuration );
getCurrentPage()->setIsPreview( mbIsPreview );
@@ -589,6 +593,7 @@ CustomAnimationCreateDialog::~CustomAnimationCreateDialog()
delete mpTabPages[EMPHASIS];
delete mpTabPages[EXIT];
delete mpTabPages[MOTIONPATH];
+ delete mpTabPages[MISCEFFECTS];
delete mpTabControl;
delete mpOKButton;
@@ -603,6 +608,7 @@ CustomAnimationCreateTabPage* CustomAnimationCreateDialog::getCurrentPage() cons
case RID_TP_CUSTOMANIMATION_ENTRANCE: return mpTabPages[ENTRANCE];
case RID_TP_CUSTOMANIMATION_EMPHASIS: return mpTabPages[EMPHASIS];
case RID_TP_CUSTOMANIMATION_EXIT: return mpTabPages[EXIT];
+ case RID_TP_CUSTOMANIMATION_MISCEFFECTS:return mpTabPages[MISCEFFECTS];
//case RID_TP_CUSTOMANIMATION_MOTIONPATH:
default:
return mpTabPages[MOTIONPATH];
diff --git a/sd/source/ui/animations/CustomAnimationCreateDialog.hxx b/sd/source/ui/animations/CustomAnimationCreateDialog.hxx
index 0cd7dd8b380b..9fcb4107a0fe 100644
--- a/sd/source/ui/animations/CustomAnimationCreateDialog.hxx
+++ b/sd/source/ui/animations/CustomAnimationCreateDialog.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: CustomAnimationCreateDialog.hxx,v $
- * $Revision: 1.9 $
+ * $Revision: 1.9.74.1 $
*
* This file is part of OpenOffice.org.
*
@@ -80,7 +80,7 @@ private:
CancelButton* mpCancelButton;
HelpButton* mpHelpButton;
- CustomAnimationCreateTabPage* mpTabPages[4];
+ CustomAnimationCreateTabPage* mpTabPages[5];
};
}
diff --git a/sd/source/ui/animations/CustomAnimationCreateDialog.src b/sd/source/ui/animations/CustomAnimationCreateDialog.src
index 48347ffff36c..294466189fc7 100644
--- a/sd/source/ui/animations/CustomAnimationCreateDialog.src
+++ b/sd/source/ui/animations/CustomAnimationCreateDialog.src
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: CustomAnimationCreateDialog.src,v $
- * $Revision: 1.8 $
+ * $Revision: 1.8.74.1 $
*
* This file is part of OpenOffice.org.
*
@@ -71,6 +71,12 @@ TabDialog DLG_CUSTOMANIMATION_CREATE
Identifier = RID_TP_CUSTOMANIMATION_MOTIONPATH;
Text [ en-US ] = "Motion Paths";
};
+
+ PageItem
+ {
+ Identifier = RID_TP_CUSTOMANIMATION_MISCEFFECTS;
+ Text [ en-US ] = "Misc Effects";
+ };
};
};
OKButton 1