181d089aeSAndrew Rist/**************************************************************
2*57b6b03fSmseidel *
381d089aeSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
481d089aeSAndrew Rist * or more contributor license agreements.  See the NOTICE file
581d089aeSAndrew Rist * distributed with this work for additional information
681d089aeSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
781d089aeSAndrew Rist * to you under the Apache License, Version 2.0 (the
881d089aeSAndrew Rist * "License"); you may not use this file except in compliance
981d089aeSAndrew Rist * with the License.  You may obtain a copy of the License at
10*57b6b03fSmseidel *
1181d089aeSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*57b6b03fSmseidel *
1381d089aeSAndrew Rist * Unless required by applicable law or agreed to in writing,
1481d089aeSAndrew Rist * software distributed under the License is distributed on an
1581d089aeSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1681d089aeSAndrew Rist * KIND, either express or implied.  See the License for the
1781d089aeSAndrew Rist * specific language governing permissions and limitations
1881d089aeSAndrew Rist * under the License.
19*57b6b03fSmseidel *
2081d089aeSAndrew Rist *************************************************************/
2181d089aeSAndrew Rist
2281d089aeSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#ifndef _DBU_DLG_HRC_
25cdf0e10cSrcweir#include "dbu_dlg.hrc"
26cdf0e10cSrcweir#endif
27cdf0e10cSrcweir#include "dbaccess_helpid.hrc"
28cdf0e10cSrcweir#include "CollectionView.hrc"
29cdf0e10cSrcweir
30*57b6b03fSmseidel#define WIN_X 200
31*57b6b03fSmseidel#define WIN_Y 192
32cdf0e10cSrcweir
33cdf0e10cSrcweir#define CHECKBOX_HEIGHT		8
34cdf0e10cSrcweir#define FIXEDTEXT_HEIGHT	8
35cdf0e10cSrcweir#define RELATED_CONTROLS	4
36cdf0e10cSrcweir#define UNRELATED_CONTROLS	7
37cdf0e10cSrcweir#define EDIT_HEIGHT			12
38cdf0e10cSrcweir#define BUTTON_HEIGHT		14
39cdf0e10cSrcweir#define FIXEDLINE_HEIGHT	1
40cdf0e10cSrcweir#define IMG_SIZE			15
41cdf0e10cSrcweir
42cdf0e10cSrcweir
43cdf0e10cSrcweirModalDialog DLG_COLLECTION_VIEW
44cdf0e10cSrcweir{
45cdf0e10cSrcweir	OutputSize = TRUE ;
46cdf0e10cSrcweir	SVLook = TRUE ;
47cdf0e10cSrcweir	Moveable = TRUE ;
48cdf0e10cSrcweir	Closeable = TRUE ;
49*57b6b03fSmseidel	//Sizeable = TRUE ;
50cdf0e10cSrcweir	HelpId = HID_EXPLORERDLG_COLLECTION ;
51cdf0e10cSrcweir
52*57b6b03fSmseidel	Size = MAP_APPFONT ( WIN_X, WIN_Y ) ;
53cdf0e10cSrcweir	Text [ en-US ] = "Save" ;
54*57b6b03fSmseidel
55cdf0e10cSrcweir	FixedText FT_EXPLORERFILE_CURRENTPATH
56cdf0e10cSrcweir	{
57*57b6b03fSmseidel		Pos = MAP_APPFONT ( UNRELATED_CONTROLS, UNRELATED_CONTROLS ) ;
58*57b6b03fSmseidel		Size = MAP_APPFONT ( 100, FIXEDTEXT_HEIGHT ) ;
59cdf0e10cSrcweir		NoLabel = TRUE ;
60cdf0e10cSrcweir	};
61cdf0e10cSrcweir	ImageButton BTN_EXPLORERFILE_NEWFOLDER
62cdf0e10cSrcweir	{
63*57b6b03fSmseidel		HelpID = "dbaccess:ImageButton:DLG_COLLECTION_VIEW:BTN_EXPLORERFILE_NEWFOLDER" ;
64cdf0e10cSrcweir		TabStop = FALSE ;
65*57b6b03fSmseidel		Pos = MAP_APPFONT ( WIN_X - UNRELATED_CONTROLS - RELATED_CONTROLS - 2 * IMG_SIZE, UNRELATED_CONTROLS ) ;
66*57b6b03fSmseidel		Size = MAP_APPFONT ( IMG_SIZE, IMG_SIZE ) ;
67cdf0e10cSrcweir		QuickHelpText [ en-US ] = "Create New Directory" ;
68cdf0e10cSrcweir	};
69cdf0e10cSrcweir	ImageButton BTN_EXPLORERFILE_UP
70cdf0e10cSrcweir	{
71*57b6b03fSmseidel		HelpID = "dbaccess:ImageButton:DLG_COLLECTION_VIEW:BTN_EXPLORERFILE_UP" ;
72cdf0e10cSrcweir		TabStop = TRUE ;
73cdf0e10cSrcweir		Pos = MAP_APPFONT ( WIN_X - UNRELATED_CONTROLS - IMG_SIZE, UNRELATED_CONTROLS ) ;
74*57b6b03fSmseidel		Size = MAP_APPFONT ( IMG_SIZE, IMG_SIZE ) ;
75cdf0e10cSrcweir		QuickHelpText [ en-US ] = "Up One Level" ;
76cdf0e10cSrcweir	};
77*57b6b03fSmseidel
78cdf0e10cSrcweir	Control CTRL_VIEW
79cdf0e10cSrcweir	{
80cdf0e10cSrcweir		TabStop = TRUE ;
81*57b6b03fSmseidel		Pos = MAP_APPFONT ( UNRELATED_CONTROLS, 2*UNRELATED_CONTROLS + IMG_SIZE) ;
82*57b6b03fSmseidel		Size = MAP_APPFONT ( WIN_X - 2 * UNRELATED_CONTROLS, WIN_Y - 6 * UNRELATED_CONTROLS - BUTTON_HEIGHT - IMG_SIZE - EDIT_HEIGHT - FIXEDTEXT_HEIGHT) ;
83cdf0e10cSrcweir		Border = TRUE ;
84cdf0e10cSrcweir	};
85cdf0e10cSrcweir
86cdf0e10cSrcweir	FixedText FT_EXPLORERFILE_FILENAME
87cdf0e10cSrcweir	{
88*57b6b03fSmseidel		Pos = MAP_APPFONT ( UNRELATED_CONTROLS, WIN_Y - 3 * UNRELATED_CONTROLS - BUTTON_HEIGHT - FIXEDLINE_HEIGHT - EDIT_HEIGHT ) ;
89*57b6b03fSmseidel		Size = MAP_APPFONT ( 50, FIXEDTEXT_HEIGHT ) ;
90cdf0e10cSrcweir		Text [ en-US ] = "File ~name:" ;
91cdf0e10cSrcweir	};
92cdf0e10cSrcweir	Edit ED_EXPLORERFILE_FILENAME
93cdf0e10cSrcweir	{
94*57b6b03fSmseidel		HelpID = "dbaccess:Edit:DLG_COLLECTION_VIEW:ED_EXPLORERFILE_FILENAME" ;
95*57b6b03fSmseidel		Pos = MAP_APPFONT ( RELATED_CONTROLS + UNRELATED_CONTROLS + 50, WIN_Y - 3 * UNRELATED_CONTROLS - BUTTON_HEIGHT - FIXEDLINE_HEIGHT - EDIT_HEIGHT) ;
96*57b6b03fSmseidel		Size = MAP_APPFONT ( WIN_X - RELATED_CONTROLS - 2 * UNRELATED_CONTROLS - 50, EDIT_HEIGHT ) ;
97cdf0e10cSrcweir		Border = TRUE ;
98cdf0e10cSrcweir		TabStop = TRUE ;
99cdf0e10cSrcweir	};
100*57b6b03fSmseidel
101cdf0e10cSrcweir	FixedLine FL_1
102cdf0e10cSrcweir	{
103*57b6b03fSmseidel		Pos = MAP_APPFONT ( 0, WIN_Y - 2 * UNRELATED_CONTROLS - BUTTON_HEIGHT - FIXEDLINE_HEIGHT) ;
104*57b6b03fSmseidel		Size = MAP_APPFONT ( WIN_X, FIXEDLINE_HEIGHT ) ;
105cdf0e10cSrcweir	};
106*57b6b03fSmseidel
107cdf0e10cSrcweir	PushButton BTN_EXPLORERFILE_SAVE
108cdf0e10cSrcweir	{
109*57b6b03fSmseidel		HelpID = "dbaccess:PushButton:DLG_COLLECTION_VIEW:BTN_EXPLORERFILE_SAVE" ;
110*57b6b03fSmseidel		Pos = MAP_APPFONT ( WIN_X - 2 * UNRELATED_CONTROLS - RELATED_CONTROLS - 150, WIN_Y - UNRELATED_CONTROLS - BUTTON_HEIGHT ) ;
111*57b6b03fSmseidel		Size = MAP_APPFONT ( 50, BUTTON_HEIGHT ) ;
112cdf0e10cSrcweir		DefButton = TRUE ;
113cdf0e10cSrcweir		TabStop = TRUE ;
114cdf0e10cSrcweir		Text [ en-US ] = "Save" ;
115cdf0e10cSrcweir	};
116*57b6b03fSmseidel
117cdf0e10cSrcweir	CancelButton PB_CANCEL
118cdf0e10cSrcweir	{
119cdf0e10cSrcweir		TabStop = TRUE ;
120*57b6b03fSmseidel		Pos = MAP_APPFONT ( WIN_X - 2 * UNRELATED_CONTROLS - 100, WIN_Y - UNRELATED_CONTROLS - BUTTON_HEIGHT ) ;
121*57b6b03fSmseidel		Size = MAP_APPFONT ( 50, BUTTON_HEIGHT ) ;
122cdf0e10cSrcweir	};
123*57b6b03fSmseidel
124cdf0e10cSrcweir	HelpButton PB_HELP
125cdf0e10cSrcweir	{
126cdf0e10cSrcweir		TabStop = TRUE ;
127*57b6b03fSmseidel		Pos = MAP_APPFONT ( WIN_X - UNRELATED_CONTROLS - 50, WIN_Y - UNRELATED_CONTROLS - BUTTON_HEIGHT ) ;
128*57b6b03fSmseidel		Size = MAP_APPFONT ( 50, BUTTON_HEIGHT ) ;
129cdf0e10cSrcweir	};
130*57b6b03fSmseidel
131*57b6b03fSmseidel
132cdf0e10cSrcweir	String STR_PATHNAME
133cdf0e10cSrcweir	{
134cdf0e10cSrcweir		Text [ en-US ] = "~Path:" ;
135cdf0e10cSrcweir	};
136cdf0e10cSrcweir};
137cdf0e10cSrcweir
138cdf0e10cSrcweirString STR_NEW_FOLDER
139cdf0e10cSrcweir{
140cdf0e10cSrcweir	Text [ en-US ] = "Folder" ;
141cdf0e10cSrcweir};
142cdf0e10cSrcweirImage IMG_NAVIGATION_BTN_UP_SC
143cdf0e10cSrcweir{
144*57b6b03fSmseidel	ImageBitmap = Bitmap {File = "fp010" ;} ;
145cdf0e10cSrcweir};
146cdf0e10cSrcweirImage IMG_NAVIGATION_BTN_UP_SCH
147cdf0e10cSrcweir{
148*57b6b03fSmseidel	ImageBitmap = Bitmap {File = "fph010" ;} ;
149cdf0e10cSrcweir};
150cdf0e10cSrcweirImage IMG_NAVIGATION_CREATEFOLDER_SC
151cdf0e10cSrcweir{
152*57b6b03fSmseidel	ImageBitmap = Bitmap {File = "fp015" ;} ;
153cdf0e10cSrcweir};
154cdf0e10cSrcweirImage IMG_NAVIGATION_CREATEFOLDER_SCH
155cdf0e10cSrcweir{
156*57b6b03fSmseidel	ImageBitmap = Bitmap {File = "fph015" ;} ;
157cdf0e10cSrcweir};
158cdf0e10cSrcweir
159cdf0e10cSrcweirString STR_ALREADYEXISTOVERWRITE
160cdf0e10cSrcweir{
161cdf0e10cSrcweir	Text [ en-US ] = "The file already exists. Overwrite?" ;
162cdf0e10cSrcweir};
163cdf0e10cSrcweir
164*57b6b03fSmseidel// ********************************************************************** EOF
165