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 <sfx2/sfxsids.hrc> 25#include "helpid.hrc" 26#include "gallery.hrc" 27 28/******************************************************************************/ 29 30#define MASKCOLOR MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; }; 31 32DockingWindow RID_SVXDLG_GALLERYBROWSER 33{ 34 HelpId = "SVX_HID_GALLERY_BROWSER" ; 35 OutputSize = TRUE ; 36 Hide = TRUE ; 37 SVLook = TRUE ; 38 Pos = MAP_APPFONT ( 0 , 0 ) ; 39 Size = MAP_APPFONT ( 211, 100 ) ; 40 Text [ en-US ] = "Gallery"; 41 Sizeable = TRUE; 42 Moveable = TRUE ; 43 Closeable = TRUE ; 44 Zoomable = TRUE ; 45 Dockable = TRUE ; 46 EnableResizing = TRUE ; 47 48 Control GALLERY_BROWSER1 49 { 50 Pos = MAP_APPFONT ( 0 , 0 ) ; 51 Size = MAP_APPFONT ( 69, 150 ) ; 52 Border = FALSE; 53 }; 54 55 Splitter GALLERY_SPLITTER 56 { 57 Pos = MAP_APPFONT ( 70 , 0 ) ; 58 Size = MAP_APPFONT ( 3, 150 ) ; 59 HScroll = TRUE; 60 }; 61 62 Control GALLERY_BROWSER2 63 { 64 Pos = MAP_APPFONT ( 73, 0 ) ; 65 Size = MAP_APPFONT ( 138, 150 ) ; 66 Border = FALSE; 67 }; 68}; 69 70/******************************************************************************/ 71 72String RID_SVXSTR_GALLERY_ACTUALIZE_PROGRESS 73{ 74 Text [ en-US ] = "Update"; 75}; 76String RID_SVXSTR_GALLERY_FOPENERROR 77{ 78 Text [ en-US ] = "This file cannot be opened" ; 79}; 80String RID_SVXSTR_GALLERY_NOTHEME 81{ 82 Text [ en-US ] = "Invalid Theme Name!" ; 83}; 84String RID_SVXSTR_GALLERY_DELETEOBJ 85{ 86 Text [ en-US ] = "Do you really want to\ndelete this object?" ; 87}; 88String RID_SVXSTR_GALLERY_DELETETHEME 89{ 90 Text [ en-US ] = "Do you really want to\ndelete this theme?" ; 91}; 92String RID_SVXSTR_EXTFORMAT1_SYS 93{ 94 Text = "wav" ; 95}; 96String RID_SVXSTR_EXTFORMAT1_UI 97{ 98 Text [ en-US ] = "Wave - Sound File" ; 99}; 100String RID_SVXSTR_EXTFORMAT2_SYS 101{ 102 Text = "aif" ; 103}; 104String RID_SVXSTR_EXTFORMAT2_UI 105{ 106 Text [ en-US ] = "Audio Interchange File Format" ; 107}; 108String RID_SVXSTR_EXTFORMAT3_SYS 109{ 110 Text = "au" ; 111}; 112String RID_SVXSTR_EXTFORMAT3_UI 113{ 114 Text [ en-US ] = "AU - Sound File" ; 115}; 116String RID_SVXSTR_GALLERY_FILTER 117{ 118 Text [ en-US ] = "Graphics filter" ; 119}; 120String RID_SVXSTR_GALLERY_LENGTH 121{ 122 Text [ en-US ] = "Length:" ; 123}; 124String RID_SVXSTR_GALLERY_SIZE 125{ 126 Text [ en-US ] = "Size:" ; 127}; 128String RID_SVXSTR_GALLERY_DELETEDD 129{ 130 Text [ en-US ] = "Do you want to delete the linked file?" ; 131}; 132String RID_SVXSTR_GALLERY_SGIERROR 133{ 134 Text [ en-US ] = "This file cannot be opened.\nDo you want to enter a different search path? " ; 135}; 136String RID_SVXSTR_GALLERY_NEWTHEME 137{ 138 Text [ en-US ] = "New Theme" ; 139}; 140String RID_SVXSTR_GALLERY_BROWSER 141{ 142 Text [ en-US ] = "~Organizer..." ; 143}; 144String RID_SVXSTR_GALLERY_THEMEERR 145{ 146 Text [ en-US ] = "This theme name already exists.\nPlease choose a different one." ; 147}; 148String RID_SVXSTR_GALLERY_IMPORTTHEME 149{ 150 Text [ en-US ] = "I~mport..." ; 151}; 152String RID_SVXSTR_GALLERY_CREATETHEME 153{ 154 Text [ en-US ] = "New Theme..." ; 155}; 156String RID_SVXSTR_GALLERY_DIALOGID 157{ 158 Text [ en-US ] = "Assign ID" ; 159}; 160String RID_SVXSTR_GALLERY_TITLE 161{ 162 Text [ en-US ] = "Title" ; 163}; 164String RID_SVXSTR_GALLERY_PATH 165{ 166 Text [ en-US ] = "Path" ; 167}; 168String RID_SVXSTR_GALLERY_ICONVIEW 169{ 170 Text [ en-US ] = "Icon View"; 171}; 172String RID_SVXSTR_GALLERY_LISTVIEW 173{ 174 Text [ en-US ] = "Detailed View"; 175}; 176 177/******************************************************************************/ 178 179Bitmap RID_SVXBMP_GALLERY 180{ 181 File = "lx03135.bmp" ; 182}; 183 184Bitmap RID_SVXBMP_THEME_NORMAL 185{ 186 File = "galnors.bmp" ; 187}; 188 189Bitmap RID_SVXBMP_THEME_IMPORTED 190{ 191 File = "galimps.bmp" ; 192}; 193 194Bitmap RID_SVXBMP_THEME_READONLY 195{ 196 File = "galrdos.bmp" ; 197}; 198 199Bitmap RID_SVXBMP_THEME_DEFAULT 200{ 201 File = "galdefs.bmp" ; 202}; 203 204Bitmap RID_SVXBMP_GALLERY_MEDIA 205{ 206 File = "galmedia.bmp"; 207}; 208 209Bitmap RID_SVXBMP_GALLERY_SOUND_1 210{ 211 File = "galsnd1.bmp"; 212}; 213 214Bitmap RID_SVXBMP_GALLERY_SOUND_2 215{ 216 File = "galsnd2.bmp"; 217}; 218 219Bitmap RID_SVXBMP_GALLERY_SOUND_3 220{ 221 File = "galsnd3.bmp"; 222}; 223 224Bitmap RID_SVXBMP_GALLERY_SOUND_4 225{ 226 File = "galsnd4.bmp"; 227}; 228 229Bitmap RID_SVXBMP_GALLERY_SOUND_5 230{ 231 File = "galsnd5.bmp"; 232}; 233 234Bitmap RID_SVXBMP_GALLERY_SOUND_6 235{ 236 File = "galsnd6.bmp"; 237}; 238 239Bitmap RID_SVXBMP_GALLERY_SOUND_7 240{ 241 File = "galsnd7.bmp"; 242}; 243 244Image RID_SVXIMG_GALLERY_VIEW_ICON 245{ 246 ImageBitmap = Bitmap { File = "galicon.bmp"; }; 247 MASKCOLOR 248}; 249 250Image RID_SVXIMG_GALLERY_VIEW_LIST 251{ 252 ImageBitmap = Bitmap { File = "gallist.bmp"; }; 253 MASKCOLOR 254}; 255 256Image RID_SVXIMG_GALLERY_VIEW_ICON_HC 257{ 258 ImageBitmap = Bitmap { File = "galicon_h.bmp"; }; 259 MASKCOLOR 260}; 261 262Image RID_SVXIMG_GALLERY_VIEW_LIST_HC 263{ 264 ImageBitmap = Bitmap { File = "gallist_h.bmp"; }; 265 MASKCOLOR 266}; 267 268 269/******************************************************************************/ 270 271Menu RID_SVXMN_GALLERY1 272{ 273 ItemList = 274 { 275 MenuItem 276 { 277 Identifier = MN_ACTUALIZE; 278 HelpId = HID_GALLERY_ACTUALIZE; 279 Text [ en-US ] = "Update"; 280 }; 281 MenuItem 282 { 283 Separator = TRUE ; 284 }; 285 MenuItem 286 { 287 Identifier = MN_DELETE ; 288 HelpId = HID_GALLERY_MN_DELETE ; 289 Text [ en-US ] = "~Delete" ; 290 }; 291 MenuItem 292 { 293 Identifier = MN_RENAME; 294 HelpId = HID_GALLERY_RENAME; 295 Text [ en-US ] = "~Rename" ; 296 }; 297 MenuItem 298 { 299 Separator = TRUE ; 300 }; 301 MenuItem 302 { 303 Identifier = MN_ASSIGN_ID; 304 Text [ en-US ] = "Assign ~ID" ; 305 }; 306 MenuItem 307 { 308 Separator = TRUE ; 309 }; 310 MenuItem 311 { 312 Identifier = MN_PROPERTIES; 313 HelpId = HID_GALLERY_PROPERTIES; 314 Text [ en-US ] = "Propert~ies..." ; 315 }; 316 }; 317}; 318 319/******************************************************************************/ 320 321Menu RID_SVXMN_GALLERY2 322{ 323 ItemList = 324 { 325 MenuItem 326 { 327 Identifier = MN_ADDMENU ; 328 HelpId = HID_GALLERY_MN_ADDMENU ; 329 Text [ en-US ] = "~Insert" ; 330 SubMenu = Menu 331 { 332 ItemList = 333 { 334 MenuItem 335 { 336 Identifier = MN_ADD ; 337 HelpId = HID_GALLERY_MN_ADD ; 338 Text [ en-US ] = "~Copy" ; 339 }; 340 MenuItem 341 { 342 Identifier = MN_ADD_LINK ; 343 HelpId = HID_GALLERY_MN_ADD_LINK ; 344 Text [ en-US ] = "Link" ; 345 }; 346 MenuItem 347 { 348 Separator = TRUE ; 349 }; 350 MenuItem 351 { 352 Identifier = MN_BACKGROUND ; 353 HelpId = HID_GALLERY_MN_BACKGROUND ; 354 Text [ en-US ] = "Bac~kground" ; 355 }; 356 }; 357 }; 358 }; 359 MenuItem 360 { 361 Separator = TRUE ; 362 }; 363 MenuItem 364 { 365 Identifier = MN_PREVIEW ; 366 HelpId = HID_GALLERY_MN_PREVIEW ; 367 Text [ en-US ] = "~Preview" ; 368 }; 369 MenuItem 370 { 371 Separator = TRUE ; 372 }; 373 MenuItem 374 { 375 Identifier = MN_TITLE ; 376 HelpId = HID_GALLERY_TITLE; 377 Text [ en-US ] = "~Title" ; 378 }; 379 MenuItem 380 { 381 Separator = TRUE ; 382 }; 383 MenuItem 384 { 385 Identifier = MN_DELETE ; 386 HelpId = HID_GALLERY_MN_DELETE ; 387 Text [ en-US ] = "~Delete" ; 388 }; 389 MenuItem 390 { 391 Separator = TRUE ; 392 }; 393 MenuItem 394 { 395 Identifier = MN_COPYCLIPBOARD; 396 HelpId = HID_GALLERY_MN_COPYCLIPBOARD; 397 Text [ en-US ] = "~Copy" ; 398 }; 399 MenuItem 400 { 401 Identifier = MN_PASTECLIPBOARD; 402 HelpId = HID_GALLERY_MN_PASTECLIPBOARD; 403 Text [ en-US ] = "~Insert" ; 404 }; 405 }; 406}; 407 408