12611ca73SAndrew Rist/************************************************************** 2*5578c25cSmseidel * 32611ca73SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 42611ca73SAndrew Rist * or more contributor license agreements. See the NOTICE file 52611ca73SAndrew Rist * distributed with this work for additional information 62611ca73SAndrew Rist * regarding copyright ownership. The ASF licenses this file 72611ca73SAndrew Rist * to you under the Apache License, Version 2.0 (the 82611ca73SAndrew Rist * "License"); you may not use this file except in compliance 92611ca73SAndrew Rist * with the License. You may obtain a copy of the License at 10*5578c25cSmseidel * 112611ca73SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*5578c25cSmseidel * 132611ca73SAndrew Rist * Unless required by applicable law or agreed to in writing, 142611ca73SAndrew Rist * software distributed under the License is distributed on an 152611ca73SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 162611ca73SAndrew Rist * KIND, either express or implied. See the License for the 172611ca73SAndrew Rist * specific language governing permissions and limitations 182611ca73SAndrew Rist * under the License. 19*5578c25cSmseidel * 202611ca73SAndrew Rist *************************************************************/ 212611ca73SAndrew Rist 222611ca73SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#define __RSC 25cdf0e10cSrcweir 26cdf0e10cSrcweir#ifndef UUI_IDS_HRC 27cdf0e10cSrcweir#include "ids.hrc" 28cdf0e10cSrcweir#endif 29cdf0e10cSrcweir 30cdf0e10cSrcweir#ifndef UUI_NAMECLASHDLG_HRC 31cdf0e10cSrcweir#include "nameclashdlg.hrc" 32cdf0e10cSrcweir#endif 33cdf0e10cSrcweir 34*5578c25cSmseidel#define DLG_WIDTH 250 35*5578c25cSmseidel#define DLG_HEIGTH 75 36*5578c25cSmseidel#define BORDER_OFFSET 6 37*5578c25cSmseidel#define EDIT_HEIGTH 12 38*5578c25cSmseidel#define BTN_WIDTH 50 39*5578c25cSmseidel#define BTN_HEIGTH 14 40cdf0e10cSrcweir 41cdf0e10cSrcweirModalDialog DLG_SIMPLE_NAME_CLASH 42cdf0e10cSrcweir{ 43*5578c25cSmseidel HelpId = HID_DLG_SIMPLE_NAME_CLASH ; 44*5578c25cSmseidel OutputSize = TRUE ; 45*5578c25cSmseidel SVLook = TRUE ; 46*5578c25cSmseidel Size = MAP_APPFONT ( DLG_WIDTH, DLG_HEIGTH ) ; 47*5578c25cSmseidel Moveable = TRUE ; 48cdf0e10cSrcweir Text [ en-US ] = "File Exists" ; 49cdf0e10cSrcweir 50cdf0e10cSrcweir FixedText FT_FILE_EXISTS_WARNING 51cdf0e10cSrcweir { 52*5578c25cSmseidel Pos = MAP_APPFONT ( BORDER_OFFSET, BORDER_OFFSET ) ; 53*5578c25cSmseidel Size = MAP_APPFONT ( DLG_WIDTH - 2*BORDER_OFFSET, DLG_HEIGTH - EDIT_HEIGTH - BTN_HEIGTH - 4 * BORDER_OFFSET ) ; 54cdf0e10cSrcweir WordBreak = TRUE ; 55cdf0e10cSrcweir }; 56cdf0e10cSrcweir 57cdf0e10cSrcweir Edit EDIT_NEW_NAME 58cdf0e10cSrcweir { 59*5578c25cSmseidel HelpID = "uui:Edit:DLG_SIMPLE_NAME_CLASH:EDIT_NEW_NAME" ; 60*5578c25cSmseidel Border = TRUE ; 61*5578c25cSmseidel Pos = MAP_APPFONT ( BORDER_OFFSET, DLG_HEIGTH - EDIT_HEIGTH - BTN_HEIGTH - 2 * BORDER_OFFSET ) ; 62*5578c25cSmseidel Size = MAP_APPFONT ( DLG_WIDTH - 2 * BORDER_OFFSET, EDIT_HEIGTH ) ; 63cdf0e10cSrcweir }; 64cdf0e10cSrcweir 65cdf0e10cSrcweir PushButton BTN_OVERWRITE 66cdf0e10cSrcweir { 67*5578c25cSmseidel HelpID = "uui:PushButton:DLG_SIMPLE_NAME_CLASH:BTN_OVERWRITE" ; 68*5578c25cSmseidel Pos = MAP_APPFONT ( DLG_WIDTH - 3 * (BTN_WIDTH + BORDER_OFFSET), DLG_HEIGTH - BTN_HEIGTH - BORDER_OFFSET ) ; 69*5578c25cSmseidel Size = MAP_APPFONT ( BTN_WIDTH, BTN_HEIGTH ) ; 70*5578c25cSmseidel TabStop = TRUE ; 71cdf0e10cSrcweir Text [ en-US ] = "Replace" ; 72cdf0e10cSrcweir }; 73cdf0e10cSrcweir 74cdf0e10cSrcweir PushButton BTN_RENAME 75cdf0e10cSrcweir { 76*5578c25cSmseidel HelpID = "uui:PushButton:DLG_SIMPLE_NAME_CLASH:BTN_RENAME" ; 77*5578c25cSmseidel Pos = MAP_APPFONT ( DLG_WIDTH - 2 * (BTN_WIDTH + BORDER_OFFSET), DLG_HEIGTH - BTN_HEIGTH - BORDER_OFFSET ) ; 78*5578c25cSmseidel Size = MAP_APPFONT ( BTN_WIDTH, BTN_HEIGTH ) ; 79*5578c25cSmseidel TabStop = TRUE ; 80cdf0e10cSrcweir Text [ en-US ] = "Rename" ; 81*5578c25cSmseidel DefButton = TRUE ; 82cdf0e10cSrcweir }; 83cdf0e10cSrcweir 84cdf0e10cSrcweir CancelButton BTN_CANCEL 85cdf0e10cSrcweir { 86*5578c25cSmseidel Pos = MAP_APPFONT ( DLG_WIDTH - BTN_WIDTH - BORDER_OFFSET, DLG_HEIGTH - BTN_HEIGTH - BORDER_OFFSET ) ; 87*5578c25cSmseidel Size = MAP_APPFONT ( BTN_WIDTH, BTN_HEIGTH ) ; 88cdf0e10cSrcweir TabStop = TRUE ; 89cdf0e10cSrcweir }; 90cdf0e10cSrcweir 91cdf0e10cSrcweir HelpButton BTN_HELP 92cdf0e10cSrcweir { 93*5578c25cSmseidel Pos = MAP_APPFONT ( BORDER_OFFSET, DLG_HEIGTH - BTN_HEIGTH - BORDER_OFFSET ) ; 94*5578c25cSmseidel Size = MAP_APPFONT ( BTN_WIDTH, BTN_HEIGTH ) ; 95cdf0e10cSrcweir TabStop = TRUE ; 96cdf0e10cSrcweir }; 97cdf0e10cSrcweir}; 98cdf0e10cSrcweir 99cdf0e10cSrcweirString STR_RENAME_OR_REPLACE 100cdf0e10cSrcweir{ 101*5578c25cSmseidel Text = "A file with the name \"%NAME\" already exists in the location \"%FOLDER\".\nChoose Replace to overwrite the existing file or provide a new name." ; 102cdf0e10cSrcweir}; 103cdf0e10cSrcweir 104cdf0e10cSrcweirString STR_NAME_CLASH_RENAME_ONLY 105cdf0e10cSrcweir{ 106*5578c25cSmseidel Text = "A file with the name \"%NAME\" already exists in the location \"%FOLDER\".\nPlease enter a new name." ; 107cdf0e10cSrcweir}; 108cdf0e10cSrcweir 109cdf0e10cSrcweirString STR_SAME_NAME_USED 110cdf0e10cSrcweir{ 111*5578c25cSmseidel Text = "Please provide a different file name!" ; 112cdf0e10cSrcweir}; 113*5578c25cSmseidel 114*5578c25cSmseidel// ********************************************************************** EOF 115