10e2af6afSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 30e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 40e2af6afSAndrew Rist * or more contributor license agreements. See the NOTICE file 50e2af6afSAndrew Rist * distributed with this work for additional information 60e2af6afSAndrew Rist * regarding copyright ownership. The ASF licenses this file 70e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the 80e2af6afSAndrew Rist * "License"); you may not use this file except in compliance 90e2af6afSAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 110e2af6afSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 130e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing, 140e2af6afSAndrew Rist * software distributed under the License is distributed on an 150e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 160e2af6afSAndrew Rist * KIND, either express or implied. See the License for the 170e2af6afSAndrew Rist * specific language governing permissions and limitations 180e2af6afSAndrew Rist * under the License. 19cdf0e10cSrcweir * 200e2af6afSAndrew Rist *************************************************************/ 210e2af6afSAndrew Rist 22cdf0e10cSrcweir#include <cuires.hrc> 23cdf0e10cSrcweir#ifndef _SVX_DOCLINKDIALOG_HRC_ 24cdf0e10cSrcweir#include "doclinkdialog.hrc" 25cdf0e10cSrcweir#endif 26cdf0e10cSrcweir 27cdf0e10cSrcweir#define DIALOG_SIZE_X 200 28cdf0e10cSrcweir#define DIALOG_SIZE_Y 94 29cdf0e10cSrcweir#define BUTTON_SIZE_X 50 30cdf0e10cSrcweir#define BUTTON_SIZE_Y 14 31cdf0e10cSrcweir 32cdf0e10cSrcweir#define LABEL_WIDTH 50 33cdf0e10cSrcweir 34cdf0e10cSrcweir#define HEIGHT_LABEL 8 35cdf0e10cSrcweir#define HEIGHT_EDIT 12 36cdf0e10cSrcweir 37cdf0e10cSrcweir#define LINE_1_Y 6 38cdf0e10cSrcweir#define LINE_2_Y LINE_1_Y + HEIGHT_EDIT + 4 39cdf0e10cSrcweir#define OFFSET_Y 6 40cdf0e10cSrcweir 41cdf0e10cSrcweirModalDialog DLG_DOCUMENTLINK 42cdf0e10cSrcweir{ 43cdf0e10cSrcweir HelpID = "cui:ModalDialog:DLG_DOCUMENTLINK" ; 44cdf0e10cSrcweir OutputSize = TRUE ; 45cdf0e10cSrcweir SVLook = TRUE ; 46cdf0e10cSrcweir Size = MAP_APPFONT ( DIALOG_SIZE_X, DIALOG_SIZE_Y ) ; 47cdf0e10cSrcweir 48cdf0e10cSrcweir Moveable = TRUE ; 49cdf0e10cSrcweir Closeable = TRUE ; 50cdf0e10cSrcweir 51cdf0e10cSrcweir FixedText FT_URL 52cdf0e10cSrcweir { 53cdf0e10cSrcweir 54cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, LINE_1_Y ) ; 55cdf0e10cSrcweir Size = MAP_APPFONT ( DIALOG_SIZE_X - 6, HEIGHT_LABEL ) ; 56cdf0e10cSrcweir Group = TRUE ; 57cdf0e10cSrcweir 58cdf0e10cSrcweir Text [ en-US ] = "~Database file" ; 59cdf0e10cSrcweir }; 60cdf0e10cSrcweir ComboBox CMB_URL 61cdf0e10cSrcweir { 62cdf0e10cSrcweir HelpID = "cui:ComboBox:DLG_DOCUMENTLINK:CMB_URL" ; 63cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, LINE_1_Y + OFFSET_Y + HEIGHT_LABEL - 3) ; 64cdf0e10cSrcweir Size = MAP_APPFONT ( DIALOG_SIZE_X - 3*LINE_1_Y - BUTTON_SIZE_X, HEIGHT_EDIT ) ; 65cdf0e10cSrcweir 66cdf0e10cSrcweir SVLook = TRUE ; 67cdf0e10cSrcweir Border = TRUE ; 68cdf0e10cSrcweir DropDown = TRUE ; 69cdf0e10cSrcweir AutoHScroll = TRUE ; 70cdf0e10cSrcweir TabStop = TRUE ; 71cdf0e10cSrcweir }; 72cdf0e10cSrcweir PushButton PB_BROWSEFILE 73cdf0e10cSrcweir { 74cdf0e10cSrcweir HelpID = "cui:PushButton:DLG_DOCUMENTLINK:PB_BROWSEFILE" ; 75cdf0e10cSrcweir Pos = MAP_APPFONT ( DIALOG_SIZE_X - BUTTON_SIZE_X - 6, LINE_1_Y + OFFSET_Y + HEIGHT_LABEL - 4) ; 76cdf0e10cSrcweir Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y ) ; 77cdf0e10cSrcweir Text [ en-US ] = "~Browse..." ; 78cdf0e10cSrcweir }; 79cdf0e10cSrcweir 80cdf0e10cSrcweir FixedText FT_NAME 81cdf0e10cSrcweir { 82cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, LINE_1_Y + 2*OFFSET_Y + HEIGHT_LABEL + BUTTON_SIZE_Y - 3) ; 83cdf0e10cSrcweir Size = MAP_APPFONT ( DIALOG_SIZE_X - 6, HEIGHT_LABEL ) ; 84cdf0e10cSrcweir Group = TRUE ; 85cdf0e10cSrcweir 86cdf0e10cSrcweir Text [ en-US ] = "Registered ~name" ; 87cdf0e10cSrcweir }; 88cdf0e10cSrcweir Edit ET_NAME 89cdf0e10cSrcweir { 90cdf0e10cSrcweir HelpID = "cui:Edit:DLG_DOCUMENTLINK:ET_NAME" ; 91cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, LINE_1_Y + 3*OFFSET_Y + 2*HEIGHT_LABEL + BUTTON_SIZE_Y - 6) ; 92cdf0e10cSrcweir Size = MAP_APPFONT ( DIALOG_SIZE_X - 3*LINE_1_Y - BUTTON_SIZE_X, HEIGHT_EDIT ) ; 93cdf0e10cSrcweir TabStop = TRUE ; 94cdf0e10cSrcweir Border = TRUE ; 95cdf0e10cSrcweir }; 96cdf0e10cSrcweir 97cdf0e10cSrcweir FixedLine FL_BOTTOM 98cdf0e10cSrcweir { 99cdf0e10cSrcweir Pos = MAP_APPFONT ( 4, LINE_1_Y + 4*OFFSET_Y + 2*HEIGHT_LABEL + BUTTON_SIZE_Y + HEIGHT_EDIT - 6) ; 100cdf0e10cSrcweir Size = MAP_APPFONT ( DIALOG_SIZE_X - 8, 8 ) ; 101cdf0e10cSrcweir }; 102cdf0e10cSrcweir 103cdf0e10cSrcweir OKButton BTN_OK 104cdf0e10cSrcweir { 105cdf0e10cSrcweir Pos = MAP_APPFONT ( DIALOG_SIZE_X - 3 * ( BUTTON_SIZE_X + 3 ) - 6, DIALOG_SIZE_Y - 6 - BUTTON_SIZE_Y ) ; 106cdf0e10cSrcweir Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y ) ; 107cdf0e10cSrcweir DefButton = TRUE ; 108cdf0e10cSrcweir }; 109cdf0e10cSrcweir CancelButton BTN_CANCEL 110cdf0e10cSrcweir { 111cdf0e10cSrcweir Pos = MAP_APPFONT ( DIALOG_SIZE_X - 2 * ( BUTTON_SIZE_X + 3 ) - 6, DIALOG_SIZE_Y - 6 - BUTTON_SIZE_Y ) ; 112cdf0e10cSrcweir Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y ) ; 113cdf0e10cSrcweir }; 114cdf0e10cSrcweir HelpButton BTN_HELP 115cdf0e10cSrcweir { 116cdf0e10cSrcweir Pos = MAP_APPFONT ( DIALOG_SIZE_X - 1 * ( BUTTON_SIZE_X + 3 ) - 3, DIALOG_SIZE_Y - 6 - BUTTON_SIZE_Y ) ; 117cdf0e10cSrcweir Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y ) ; 118cdf0e10cSrcweir }; 119cdf0e10cSrcweir 120cdf0e10cSrcweir String STR_EDIT_LINK 121cdf0e10cSrcweir { 122cdf0e10cSrcweir Text [ en-US ] = "Edit Database Link" ; 123cdf0e10cSrcweir }; 124cdf0e10cSrcweir String STR_NEW_LINK 125cdf0e10cSrcweir { 126cdf0e10cSrcweir Text [ en-US ] = "Create Database Link" ; 127cdf0e10cSrcweir }; 128cdf0e10cSrcweir}; 129cdf0e10cSrcweir 130cdf0e10cSrcweirString STR_LINKEDDOC_DOESNOTEXIST 131cdf0e10cSrcweir{ 132cdf0e10cSrcweir Text [ en-US ] = "The file\n$file$\ndoes not exist." ; 133cdf0e10cSrcweir}; 134cdf0e10cSrcweir 135cdf0e10cSrcweirString STR_LINKEDDOC_NO_SYSTEM_FILE 136cdf0e10cSrcweir{ 137cdf0e10cSrcweir Text [ en-US ] = "The file\n$file$\ndoes not exist in the local file system." ; 138cdf0e10cSrcweir}; 139cdf0e10cSrcweir 140cdf0e10cSrcweirString STR_NAME_CONFLICT 141cdf0e10cSrcweir{ 142cdf0e10cSrcweir Text [ en-US ] = "The name '$file$' is already used for another database.\nPlease choose a different name." ; 143cdf0e10cSrcweir}; 144cdf0e10cSrcweir 145cdf0e10cSrcweirQueryBox QUERY_DELETE_CONFIRM 146cdf0e10cSrcweir{ 147cdf0e10cSrcweir Buttons = WB_YES_NO ; 148cdf0e10cSrcweir Message [ en-US ] = "Do you want to delete the entry?" ; 149cdf0e10cSrcweir}; 150*3009d07aSmseidel 151*3009d07aSmseidel// ********************************************************************** EOF 152