1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 28#include "app.hrc" 29#include "helpids.h" 30#include "tpaction.hrc" 31#include <svtools/controldims.hrc> 32 33TabPage TP_ANIMATION 34{ 35 HelpID = CMD_SID_ANIMATION_EFFECTS ; 36 Pos = MAP_APPFONT ( 0 , 0 ) ; 37 Size = MAP_APPFONT ( 260 , 164 ) ; 38 Hide = TRUE; 39 // always visible --------------------------------------------------------------------- 40#define MA_ACTIONLB_TOP (RSC_SP_DLG_INNERBORDER_TOP + (2*RSC_CD_PUSHBUTTON_HEIGHT + RSC_SP_CTRL_GROUP_Y - RSC_CD_DROPDOWN_HEIGHT) / 2) 41#define MA_ACTIONLB_LEFT (103) 42 FixedText FT_ACTION 43 { 44 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT , MA_ACTIONLB_TOP + 1 ) ; 45 Size = MAP_APPFONT ( 86 , 10 ) ; 46 Hide = TRUE ; 47 Text [ en-US ] = "Action at mouse click" ; 48 }; 49 ListBox LB_ACTION 50 { 51 HelpID = "sd:ListBox:TP_ANIMATION:LB_ACTION"; 52 Border = TRUE ; 53 Pos = MAP_APPFONT ( MA_ACTIONLB_LEFT , MA_ACTIONLB_TOP ) ; 54 Size = MAP_APPFONT ( 150 - RSC_SP_GRP_INNERBORDER_RIGHT , 79 ) ; 55 Hide = TRUE ; 56 TabStop = TRUE ; 57 DropDown = TRUE ; 58 }; 59 60 // sometimes visible --------------------------------------------------------------------- 61 62#define MA_Y0 (MA_ACTIONLB_TOP + RSC_CD_DROPDOWN_HEIGHT + RSC_SP_FLGR_SPACE_Y + RSC_SP_FLGR_INNERBORDER_BOTTOM) 63#define MA_Y1 (MA_Y0 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP) 64#define MA_Y2 (MA_Y1 + RSC_CD_DROPDOWN_HEIGHT + RSC_SP_CTRL_GROUP_Y) 65#define MA_Y3 (MA_Y2 + 3*(RSC_CD_RADIOBUTTON_HEIGHT + RSC_SP_CTRL_GROUP_Y)) 66#define MA_Y4 (MA_Y3 + RSC_CD_DROPDOWN_HEIGHT + RSC_SP_CTRL_GROUP_Y) 67 68 Edit EDT_SOUND 69 { 70 HelpID = "sd:Edit:TP_ANIMATION:EDT_SOUND"; 71 Border = TRUE ; 72 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT + RSC_SP_CHK_TEXTINDENT , MA_Y4 + RSC_CD_CHECKBOX_HEIGHT + 1 ) ; 73 Size = MAP_APPFONT ( 247 - 65 - 10 - (RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT + RSC_SP_CHK_TEXTINDENT) , 12 ) ; 74 TabStop = TRUE ; 75 Hide = TRUE ; 76 }; 77 78 // Es ist schon wichtig, da� Durchsuchen (search) und Suchen (seek/find) unter- 79 // schiedlich heissen, da sie eben auch eine unterschiedliche Bedeutung haben 80 PushButton BTN_SEARCH 81 { 82 HelpID = "sd:PushButton:TP_ANIMATION:BTN_SEARCH"; 83 Pos = MAP_APPFONT ( 247 - 65, MA_Y4 + RSC_CD_CHECKBOX_HEIGHT ) ; 84 Size = MAP_APPFONT ( 65 , 14 ) ; 85 TabStop = TRUE ; 86 Hide = TRUE ; 87 Text [ en-US ] = "~Browse..." ; 88 }; 89 90 //------------------------------------ 91 // Goto page/object/document stuff 92 FixedText FT_TREE 93 { 94 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT , MA_Y0 + 4 ); 95 Size = MAP_APPFONT ( 86 , 10 ) ; 96 Hide = TRUE ; 97 }; 98 Control LB_TREE 99 { 100 HelpID = HID_CTL_ACTION_DLG_1 ; 101 Border = TRUE ; 102 Pos = MAP_APPFONT ( MA_ACTIONLB_LEFT, MA_Y0 + 3 ) ; 103 Size = MAP_APPFONT ( 150 - RSC_SP_GRP_INNERBORDER_RIGHT , 77 ) ; 104 TabStop = TRUE ; 105 Hide = TRUE ; 106 }; 107 Control LB_TREE_DOCUMENT 108 { 109 HelpID = HID_CTL_ACTION_DLG_2 ; 110 Border = TRUE ; 111 Pos = MAP_APPFONT ( MA_ACTIONLB_LEFT, MA_Y0 + 3 ) ; 112 Size = MAP_APPFONT ( 150 - RSC_SP_GRP_INNERBORDER_RIGHT , 77 ) ; 113 TabStop = TRUE ; 114 Hide = TRUE ; 115 }; 116 ListBox LB_OLE_ACTION 117 { 118 HelpID = "sd:ListBox:TP_ANIMATION:LB_OLE_ACTION"; 119 Border = TRUE ; 120 Pos = MAP_APPFONT ( MA_ACTIONLB_LEFT, MA_Y0 + 3 ) ; 121 Size = MAP_APPFONT ( 150 - RSC_SP_GRP_INNERBORDER_RIGHT , 77 ) ; 122 TabStop = TRUE ; 123 Hide = TRUE ; 124 }; 125 FixedLine FL_SEPARATOR 126 { 127 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT , MA_Y1 + 63 + RSC_SP_FLGR_SPACE_Y + RSC_SP_FLGR_INNERBORDER_BOTTOM + 6 ) ; 128 Size = MAP_APPFONT ( 247 , 8 ) ; 129 Hide = TRUE ; 130 }; 131 Edit EDT_BOOKMARK 132 { 133 HelpID = "sd:Edit:TP_ANIMATION:EDT_BOOKMARK"; 134 Border = TRUE ; 135 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT , MA_Y4 + RSC_CD_CHECKBOX_HEIGHT + 1 ) ; 136 Size = MAP_APPFONT ( 247 - 65 - 10 - (RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT) , 12 ) ; 137 TabStop = TRUE ; 138 Hide = TRUE ; 139 }; 140 Edit EDT_DOCUMENT 141 { 142 HelpID = "sd:Edit:TP_ANIMATION:EDT_DOCUMENT"; 143 Border = TRUE ; 144 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT , MA_Y4 + RSC_CD_CHECKBOX_HEIGHT + 1 ) ; 145 Size = MAP_APPFONT ( 247 - 65 - 10 - (RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT) , 12 ) ; 146 TabStop = TRUE ; 147 Hide = TRUE ; 148 }; 149 Edit EDT_PROGRAM 150 { 151 HelpID = "sd:Edit:TP_ANIMATION:EDT_PROGRAM"; 152 Border = TRUE ; 153 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT , MA_Y4 + RSC_CD_CHECKBOX_HEIGHT + 1 ) ; 154 Size = MAP_APPFONT ( 247 - 65 - 10 - (RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT) , 12 ) ; 155 TabStop = TRUE ; 156 Hide = TRUE ; 157 }; 158 Edit EDT_MACRO 159 { 160 HelpID = "sd:Edit:TP_ANIMATION:EDT_MACRO"; 161 Border = TRUE ; 162 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT , MA_Y4 + RSC_CD_CHECKBOX_HEIGHT + 1 ) ; 163 Size = MAP_APPFONT ( 247 - 65 - 10 - (RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT) , 12 ) ; 164 TabStop = TRUE ; 165 Hide = TRUE ; 166 }; 167 PushButton BTN_SEEK 168 { 169 HelpID = "sd:PushButton:TP_ANIMATION:BTN_SEEK"; 170 Pos = MAP_APPFONT ( 247 - 65, MA_Y4 + RSC_CD_CHECKBOX_HEIGHT ) ; 171 Size = MAP_APPFONT ( 65 , 14 ) ; 172 TabStop = TRUE ; 173 Hide = TRUE ; 174 Text [ en-US ] = "~Find" ; 175 }; 176 String STR_PATHNAME 177 { 178 Text [ en-US ] = "Path Name"; 179 }; 180 Text [ en-US ] = "Interaction"; 181}; 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209