summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/CollectionView.src
blob: 32dde6fadfe126fd304dbdbfebe623b55341be41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
/*************************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * Copyright 2008 by Sun Microsystems, Inc.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * $RCSfile: CollectionView.src,v $
 * $Revision: 1.7 $
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************/

#ifndef _DBU_DLG_HRC_
#include "dbu_dlg.hrc"
#endif
#include "dbaccess_helpid.hrc"
#include "CollectionView.hrc"

#define WIN_X   200
#define WIN_Y   192

#define CHECKBOX_HEIGHT     8
#define FIXEDTEXT_HEIGHT    8
#define RELATED_CONTROLS    4
#define UNRELATED_CONTROLS  7
#define EDIT_HEIGHT         12
#define BUTTON_HEIGHT       14
#define FIXEDLINE_HEIGHT    1
#define IMG_SIZE            15


ModalDialog DLG_COLLECTION_VIEW
{
    OutputSize = TRUE ;
    SVLook = TRUE ;
    Moveable = TRUE ;
    Closeable = TRUE ;
    //Sizeable = TRUE;
    HelpId = HID_EXPLORERDLG_COLLECTION ;

    Size = MAP_APPFONT ( WIN_X , WIN_Y ) ;
    Text [ en-US ] = "Save" ;

    FixedText FT_EXPLORERFILE_CURRENTPATH
    {
        Pos = MAP_APPFONT ( UNRELATED_CONTROLS , UNRELATED_CONTROLS ) ;
        Size = MAP_APPFONT ( 100 , FIXEDTEXT_HEIGHT ) ;
        NoLabel = TRUE ;
    };
    ImageButton BTN_EXPLORERFILE_NEWFOLDER
    {
        TabStop = FALSE ;
        Pos = MAP_APPFONT ( WIN_X - UNRELATED_CONTROLS -  RELATED_CONTROLS - 2*IMG_SIZE, UNRELATED_CONTROLS ) ;
        Size = MAP_APPFONT ( IMG_SIZE , IMG_SIZE ) ;
        QuickHelpText [ en-US ] = "Create New Directory" ;
    };
    ImageButton BTN_EXPLORERFILE_UP
    {
        TabStop = TRUE ;
        Pos = MAP_APPFONT ( WIN_X - UNRELATED_CONTROLS - IMG_SIZE, UNRELATED_CONTROLS ) ;
        Size = MAP_APPFONT ( IMG_SIZE , IMG_SIZE ) ;
        QuickHelpText [ en-US ] = "Up One Level" ;
    };

    Control CTRL_VIEW
    {
        TabStop = TRUE ;
        Pos = MAP_APPFONT ( UNRELATED_CONTROLS , 2*UNRELATED_CONTROLS + IMG_SIZE) ;
        Size = MAP_APPFONT ( WIN_X - 2*UNRELATED_CONTROLS , WIN_Y - 6*UNRELATED_CONTROLS - BUTTON_HEIGHT - IMG_SIZE - EDIT_HEIGHT - FIXEDTEXT_HEIGHT) ;
        Border = TRUE ;
    };

    FixedText FT_EXPLORERFILE_FILENAME
    {
        Pos = MAP_APPFONT ( UNRELATED_CONTROLS , WIN_Y - 3*UNRELATED_CONTROLS - BUTTON_HEIGHT - FIXEDLINE_HEIGHT - EDIT_HEIGHT ) ;
        Size = MAP_APPFONT ( 50 , FIXEDTEXT_HEIGHT ) ;
        Text [ en-US ] = "File ~name:" ;
    };
    Edit ED_EXPLORERFILE_FILENAME
    {
        Pos = MAP_APPFONT ( RELATED_CONTROLS + UNRELATED_CONTROLS + 50 , WIN_Y - 3*UNRELATED_CONTROLS - BUTTON_HEIGHT - FIXEDLINE_HEIGHT - EDIT_HEIGHT) ;
        Size = MAP_APPFONT ( WIN_X - RELATED_CONTROLS - 2*UNRELATED_CONTROLS - 50 , EDIT_HEIGHT ) ;
        Border = TRUE ;
        TabStop = TRUE ;
    };

    FixedLine FL_1
    {
        Pos = MAP_APPFONT ( 0 , WIN_Y - 2*UNRELATED_CONTROLS - BUTTON_HEIGHT - FIXEDLINE_HEIGHT) ;
        Size = MAP_APPFONT ( WIN_X , FIXEDLINE_HEIGHT ) ;
    };

    PushButton BTN_EXPLORERFILE_SAVE
    {
        Pos = MAP_APPFONT ( WIN_X - 2*UNRELATED_CONTROLS - RELATED_CONTROLS - 150, WIN_Y - UNRELATED_CONTROLS - BUTTON_HEIGHT ) ;
        Size = MAP_APPFONT ( 50 , BUTTON_HEIGHT ) ;
        DefButton = TRUE ;
        TabStop = TRUE ;
        Text [ en-US ] = "Save" ;
    };

    CancelButton PB_CANCEL
    {
        TabStop = TRUE ;
        Pos = MAP_APPFONT ( WIN_X - 2*UNRELATED_CONTROLS - 100, WIN_Y - UNRELATED_CONTROLS - BUTTON_HEIGHT ) ;
        Size = MAP_APPFONT ( 50 , BUTTON_HEIGHT ) ;
    };

    HelpButton PB_HELP
    {
        TabStop = TRUE ;
        Pos = MAP_APPFONT ( WIN_X - UNRELATED_CONTROLS - 50, WIN_Y - UNRELATED_CONTROLS - BUTTON_HEIGHT ) ;
        Size = MAP_APPFONT ( 50 , BUTTON_HEIGHT ) ;
    };


    String STR_PATHNAME
    {
        Text [ en-US ] = "~Path:" ;
    };
};

String STR_NEW_FOLDER
{
    Text [ en-US ] = "Folder" ;
};
Image IMG_NAVIGATION_BTN_UP_SC
{
    ImageBitmap = Bitmap { File = "fp010"; };
    MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
};
Image IMG_NAVIGATION_BTN_UP_SCH
{
    ImageBitmap = Bitmap { File = "fph010"; };
    MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
};
Image IMG_NAVIGATION_CREATEFOLDER_SC
{
    ImageBitmap = Bitmap { File = "fp015"; };
    MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
};
Image IMG_NAVIGATION_CREATEFOLDER_SCH
{
    ImageBitmap = Bitmap { File = "fph015"; };
    MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
};

String STR_ALREADYEXISTOVERWRITE
{
    Text [ en-US ] = "The file already exists. Overwrite?" ;
};