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 ************************************************************************/
29 #include "dbu_dlg.hrc"
31 #include "dbaccess_helpid.hrc"
32 #include "CollectionView.hrc"
37 #define CHECKBOX_HEIGHT 8
38 #define FIXEDTEXT_HEIGHT 8
39 #define RELATED_CONTROLS 4
40 #define UNRELATED_CONTROLS 7
41 #define EDIT_HEIGHT 12
42 #define BUTTON_HEIGHT 14
43 #define FIXEDLINE_HEIGHT 1
46 ModalDialog DLG_COLLECTION_VIEW
52 HelpId = HID_EXPLORERDLG_COLLECTION ;
54 Size = MAP_APPFONT ( WIN_X , WIN_Y ) ;
55 Text [ en-US ] = "Save" ;
57 FixedText FT_EXPLORERFILE_CURRENTPATH
59 Pos = MAP_APPFONT ( UNRELATED_CONTROLS , UNRELATED_CONTROLS ) ;
60 Size = MAP_APPFONT ( 100 , FIXEDTEXT_HEIGHT ) ;
63 ImageButton BTN_EXPLORERFILE_NEWFOLDER
65 HelpID = "dbaccess:ImageButton:DLG_COLLECTION_VIEW:BTN_EXPLORERFILE_NEWFOLDER";
67 Pos = MAP_APPFONT ( WIN_X - UNRELATED_CONTROLS - RELATED_CONTROLS - 2*IMG_SIZE, UNRELATED_CONTROLS ) ;
68 Size = MAP_APPFONT ( IMG_SIZE , IMG_SIZE ) ;
69 QuickHelpText [ en-US ] = "Create New Directory" ;
71 ImageButton BTN_EXPLORERFILE_UP
73 HelpID = "dbaccess:ImageButton:DLG_COLLECTION_VIEW:BTN_EXPLORERFILE_UP";
75 Pos = MAP_APPFONT ( WIN_X - UNRELATED_CONTROLS - IMG_SIZE, UNRELATED_CONTROLS ) ;
76 Size = MAP_APPFONT ( IMG_SIZE , IMG_SIZE ) ;
77 QuickHelpText [ en-US ] = "Up One Level" ;
83 Pos = MAP_APPFONT ( UNRELATED_CONTROLS , 2*UNRELATED_CONTROLS + IMG_SIZE) ;
84 Size = MAP_APPFONT ( WIN_X - 2*UNRELATED_CONTROLS , WIN_Y - 6*UNRELATED_CONTROLS - BUTTON_HEIGHT - IMG_SIZE - EDIT_HEIGHT - FIXEDTEXT_HEIGHT) ;
88 FixedText FT_EXPLORERFILE_FILENAME
90 Pos = MAP_APPFONT ( UNRELATED_CONTROLS , WIN_Y - 3*UNRELATED_CONTROLS - BUTTON_HEIGHT - FIXEDLINE_HEIGHT - EDIT_HEIGHT ) ;
91 Size = MAP_APPFONT ( 50 , FIXEDTEXT_HEIGHT ) ;
92 Text [ en-US ] = "File ~name:" ;
94 Edit ED_EXPLORERFILE_FILENAME
96 HelpID = "dbaccess:Edit:DLG_COLLECTION_VIEW:ED_EXPLORERFILE_FILENAME";
97 Pos = MAP_APPFONT ( RELATED_CONTROLS + UNRELATED_CONTROLS + 50 , WIN_Y - 3*UNRELATED_CONTROLS - BUTTON_HEIGHT - FIXEDLINE_HEIGHT - EDIT_HEIGHT) ;
98 Size = MAP_APPFONT ( WIN_X - RELATED_CONTROLS - 2*UNRELATED_CONTROLS - 50 , EDIT_HEIGHT ) ;
105 Pos = MAP_APPFONT ( 0 , WIN_Y - 2*UNRELATED_CONTROLS - BUTTON_HEIGHT - FIXEDLINE_HEIGHT) ;
106 Size = MAP_APPFONT ( WIN_X , FIXEDLINE_HEIGHT ) ;
109 PushButton BTN_EXPLORERFILE_SAVE
111 HelpID = "dbaccess:PushButton:DLG_COLLECTION_VIEW:BTN_EXPLORERFILE_SAVE";
112 Pos = MAP_APPFONT ( WIN_X - 2*UNRELATED_CONTROLS - RELATED_CONTROLS - 150, WIN_Y - UNRELATED_CONTROLS - BUTTON_HEIGHT ) ;
113 Size = MAP_APPFONT ( 50 , BUTTON_HEIGHT ) ;
116 Text [ en-US ] = "Save" ;
119 CancelButton PB_CANCEL
122 Pos = MAP_APPFONT ( WIN_X - 2*UNRELATED_CONTROLS - 100, WIN_Y - UNRELATED_CONTROLS - BUTTON_HEIGHT ) ;
123 Size = MAP_APPFONT ( 50 , BUTTON_HEIGHT ) ;
129 Pos = MAP_APPFONT ( WIN_X - UNRELATED_CONTROLS - 50, WIN_Y - UNRELATED_CONTROLS - BUTTON_HEIGHT ) ;
130 Size = MAP_APPFONT ( 50 , BUTTON_HEIGHT ) ;
135 Text [ en-US ] = "~Path:" ;
139 String STR_NEW_FOLDER
141 Text [ en-US ] = "Folder" ;
144 Image IMG_NAVIGATION_BTN_UP_SC
146 ImageBitmap = Bitmap { File = "fp010"; };
147 MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
150 Image IMG_NAVIGATION_CREATEFOLDER_SC
152 ImageBitmap = Bitmap { File = "fp015"; };
153 MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
156 String STR_ALREADYEXISTOVERWRITE
158 Text [ en-US ] = "The file already exists. Overwrite?" ;