doclinkdialog.src (0e2af6af) | doclinkdialog.src (3009d07a) |
---|---|
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 | 20 *************************************************************/ 21 |
22 23 | |
24#include <cuires.hrc> 25#ifndef _SVX_DOCLINKDIALOG_HRC_ 26#include "doclinkdialog.hrc" 27#endif 28 29#define DIALOG_SIZE_X 200 30#define DIALOG_SIZE_Y 94 31#define BUTTON_SIZE_X 50 --- 5 unchanged lines hidden (view full) --- 37#define HEIGHT_EDIT 12 38 39#define LINE_1_Y 6 40#define LINE_2_Y LINE_1_Y + HEIGHT_EDIT + 4 41#define OFFSET_Y 6 42 43ModalDialog DLG_DOCUMENTLINK 44{ | 22#include <cuires.hrc> 23#ifndef _SVX_DOCLINKDIALOG_HRC_ 24#include "doclinkdialog.hrc" 25#endif 26 27#define DIALOG_SIZE_X 200 28#define DIALOG_SIZE_Y 94 29#define BUTTON_SIZE_X 50 --- 5 unchanged lines hidden (view full) --- 35#define HEIGHT_EDIT 12 36 37#define LINE_1_Y 6 38#define LINE_2_Y LINE_1_Y + HEIGHT_EDIT + 4 39#define OFFSET_Y 6 40 41ModalDialog DLG_DOCUMENTLINK 42{ |
45 HelpID = "cui:ModalDialog:DLG_DOCUMENTLINK"; | 43 HelpID = "cui:ModalDialog:DLG_DOCUMENTLINK" ; |
46 OutputSize = TRUE ; 47 SVLook = TRUE ; | 44 OutputSize = TRUE ; 45 SVLook = TRUE ; |
48 Size = MAP_APPFONT ( DIALOG_SIZE_X , DIALOG_SIZE_Y ) ; 49 | 46 Size = MAP_APPFONT ( DIALOG_SIZE_X, DIALOG_SIZE_Y ) ; 47 |
50 Moveable = TRUE ; 51 Closeable = TRUE ; | 48 Moveable = TRUE ; 49 Closeable = TRUE ; |
52 | 50 |
53 FixedText FT_URL 54 { | 51 FixedText FT_URL 52 { |
55 | 53 |
56 Pos = MAP_APPFONT ( 6, LINE_1_Y ) ; 57 Size = MAP_APPFONT ( DIALOG_SIZE_X - 6, HEIGHT_LABEL ) ; | 54 Pos = MAP_APPFONT ( 6, LINE_1_Y ) ; 55 Size = MAP_APPFONT ( DIALOG_SIZE_X - 6, HEIGHT_LABEL ) ; |
58 Group = TRUE; | 56 Group = TRUE ; |
59 | 57 |
60 Text [ en-US ] = "~Database file"; | 58 Text [ en-US ] = "~Database file" ; |
61 }; 62 ComboBox CMB_URL 63 { | 59 }; 60 ComboBox CMB_URL 61 { |
64 HelpID = "cui:ComboBox:DLG_DOCUMENTLINK:CMB_URL"; 65 Pos = MAP_APPFONT ( 6 , LINE_1_Y + OFFSET_Y + HEIGHT_LABEL - 3) ; 66 Size = MAP_APPFONT ( DIALOG_SIZE_X - 3*LINE_1_Y - BUTTON_SIZE_X , HEIGHT_EDIT ) ; | 62 HelpID = "cui:ComboBox:DLG_DOCUMENTLINK:CMB_URL" ; 63 Pos = MAP_APPFONT ( 6, LINE_1_Y + OFFSET_Y + HEIGHT_LABEL - 3) ; 64 Size = MAP_APPFONT ( DIALOG_SIZE_X - 3*LINE_1_Y - BUTTON_SIZE_X, HEIGHT_EDIT ) ; |
67 68 SVLook = TRUE ; 69 Border = TRUE ; 70 DropDown = TRUE ; 71 AutoHScroll = TRUE ; 72 TabStop = TRUE ; 73 }; 74 PushButton PB_BROWSEFILE 75 { | 65 66 SVLook = TRUE ; 67 Border = TRUE ; 68 DropDown = TRUE ; 69 AutoHScroll = TRUE ; 70 TabStop = TRUE ; 71 }; 72 PushButton PB_BROWSEFILE 73 { |
76 HelpID = "cui:PushButton:DLG_DOCUMENTLINK:PB_BROWSEFILE"; 77 Pos = MAP_APPFONT ( DIALOG_SIZE_X - BUTTON_SIZE_X - 6 , LINE_1_Y + OFFSET_Y + HEIGHT_LABEL - 4) ; 78 Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y ); 79 Text [ en-US ] = "~Browse..."; | 74 HelpID = "cui:PushButton:DLG_DOCUMENTLINK:PB_BROWSEFILE" ; 75 Pos = MAP_APPFONT ( DIALOG_SIZE_X - BUTTON_SIZE_X - 6, LINE_1_Y + OFFSET_Y + HEIGHT_LABEL - 4) ; 76 Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y ) ; 77 Text [ en-US ] = "~Browse..." ; |
80 }; 81 82 FixedText FT_NAME 83 { 84 Pos = MAP_APPFONT ( 6, LINE_1_Y + 2*OFFSET_Y + HEIGHT_LABEL + BUTTON_SIZE_Y - 3) ; 85 Size = MAP_APPFONT ( DIALOG_SIZE_X - 6, HEIGHT_LABEL ) ; | 78 }; 79 80 FixedText FT_NAME 81 { 82 Pos = MAP_APPFONT ( 6, LINE_1_Y + 2*OFFSET_Y + HEIGHT_LABEL + BUTTON_SIZE_Y - 3) ; 83 Size = MAP_APPFONT ( DIALOG_SIZE_X - 6, HEIGHT_LABEL ) ; |
86 Group = TRUE; | 84 Group = TRUE ; |
87 | 85 |
88 Text [ en-US ] = "Registered ~name"; | 86 Text [ en-US ] = "Registered ~name" ; |
89 }; 90 Edit ET_NAME 91 { | 87 }; 88 Edit ET_NAME 89 { |
92 HelpID = "cui:Edit:DLG_DOCUMENTLINK:ET_NAME"; | 90 HelpID = "cui:Edit:DLG_DOCUMENTLINK:ET_NAME" ; |
93 Pos = MAP_APPFONT ( 6, LINE_1_Y + 3*OFFSET_Y + 2*HEIGHT_LABEL + BUTTON_SIZE_Y - 6) ; | 91 Pos = MAP_APPFONT ( 6, LINE_1_Y + 3*OFFSET_Y + 2*HEIGHT_LABEL + BUTTON_SIZE_Y - 6) ; |
94 Size = MAP_APPFONT ( DIALOG_SIZE_X - 3*LINE_1_Y - BUTTON_SIZE_X , HEIGHT_EDIT ) ; | 92 Size = MAP_APPFONT ( DIALOG_SIZE_X - 3*LINE_1_Y - BUTTON_SIZE_X, HEIGHT_EDIT ) ; |
95 TabStop = TRUE ; 96 Border = TRUE ; 97 }; | 93 TabStop = TRUE ; 94 Border = TRUE ; 95 }; |
98 | 96 |
99 FixedLine FL_BOTTOM 100 { | 97 FixedLine FL_BOTTOM 98 { |
101 Pos = MAP_APPFONT ( 4, LINE_1_Y + 4*OFFSET_Y + 2*HEIGHT_LABEL + BUTTON_SIZE_Y + HEIGHT_EDIT - 6); 102 Size = MAP_APPFONT ( DIALOG_SIZE_X - 8, 8 ); | 99 Pos = MAP_APPFONT ( 4, LINE_1_Y + 4*OFFSET_Y + 2*HEIGHT_LABEL + BUTTON_SIZE_Y + HEIGHT_EDIT - 6) ; 100 Size = MAP_APPFONT ( DIALOG_SIZE_X - 8, 8 ) ; |
103 }; 104 105 OKButton BTN_OK 106 { | 101 }; 102 103 OKButton BTN_OK 104 { |
107 Pos = MAP_APPFONT ( DIALOG_SIZE_X - 3 * ( BUTTON_SIZE_X + 3 ) - 6, DIALOG_SIZE_Y - 6 - BUTTON_SIZE_Y ); 108 Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y ); 109 DefButton = TRUE; | 105 Pos = MAP_APPFONT ( DIALOG_SIZE_X - 3 * ( BUTTON_SIZE_X + 3 ) - 6, DIALOG_SIZE_Y - 6 - BUTTON_SIZE_Y ) ; 106 Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y ) ; 107 DefButton = TRUE ; |
110 }; 111 CancelButton BTN_CANCEL 112 { | 108 }; 109 CancelButton BTN_CANCEL 110 { |
113 Pos = MAP_APPFONT ( DIALOG_SIZE_X - 2 * ( BUTTON_SIZE_X + 3 ) - 6, DIALOG_SIZE_Y - 6 - BUTTON_SIZE_Y ); 114 Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y ); | 111 Pos = MAP_APPFONT ( DIALOG_SIZE_X - 2 * ( BUTTON_SIZE_X + 3 ) - 6, DIALOG_SIZE_Y - 6 - BUTTON_SIZE_Y ) ; 112 Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y ) ; |
115 }; 116 HelpButton BTN_HELP 117 { | 113 }; 114 HelpButton BTN_HELP 115 { |
118 Pos = MAP_APPFONT ( DIALOG_SIZE_X - 1 * ( BUTTON_SIZE_X + 3 ) - 3, DIALOG_SIZE_Y - 6 - BUTTON_SIZE_Y ); 119 Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y ); | 116 Pos = MAP_APPFONT ( DIALOG_SIZE_X - 1 * ( BUTTON_SIZE_X + 3 ) - 3, DIALOG_SIZE_Y - 6 - BUTTON_SIZE_Y ) ; 117 Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y ) ; |
120 }; 121 122 String STR_EDIT_LINK 123 { | 118 }; 119 120 String STR_EDIT_LINK 121 { |
124 Text [ en-US ] = "Edit Database Link"; | 122 Text [ en-US ] = "Edit Database Link" ; |
125 }; 126 String STR_NEW_LINK 127 { | 123 }; 124 String STR_NEW_LINK 125 { |
128 Text [ en-US ] = "Create Database Link"; | 126 Text [ en-US ] = "Create Database Link" ; |
129 }; 130}; 131 132String STR_LINKEDDOC_DOESNOTEXIST 133{ | 127 }; 128}; 129 130String STR_LINKEDDOC_DOESNOTEXIST 131{ |
134 Text [ en-US ] = "The file\n$file$\ndoes not exist."; | 132 Text [ en-US ] = "The file\n$file$\ndoes not exist." ; |
135}; 136 137String STR_LINKEDDOC_NO_SYSTEM_FILE 138{ | 133}; 134 135String STR_LINKEDDOC_NO_SYSTEM_FILE 136{ |
139 Text [ en-US ] = "The file\n$file$\ndoes not exist in the local file system."; | 137 Text [ en-US ] = "The file\n$file$\ndoes not exist in the local file system." ; |
140}; 141 142String STR_NAME_CONFLICT 143{ | 138}; 139 140String STR_NAME_CONFLICT 141{ |
144 Text [ en-US ] = "The name '$file$' is already used for another database.\nPlease choose a different name."; | 142 Text [ en-US ] = "The name '$file$' is already used for another database.\nPlease choose a different name." ; |
145}; 146 147QueryBox QUERY_DELETE_CONFIRM 148{ 149 Buttons = WB_YES_NO ; 150 Message [ en-US ] = "Do you want to delete the entry?" ; 151}; | 143}; 144 145QueryBox QUERY_DELETE_CONFIRM 146{ 147 Buttons = WB_YES_NO ; 148 Message [ en-US ] = "Do you want to delete the entry?" ; 149}; |
150 151// ********************************************************************** EOF |
|