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