1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: CollectionView.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
32 #include "dbu_dlg.hrc"
34 #include "dbaccess_helpid.hrc"
35 #include "CollectionView.hrc"
40 #define CHECKBOX_HEIGHT 8
41 #define FIXEDTEXT_HEIGHT 8
42 #define RELATED_CONTROLS 4
43 #define UNRELATED_CONTROLS 7
44 #define EDIT_HEIGHT 12
45 #define BUTTON_HEIGHT 14
46 #define FIXEDLINE_HEIGHT 1
50 ModalDialog DLG_COLLECTION_VIEW
57 HelpId = HID_EXPLORERDLG_COLLECTION ;
59 Size = MAP_APPFONT ( WIN_X , WIN_Y ) ;
60 Text [ en-US ] = "Save" ;
62 FixedText FT_EXPLORERFILE_CURRENTPATH
64 Pos = MAP_APPFONT ( UNRELATED_CONTROLS , UNRELATED_CONTROLS ) ;
65 Size = MAP_APPFONT ( 100 , FIXEDTEXT_HEIGHT ) ;
68 ImageButton BTN_EXPLORERFILE_NEWFOLDER
71 Pos = MAP_APPFONT ( WIN_X - UNRELATED_CONTROLS - RELATED_CONTROLS - 2*IMG_SIZE, UNRELATED_CONTROLS ) ;
72 Size = MAP_APPFONT ( IMG_SIZE , IMG_SIZE ) ;
73 QuickHelpText [ en-US ] = "Create New Directory" ;
75 ImageButton BTN_EXPLORERFILE_UP
78 Pos = MAP_APPFONT ( WIN_X - UNRELATED_CONTROLS - IMG_SIZE, UNRELATED_CONTROLS ) ;
79 Size = MAP_APPFONT ( IMG_SIZE , IMG_SIZE ) ;
80 QuickHelpText [ en-US ] = "Up One Level" ;
86 Pos = MAP_APPFONT ( UNRELATED_CONTROLS , 2*UNRELATED_CONTROLS + IMG_SIZE) ;
87 Size = MAP_APPFONT ( WIN_X - 2*UNRELATED_CONTROLS , WIN_Y - 6*UNRELATED_CONTROLS - BUTTON_HEIGHT - IMG_SIZE - EDIT_HEIGHT - FIXEDTEXT_HEIGHT) ;
91 FixedText FT_EXPLORERFILE_FILENAME
93 Pos = MAP_APPFONT ( UNRELATED_CONTROLS , WIN_Y - 3*UNRELATED_CONTROLS - BUTTON_HEIGHT - FIXEDLINE_HEIGHT - EDIT_HEIGHT ) ;
94 Size = MAP_APPFONT ( 50 , FIXEDTEXT_HEIGHT ) ;
95 Text [ en-US ] = "File ~name:" ;
97 Edit ED_EXPLORERFILE_FILENAME
99 Pos = MAP_APPFONT ( RELATED_CONTROLS + UNRELATED_CONTROLS + 50 , WIN_Y - 3*UNRELATED_CONTROLS - BUTTON_HEIGHT - FIXEDLINE_HEIGHT - EDIT_HEIGHT) ;
100 Size = MAP_APPFONT ( WIN_X - RELATED_CONTROLS - 2*UNRELATED_CONTROLS - 50 , EDIT_HEIGHT ) ;
107 Pos = MAP_APPFONT ( 0 , WIN_Y - 2*UNRELATED_CONTROLS - BUTTON_HEIGHT - FIXEDLINE_HEIGHT) ;
108 Size = MAP_APPFONT ( WIN_X , FIXEDLINE_HEIGHT ) ;
111 PushButton BTN_EXPLORERFILE_SAVE
113 Pos = MAP_APPFONT ( WIN_X - 2*UNRELATED_CONTROLS - RELATED_CONTROLS - 150, WIN_Y - UNRELATED_CONTROLS - BUTTON_HEIGHT ) ;
114 Size = MAP_APPFONT ( 50 , BUTTON_HEIGHT ) ;
117 Text [ en-US ] = "Save" ;
120 CancelButton PB_CANCEL
123 Pos = MAP_APPFONT ( WIN_X - 2*UNRELATED_CONTROLS - 100, WIN_Y - UNRELATED_CONTROLS - BUTTON_HEIGHT ) ;
124 Size = MAP_APPFONT ( 50 , BUTTON_HEIGHT ) ;
130 Pos = MAP_APPFONT ( WIN_X - UNRELATED_CONTROLS - 50, WIN_Y - UNRELATED_CONTROLS - BUTTON_HEIGHT ) ;
131 Size = MAP_APPFONT ( 50 , BUTTON_HEIGHT ) ;
137 Text [ en-US ] = "~Path:" ;
141 String STR_NEW_FOLDER
143 Text [ en-US ] = "Folder" ;
145 Image IMG_NAVIGATION_BTN_UP_SC
147 ImageBitmap = Bitmap { File = "fp010"; };
148 MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
150 Image IMG_NAVIGATION_BTN_UP_SCH
152 ImageBitmap = Bitmap { File = "fph010"; };
153 MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
155 Image IMG_NAVIGATION_CREATEFOLDER_SC
157 ImageBitmap = Bitmap { File = "fp015"; };
158 MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
160 Image IMG_NAVIGATION_CREATEFOLDER_SCH
162 ImageBitmap = Bitmap { File = "fph015"; };
163 MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
166 String STR_ALREADYEXISTOVERWRITE
168 Text [ en-US ] = "The file already exists. Overwrite?" ;