1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: doclinkdialog.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #include <svx/dialogs.hrc>
32 #ifndef _SVX_DOCLINKDIALOG_HRC_
33 #include "doclinkdialog.hrc"
36 #define DIALOG_SIZE_X 200
37 #define DIALOG_SIZE_Y 94
38 #define BUTTON_SIZE_X 50
39 #define BUTTON_SIZE_Y 14
41 #define LABEL_WIDTH 50
43 #define HEIGHT_LABEL 8
44 #define HEIGHT_EDIT 12
47 #define LINE_2_Y LINE_1_Y + HEIGHT_EDIT + 4
50 ModalDialog DLG_DOCUMENTLINK
54 Size = MAP_APPFONT ( DIALOG_SIZE_X , DIALOG_SIZE_Y ) ;
62 Pos = MAP_APPFONT ( 6, LINE_1_Y ) ;
63 Size = MAP_APPFONT ( DIALOG_SIZE_X - 6, HEIGHT_LABEL ) ;
66 Text [ en-US ] = "~Database file";
70 Pos = MAP_APPFONT ( 6 , LINE_1_Y + OFFSET_Y + HEIGHT_LABEL - 3) ;
71 Size = MAP_APPFONT ( DIALOG_SIZE_X - 3*LINE_1_Y - BUTTON_SIZE_X , HEIGHT_EDIT ) ;
79 PushButton PB_BROWSEFILE
81 Pos = MAP_APPFONT ( DIALOG_SIZE_X - BUTTON_SIZE_X - 6 , LINE_1_Y + OFFSET_Y + HEIGHT_LABEL - 4) ;
82 Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y );
83 Text [ en-US ] = "~Browse...";
88 Pos = MAP_APPFONT ( 6, LINE_1_Y + 2*OFFSET_Y + HEIGHT_LABEL + BUTTON_SIZE_Y - 3) ;
89 Size = MAP_APPFONT ( DIALOG_SIZE_X - 6, HEIGHT_LABEL ) ;
92 Text [ en-US ] = "Registered ~name";
96 Pos = MAP_APPFONT ( 6, LINE_1_Y + 3*OFFSET_Y + 2*HEIGHT_LABEL + BUTTON_SIZE_Y - 6) ;
97 Size = MAP_APPFONT ( DIALOG_SIZE_X - 3*LINE_1_Y - BUTTON_SIZE_X , HEIGHT_EDIT ) ;
104 Pos = MAP_APPFONT ( 4, LINE_1_Y + 4*OFFSET_Y + 2*HEIGHT_LABEL + BUTTON_SIZE_Y + HEIGHT_EDIT - 6);
105 Size = MAP_APPFONT ( DIALOG_SIZE_X - 8, 8 );
110 Pos = MAP_APPFONT ( DIALOG_SIZE_X - 3 * ( BUTTON_SIZE_X + 3 ) - 6, DIALOG_SIZE_Y - 6 - BUTTON_SIZE_Y );
111 Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y );
114 CancelButton BTN_CANCEL
116 Pos = MAP_APPFONT ( DIALOG_SIZE_X - 2 * ( BUTTON_SIZE_X + 3 ) - 6, DIALOG_SIZE_Y - 6 - BUTTON_SIZE_Y );
117 Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y );
121 Pos = MAP_APPFONT ( DIALOG_SIZE_X - 1 * ( BUTTON_SIZE_X + 3 ) - 3, DIALOG_SIZE_Y - 6 - BUTTON_SIZE_Y );
122 Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y );
127 Text [ en-US ] = "Edit Database Link";
131 Text [ en-US ] = "Create Database Link";
135 String STR_LINKEDDOC_DOESNOTEXIST
137 Text [ en-US ] = "The file\n$file$\ndoes not exist.";
140 String STR_LINKEDDOC_NO_SYSTEM_FILE
142 Text [ en-US ] = "The file\n$file$\ndoes not exist in the local file system.";
145 String STR_NAME_CONFLICT
147 Text [ en-US ] = "The name '$file$' is already used for another database.\nPlease choose a different name.";
150 QueryBox QUERY_DELETE_CONFIRM
152 Buttons = WB_YES_NO ;
153 Message [ en-US ] = "Do you want to delete the entry?" ;