1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 28#ifndef _EXTENSIONS_FORMCTRLR_PROPRESID_HRC_ 29#include "formresid.hrc" 30#endif 31#include "propctrlr.hrc" 32#ifndef EXTENSIONS_SOURCE_PROPCTRLR_FORMLINKDIALOG_HRC 33#include "formlinkdialog.hrc" 34#endif 35 36ModalDialog RID_DLG_FORMLINKS 37{ 38 HelpID = "extensions:ModalDialog:RID_DLG_FORMLINKS"; 39 OutputSize = TRUE ; 40 Moveable = TRUE ; 41 Closeable = TRUE ; 42 SVLook = TRUE ; 43 Size = MAP_APPFONT ( 252, 110 ) ; 44 45 Text [ en-US ] = "Link fields"; 46 47 FixedText FT_EXPLANATION 48 { 49 Pos = MAP_APPFONT( 6, 6 ); 50 Size = MAP_APPFONT( 187, 24 ); 51 52 WordBreak = TRUE; 53 54 Text [ en-US ] = "Sub forms can be used to display detailed data about the current record of the master form. To do this, you can specify which columns in the sub form match which columns in the master form."; 55 }; 56 57 FixedText FT_DETAIL_LABEL 58 { 59 Pos = MAP_APPFONT( 6, 36 ); 60 Size = MAP_APPFONT( 85, 8 ); 61 }; 62 63 FixedText FT_MASTER_LABEL 64 { 65 Pos = MAP_APPFONT( 102, 36 ); 66 Size = MAP_APPFONT( 85, 8 ); 67 }; 68 69#define ROW( n ) \ 70 Window n \ 71 { \ 72 Pos = MAP_APPFONT( 6, 47 + 15 * ( n - 1 ) ); \ 73 Size = MAP_APPFONT( 181, 13 ); \ 74 \ 75 Hide = FALSE; \ 76 DialogControl = TRUE; \ 77 \ 78 ComboBox 1 \ 79 { \ 80 Pos = MAP_APPFONT( 0, 0 ); \ 81 Size = MAP_APPFONT( 85, 12 ); \ 82 \ 83 DropDown = TRUE; \ 84 TabStop = TRUE; \ 85 \ 86 HelpId = HID_FIELDLINK_DETAIL_COLUMN; \ 87 UniqueId = UID_FIELDLINK_DETAIL#n; \ 88 }; \ 89 FixedText 1 \ 90 { \ 91 Pos = MAP_APPFONT( 85, 0 ); \ 92 Size = MAP_APPFONT( 10, 12 ); \ 93 Center = TRUE; \ 94 }; \ 95 ComboBox 2 \ 96 { \ 97 Pos = MAP_APPFONT( 95, 0 ); \ 98 Size = MAP_APPFONT( 85, 12 ); \ 99 \ 100 DropDown = TRUE; \ 101 TabStop = TRUE; \ 102 \ 103 HelpId = HID_FIELDLINK_MASTER_COLUMN; \ 104 UniqueId = UID_FIELDLINK_MASTER#n; \ 105 }; \ 106 } 107 108 ROW( 1 ); 109 ROW( 2 ); 110 ROW( 3 ); 111 ROW( 4 ); 112 113 OKButton PB_OK 114 { 115 Pos = MAP_APPFONT( 199, 6 ); 116 Size = MAP_APPFONT( 50, 14 ); 117 TabStop = TRUE; 118 DefButton = TRUE; 119 }; 120 121 CancelButton PB_CANCEL 122 { 123 Pos = MAP_APPFONT( 199, 23 ); 124 Size = MAP_APPFONT( 50, 14 ); 125 TabStop = TRUE; 126 }; 127 128 HelpButton PB_HELP 129 { 130 Pos = MAP_APPFONT( 199, 43 ); 131 Size = MAP_APPFONT( 50, 14 ); 132 TabStop = TRUE; 133 }; 134 135 PushButton PB_SUGGEST 136 { 137 HelpID = "extensions:PushButton:RID_DLG_FORMLINKS:PB_SUGGEST"; 138 Pos = MAP_APPFONT( 199, 90 ); 139 Size = MAP_APPFONT( 50, 14 ); 140 TabStop = TRUE; 141 Hide = FALSE; 142 Disable = TRUE; 143 144 Text [ en-US ] = "Suggest"; 145 }; 146 147 String STR_DETAIL_FORM 148 { 149 Text [ en-US ] = "Sub Form"; 150 }; 151 152 String STR_MASTER_FORM 153 { 154 Text [ en-US ] = "Master Form"; 155 }; 156 157 String STR_ERROR_RETRIEVING_COLUMNS 158 { 159 Text [ en-US ] = "The columns of '#' could not be retrieved."; 160 Text [ x-comment ] ="# will be replace with a name."; 161 }; 162}; 163