xref: /AOO42X/main/svtools/source/contnr/fileview.src (revision cd05c504b037db435a06f23a710f95eacc36e750)
13c07ef42SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
33c07ef42SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
43c07ef42SAndrew Rist * or more contributor license agreements.  See the NOTICE file
53c07ef42SAndrew Rist * distributed with this work for additional information
63c07ef42SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
73c07ef42SAndrew Rist * to you under the Apache License, Version 2.0 (the
83c07ef42SAndrew Rist * "License"); you may not use this file except in compliance
93c07ef42SAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
113c07ef42SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
133c07ef42SAndrew Rist * Unless required by applicable law or agreed to in writing,
143c07ef42SAndrew Rist * software distributed under the License is distributed on an
153c07ef42SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
163c07ef42SAndrew Rist * KIND, either express or implied.  See the License for the
173c07ef42SAndrew Rist * specific language governing permissions and limitations
183c07ef42SAndrew Rist * under the License.
19cdf0e10cSrcweir *
203c07ef42SAndrew Rist *************************************************************/
213c07ef42SAndrew Rist
223c07ef42SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir// includes ------------------------------------------------------------------
25cdf0e10cSrcweir
26cdf0e10cSrcweir#include <svtools/svtools.hrc>
27cdf0e10cSrcweir#include "fileview.hrc"
28cdf0e10cSrcweir#include <svtools/helpid.hrc>
29cdf0e10cSrcweir
30cdf0e10cSrcweir// strings --------------------------------------------------------------------
31cdf0e10cSrcweir
32cdf0e10cSrcweirString STR_SVT_FILEVIEW_COLUMN_TITLE
33cdf0e10cSrcweir{
34394b79b0SAriel Constenla-Haile    Text [ en-US ] = "Name" ;
35cdf0e10cSrcweir};
36cdf0e10cSrcweir
37cdf0e10cSrcweirString STR_SVT_FILEVIEW_COLUMN_SIZE
38cdf0e10cSrcweir{
39cdf0e10cSrcweir    Text [ en-US ] = "Size" ;
40cdf0e10cSrcweir};
41cdf0e10cSrcweir
42cdf0e10cSrcweirString STR_SVT_FILEVIEW_COLUMN_DATE
43cdf0e10cSrcweir{
44cdf0e10cSrcweir    Text [ en-US ] = "Date modified" ;
45cdf0e10cSrcweir};
46cdf0e10cSrcweir
47cdf0e10cSrcweirString STR_SVT_FILEVIEW_COLUMN_TYPE
48cdf0e10cSrcweir{
49cdf0e10cSrcweir    Text [ en-US ] = "Type" ;
50cdf0e10cSrcweir};
51cdf0e10cSrcweir
52cdf0e10cSrcweirString STR_SVT_FILEVIEW_ERR_MAKEFOLDER
53cdf0e10cSrcweir{
54cdf0e10cSrcweir    Text [ en-US ] = "Could not create the folder %1." ;
55cdf0e10cSrcweir};
56cdf0e10cSrcweir
57cdf0e10cSrcweirString STR_SVT_BYTES
58cdf0e10cSrcweir{
59cdf0e10cSrcweir    Text [ en-US ] = "Bytes" ;
60cdf0e10cSrcweir};
61cdf0e10cSrcweir
62cdf0e10cSrcweirString STR_SVT_KB
63cdf0e10cSrcweir{
64cdf0e10cSrcweir    Text [ en-US ] = "KB" ;
65cdf0e10cSrcweir};
66cdf0e10cSrcweir
67cdf0e10cSrcweirString STR_SVT_MB
68cdf0e10cSrcweir{
69cdf0e10cSrcweir    Text [ en-US ] = "MB" ;
70cdf0e10cSrcweir};
71cdf0e10cSrcweir
72cdf0e10cSrcweir
73cdf0e10cSrcweirString STR_SVT_GB
74cdf0e10cSrcweir{
75cdf0e10cSrcweir    Text [ en-US ] = "GB" ;
76cdf0e10cSrcweir};
77cdf0e10cSrcweir
78cdf0e10cSrcweir// Images ---------------------------------------------------------------------
79cdf0e10cSrcweir
80cdf0e10cSrcweirImage IMG_SVT_FOLDER
81cdf0e10cSrcweir{
82ca6cfdb2Smseidel    ImageBitmap = Bitmap { File = "folder.png" ; };
83cdf0e10cSrcweir};
84cdf0e10cSrcweir
85cdf0e10cSrcweir// Menus -----------------------------------------------------------------
86cdf0e10cSrcweir
87cdf0e10cSrcweirMenu RID_FILEVIEW_CONTEXTMENU
88cdf0e10cSrcweir{
89cdf0e10cSrcweir    ItemList =
90cdf0e10cSrcweir    {
91cdf0e10cSrcweir        MenuItem
92cdf0e10cSrcweir        {
93cdf0e10cSrcweir            Identifier = MID_FILEVIEW_DELETE ;
94cdf0e10cSrcweir            HelpId = HID_FILEVIEW_MENU_DELETE ;
95cdf0e10cSrcweir            Text [ en-US ] = "~Delete" ;
96cdf0e10cSrcweir        };
97cdf0e10cSrcweir        MenuItem
98cdf0e10cSrcweir        {
99cdf0e10cSrcweir            Identifier = MID_FILEVIEW_RENAME ;
100cdf0e10cSrcweir            HelpId = HID_FILEVIEW_MENU_RENAME ;
101cdf0e10cSrcweir            Text [ en-US ] = "~Rename" ;
102cdf0e10cSrcweir        };
103cdf0e10cSrcweir    };
104cdf0e10cSrcweir};
105cdf0e10cSrcweir
106cdf0e10cSrcweirModalDialog DLG_SVT_QUERYDELETE
107cdf0e10cSrcweir{
108cdf0e10cSrcweir    HelpID = "svtools:ModalDialog:DLG_SVT_QUERYDELETE" ;
109cdf0e10cSrcweir    SVLook = TRUE ;
110cdf0e10cSrcweir    OutputSize = TRUE ;
111cdf0e10cSrcweir    Moveable = TRUE ;
112cdf0e10cSrcweir    Size = MAP_APPFONT ( 221, 67 ) ;
113cdf0e10cSrcweir    Text [ en-US ] = "Confirm Delete" ;
114cdf0e10cSrcweir
115cdf0e10cSrcweir    FixedText TXT_ENTRY
116cdf0e10cSrcweir    {
117cdf0e10cSrcweir        NoLabel = TRUE ;
118cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 6 ) ;
119cdf0e10cSrcweir        Size = MAP_APPFONT ( 40, 10 ) ;
120cdf0e10cSrcweir        Text [ en-US ] = "Entry:" ;
121cdf0e10cSrcweir    };
122cdf0e10cSrcweir
123cdf0e10cSrcweir    FixedText TXT_ENTRYNAME
124cdf0e10cSrcweir    {
125cdf0e10cSrcweir        Pos = MAP_APPFONT ( 52, 6 ) ;
126cdf0e10cSrcweir        Size = MAP_APPFONT ( 163, 10 ) ;
127cdf0e10cSrcweir        NoLabel = TRUE ;
128cdf0e10cSrcweir    };
129cdf0e10cSrcweir
130cdf0e10cSrcweir    FixedText TXT_QUERYMSG
131cdf0e10cSrcweir    {
132cdf0e10cSrcweir        NoLabel = TRUE ;
133cdf0e10cSrcweir        WordBreak = TRUE ;
134cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 19 ) ;
135cdf0e10cSrcweir        Size = MAP_APPFONT ( 209, 22 ) ;
136cdf0e10cSrcweir        Text [ en-US ] = "Are you sure you want to delete the selected data?" ;
137cdf0e10cSrcweir    };
138cdf0e10cSrcweir
139cdf0e10cSrcweir    PushButton BTN_YES
140cdf0e10cSrcweir    {
141cdf0e10cSrcweir        HelpID = "svtools:PushButton:DLG_SVT_QUERYDELETE:BTN_YES" ;
142cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 47 ) ;
143cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
144cdf0e10cSrcweir        TabStop = TRUE ;
145cdf0e10cSrcweir        DefButton = TRUE ;
146cdf0e10cSrcweir        Text [ en-US ] = "~Delete" ;
147cdf0e10cSrcweir    };
148cdf0e10cSrcweir
149cdf0e10cSrcweir    PushButton BTN_ALL
150cdf0e10cSrcweir    {
151cdf0e10cSrcweir        HelpID = "svtools:PushButton:DLG_SVT_QUERYDELETE:BTN_ALL" ;
152cdf0e10cSrcweir        Pos = MAP_APPFONT ( 59, 47 ) ;
153cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
154cdf0e10cSrcweir        TabStop = TRUE ;
155cdf0e10cSrcweir        Disable = TRUE ;
156cdf0e10cSrcweir        Text [ en-US ] = "Delete ~All" ;
157cdf0e10cSrcweir    };
158cdf0e10cSrcweir
159cdf0e10cSrcweir    PushButton BTN_NO
160cdf0e10cSrcweir    {
161cdf0e10cSrcweir        HelpID = "svtools:PushButton:DLG_SVT_QUERYDELETE:BTN_NO" ;
162cdf0e10cSrcweir        Pos = MAP_APPFONT ( 112, 47 ) ;
163cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
164cdf0e10cSrcweir        TabStop = TRUE ;
165cdf0e10cSrcweir        Text [ en-US ] = "Do ~Not Delete" ;
166cdf0e10cSrcweir    };
167cdf0e10cSrcweir
168cdf0e10cSrcweir    CancelButton BTN_CANCEL
169cdf0e10cSrcweir    {
170cdf0e10cSrcweir        Pos = MAP_APPFONT ( 165, 47 ) ;
171cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
172cdf0e10cSrcweir        TabStop = TRUE ;
173cdf0e10cSrcweir    };
174cdf0e10cSrcweir};
175cdf0e10cSrcweir
176*cd05c504Smseidel// ********************************************************************** EOF
177