1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
34 #ifndef UUI_NAMECLASHDLG_HRC
35 #include "nameclashdlg.hrc"
40 #define BORDER_OFFSET 6
41 #define EDIT_HEIGTH 12
45 ModalDialog DLG_SIMPLE_NAME_CLASH
47 HelpId = HID_DLG_SIMPLE_NAME_CLASH ;
50 Size = MAP_APPFONT ( DLG_WIDTH , DLG_HEIGTH ) ;
52 Text [ en-US ] = "File Exists" ;
54 FixedText FT_FILE_EXISTS_WARNING
56 Pos = MAP_APPFONT ( BORDER_OFFSET, BORDER_OFFSET ) ;
57 Size = MAP_APPFONT ( DLG_WIDTH - 2*BORDER_OFFSET, DLG_HEIGTH - EDIT_HEIGTH - BTN_HEIGTH - 4*BORDER_OFFSET ) ;
63 HelpID = "uui:Edit:DLG_SIMPLE_NAME_CLASH:EDIT_NEW_NAME";
65 Pos = MAP_APPFONT ( BORDER_OFFSET, DLG_HEIGTH - EDIT_HEIGTH - BTN_HEIGTH - 2*BORDER_OFFSET ) ;
66 Size = MAP_APPFONT ( DLG_WIDTH - 2*BORDER_OFFSET , EDIT_HEIGTH ) ;
69 PushButton BTN_OVERWRITE
71 HelpID = "uui:PushButton:DLG_SIMPLE_NAME_CLASH:BTN_OVERWRITE";
72 Pos = MAP_APPFONT ( DLG_WIDTH - 3*(BTN_WIDTH + BORDER_OFFSET) , DLG_HEIGTH - BTN_HEIGTH - BORDER_OFFSET ) ;
73 Size = MAP_APPFONT ( BTN_WIDTH, BTN_HEIGTH ) ;
75 Text [ en-US ] = "Replace" ;
80 HelpID = "uui:PushButton:DLG_SIMPLE_NAME_CLASH:BTN_RENAME";
81 Pos = MAP_APPFONT ( DLG_WIDTH - 2*(BTN_WIDTH + BORDER_OFFSET) , DLG_HEIGTH - BTN_HEIGTH - BORDER_OFFSET ) ;
82 Size = MAP_APPFONT ( BTN_WIDTH, BTN_HEIGTH ) ;
84 Text [ en-US ] = "Rename" ;
88 CancelButton BTN_CANCEL
90 Pos = MAP_APPFONT ( DLG_WIDTH - BTN_WIDTH - BORDER_OFFSET, DLG_HEIGTH - BTN_HEIGTH - BORDER_OFFSET ) ;
91 Size = MAP_APPFONT ( BTN_WIDTH, BTN_HEIGTH ) ;
97 Pos = MAP_APPFONT ( BORDER_OFFSET, DLG_HEIGTH - BTN_HEIGTH - BORDER_OFFSET ) ;
98 Size = MAP_APPFONT ( BTN_WIDTH, BTN_HEIGTH ) ;
103 String STR_RENAME_OR_REPLACE
105 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.";
108 String STR_NAME_CLASH_RENAME_ONLY
110 Text = "A file with the name \"%NAME\" already exists in the location \"%FOLDER\".\nPlease enter a new name.";
113 String STR_SAME_NAME_USED
115 Text = "Please provide a different file name!";