1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24#include "app.hrc" 25#include "helpids.h" 26#include "tpaction.hrc" 27#include <svtools/controldims.hrc> 28 29TabPage TP_ANIMATION 30{ 31 HelpID = CMD_SID_ANIMATION_EFFECTS ; 32 Pos = MAP_APPFONT ( 0 , 0 ) ; 33 Size = MAP_APPFONT ( 260 , 164 ) ; 34 Hide = TRUE; 35 // always visible --------------------------------------------------------------------- 36#define MA_ACTIONLB_TOP (RSC_SP_DLG_INNERBORDER_TOP + (2*RSC_CD_PUSHBUTTON_HEIGHT + RSC_SP_CTRL_GROUP_Y - RSC_CD_DROPDOWN_HEIGHT) / 2) 37#define MA_ACTIONLB_LEFT (103) 38 FixedText FT_ACTION 39 { 40 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT , MA_ACTIONLB_TOP + 1 ) ; 41 Size = MAP_APPFONT ( 86 , 10 ) ; 42 Hide = TRUE ; 43 Text [ en-US ] = "Action at mouse click" ; 44 }; 45 ListBox LB_ACTION 46 { 47 HelpID = "sd:ListBox:TP_ANIMATION:LB_ACTION"; 48 Border = TRUE ; 49 Pos = MAP_APPFONT ( MA_ACTIONLB_LEFT , MA_ACTIONLB_TOP ) ; 50 Size = MAP_APPFONT ( 150 - RSC_SP_GRP_INNERBORDER_RIGHT , 79 ) ; 51 Hide = TRUE ; 52 TabStop = TRUE ; 53 DropDown = TRUE ; 54 }; 55 56 // sometimes visible --------------------------------------------------------------------- 57 58#define MA_Y0 (MA_ACTIONLB_TOP + RSC_CD_DROPDOWN_HEIGHT + RSC_SP_FLGR_SPACE_Y + RSC_SP_FLGR_INNERBORDER_BOTTOM) 59#define MA_Y1 (MA_Y0 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP) 60#define MA_Y2 (MA_Y1 + RSC_CD_DROPDOWN_HEIGHT + RSC_SP_CTRL_GROUP_Y) 61#define MA_Y3 (MA_Y2 + 3*(RSC_CD_RADIOBUTTON_HEIGHT + RSC_SP_CTRL_GROUP_Y)) 62#define MA_Y4 (MA_Y3 + RSC_CD_DROPDOWN_HEIGHT + RSC_SP_CTRL_GROUP_Y) 63 64 Edit EDT_SOUND 65 { 66 HelpID = "sd:Edit:TP_ANIMATION:EDT_SOUND"; 67 Border = TRUE ; 68 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT + RSC_SP_CHK_TEXTINDENT , MA_Y4 + RSC_CD_CHECKBOX_HEIGHT + 1 ) ; 69 Size = MAP_APPFONT ( 247 - 65 - 10 - (RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT + RSC_SP_CHK_TEXTINDENT) , 12 ) ; 70 TabStop = TRUE ; 71 Hide = TRUE ; 72 }; 73 74 // Es ist schon wichtig, da� Durchsuchen (search) und Suchen (seek/find) unter- 75 // schiedlich heissen, da sie eben auch eine unterschiedliche Bedeutung haben 76 PushButton BTN_SEARCH 77 { 78 HelpID = "sd:PushButton:TP_ANIMATION:BTN_SEARCH"; 79 Pos = MAP_APPFONT ( 247 - 65, MA_Y4 + RSC_CD_CHECKBOX_HEIGHT ) ; 80 Size = MAP_APPFONT ( 65 , 14 ) ; 81 TabStop = TRUE ; 82 Hide = TRUE ; 83 Text [ en-US ] = "~Browse..." ; 84 }; 85 86 //------------------------------------ 87 // Goto page/object/document stuff 88 FixedText FT_TREE 89 { 90 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT , MA_Y0 + 4 ); 91 Size = MAP_APPFONT ( 86 , 10 ) ; 92 Hide = TRUE ; 93 }; 94 Control LB_TREE 95 { 96 HelpID = HID_CTL_ACTION_DLG_1 ; 97 Border = TRUE ; 98 Pos = MAP_APPFONT ( MA_ACTIONLB_LEFT, MA_Y0 + 3 ) ; 99 Size = MAP_APPFONT ( 150 - RSC_SP_GRP_INNERBORDER_RIGHT , 77 ) ; 100 TabStop = TRUE ; 101 Hide = TRUE ; 102 }; 103 Control LB_TREE_DOCUMENT 104 { 105 HelpID = HID_CTL_ACTION_DLG_2 ; 106 Border = TRUE ; 107 Pos = MAP_APPFONT ( MA_ACTIONLB_LEFT, MA_Y0 + 3 ) ; 108 Size = MAP_APPFONT ( 150 - RSC_SP_GRP_INNERBORDER_RIGHT , 77 ) ; 109 TabStop = TRUE ; 110 Hide = TRUE ; 111 }; 112 ListBox LB_OLE_ACTION 113 { 114 HelpID = "sd:ListBox:TP_ANIMATION:LB_OLE_ACTION"; 115 Border = TRUE ; 116 Pos = MAP_APPFONT ( MA_ACTIONLB_LEFT, MA_Y0 + 3 ) ; 117 Size = MAP_APPFONT ( 150 - RSC_SP_GRP_INNERBORDER_RIGHT , 77 ) ; 118 TabStop = TRUE ; 119 Hide = TRUE ; 120 }; 121 FixedLine FL_SEPARATOR 122 { 123 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT , MA_Y1 + 63 + RSC_SP_FLGR_SPACE_Y + RSC_SP_FLGR_INNERBORDER_BOTTOM + 6 ) ; 124 Size = MAP_APPFONT ( 247 , 8 ) ; 125 Hide = TRUE ; 126 }; 127 Edit EDT_BOOKMARK 128 { 129 HelpID = "sd:Edit:TP_ANIMATION:EDT_BOOKMARK"; 130 Border = TRUE ; 131 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT , MA_Y4 + RSC_CD_CHECKBOX_HEIGHT + 1 ) ; 132 Size = MAP_APPFONT ( 247 - 65 - 10 - (RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT) , 12 ) ; 133 TabStop = TRUE ; 134 Hide = TRUE ; 135 }; 136 Edit EDT_DOCUMENT 137 { 138 HelpID = "sd:Edit:TP_ANIMATION:EDT_DOCUMENT"; 139 Border = TRUE ; 140 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT , MA_Y4 + RSC_CD_CHECKBOX_HEIGHT + 1 ) ; 141 Size = MAP_APPFONT ( 247 - 65 - 10 - (RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT) , 12 ) ; 142 TabStop = TRUE ; 143 Hide = TRUE ; 144 }; 145 Edit EDT_PROGRAM 146 { 147 HelpID = "sd:Edit:TP_ANIMATION:EDT_PROGRAM"; 148 Border = TRUE ; 149 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT , MA_Y4 + RSC_CD_CHECKBOX_HEIGHT + 1 ) ; 150 Size = MAP_APPFONT ( 247 - 65 - 10 - (RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT) , 12 ) ; 151 TabStop = TRUE ; 152 Hide = TRUE ; 153 }; 154 Edit EDT_MACRO 155 { 156 HelpID = "sd:Edit:TP_ANIMATION:EDT_MACRO"; 157 Border = TRUE ; 158 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT , MA_Y4 + RSC_CD_CHECKBOX_HEIGHT + 1 ) ; 159 Size = MAP_APPFONT ( 247 - 65 - 10 - (RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT) , 12 ) ; 160 TabStop = TRUE ; 161 Hide = TRUE ; 162 }; 163 PushButton BTN_SEEK 164 { 165 HelpID = "sd:PushButton:TP_ANIMATION:BTN_SEEK"; 166 Pos = MAP_APPFONT ( 247 - 65, MA_Y4 + RSC_CD_CHECKBOX_HEIGHT ) ; 167 Size = MAP_APPFONT ( 65 , 14 ) ; 168 TabStop = TRUE ; 169 Hide = TRUE ; 170 Text [ en-US ] = "~Find" ; 171 }; 172 String STR_PATHNAME 173 { 174 Text [ en-US ] = "Path Name"; 175 }; 176 Text [ en-US ] = "Interaction"; 177}; 178 179 180 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