2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include "doclinkdialog.hrc"
22 #define DIALOG_SIZE_X 200
23 #define DIALOG_SIZE_Y 94
24 #define BUTTON_SIZE_X 50
25 #define BUTTON_SIZE_Y 14
27 #define LABEL_WIDTH 50
29 #define HEIGHT_LABEL 8
30 #define HEIGHT_EDIT 12
35 ModalDialog DLG_DOCUMENTLINK
37 HelpID = "cui:ModalDialog:DLG_DOCUMENTLINK";
40 Size = MAP_APPFONT ( DIALOG_SIZE_X , DIALOG_SIZE_Y ) ;
48 Pos = MAP_APPFONT ( 6, LINE_1_Y ) ;
49 Size = MAP_APPFONT ( DIALOG_SIZE_X - 6, HEIGHT_LABEL ) ;
52 Text [ en-US ] = "~Database file";
56 HelpID = "cui:ComboBox:DLG_DOCUMENTLINK:CMB_URL";
57 Pos = MAP_APPFONT ( 6 , LINE_1_Y + OFFSET_Y + HEIGHT_LABEL - 3) ;
58 Size = MAP_APPFONT ( DIALOG_SIZE_X - 3*LINE_1_Y - BUTTON_SIZE_X , HEIGHT_EDIT ) ;
66 PushButton PB_BROWSEFILE
68 HelpID = "cui:PushButton:DLG_DOCUMENTLINK:PB_BROWSEFILE";
69 Pos = MAP_APPFONT ( DIALOG_SIZE_X - BUTTON_SIZE_X - 6 , LINE_1_Y + OFFSET_Y + HEIGHT_LABEL - 4) ;
70 Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y );
71 Text [ en-US ] = "~Browse...";
76 Pos = MAP_APPFONT ( 6, LINE_1_Y + 2*OFFSET_Y + HEIGHT_LABEL + BUTTON_SIZE_Y - 3) ;
77 Size = MAP_APPFONT ( DIALOG_SIZE_X - 6, HEIGHT_LABEL ) ;
80 Text [ en-US ] = "Registered ~name";
84 HelpID = "cui:Edit:DLG_DOCUMENTLINK:ET_NAME";
85 Pos = MAP_APPFONT ( 6, LINE_1_Y + 3*OFFSET_Y + 2*HEIGHT_LABEL + BUTTON_SIZE_Y - 6) ;
86 Size = MAP_APPFONT ( DIALOG_SIZE_X - 3*LINE_1_Y - BUTTON_SIZE_X , HEIGHT_EDIT ) ;
93 Pos = MAP_APPFONT ( 4, LINE_1_Y + 4*OFFSET_Y + 2*HEIGHT_LABEL + BUTTON_SIZE_Y + HEIGHT_EDIT - 6);
94 Size = MAP_APPFONT ( DIALOG_SIZE_X - 8, 8 );
99 Pos = MAP_APPFONT ( DIALOG_SIZE_X - 3 * ( BUTTON_SIZE_X + 3 ) - 6, DIALOG_SIZE_Y - 6 - BUTTON_SIZE_Y );
100 Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y );
103 CancelButton BTN_CANCEL
105 Pos = MAP_APPFONT ( DIALOG_SIZE_X - 2 * ( BUTTON_SIZE_X + 3 ) - 6, DIALOG_SIZE_Y - 6 - BUTTON_SIZE_Y );
106 Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y );
110 Pos = MAP_APPFONT ( DIALOG_SIZE_X - 1 * ( BUTTON_SIZE_X + 3 ) - 3, DIALOG_SIZE_Y - 6 - BUTTON_SIZE_Y );
111 Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y );
116 Text [ en-US ] = "Edit Database Link";
120 Text [ en-US ] = "Create Database Link";
124 String STR_LINKEDDOC_DOESNOTEXIST
126 Text [ en-US ] = "The file\n$file$\ndoes not exist.";
129 String STR_LINKEDDOC_NO_SYSTEM_FILE
131 Text [ en-US ] = "The file\n$file$\ndoes not exist in the local file system.";
134 String STR_NAME_CONFLICT
136 Text [ en-US ] = "The name '$file$' is already used for another database.\nPlease choose a different name.";
139 QueryBox QUERY_DELETE_CONFIRM
141 Buttons = WB_YES_NO ;
142 Message [ en-US ] = "Do you want to delete the entry?" ;