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#include <svx/dialogs.hrc> 28#include "attrdlg.hrc" 29 30 //================================================ 31 // Attributdialog: 32 33TabDialog RID_SCDLG_ATTR 34{ 35 OutputSize = TRUE ; 36 SVLook = TRUE ; 37 Size = MAP_APPFONT ( 280 , 165 ) ; 38 Text [ en-US ] = "Format Cells" ; 39 Moveable = TRUE ; 40 Closeable = FALSE ; 41 TabControl 1 42 { 43 OutputSize = TRUE ; 44 Pos = MAP_APPFONT ( 23 , 0 ) ; 45 Size = MAP_APPFONT ( 260 , 135 ) ; 46 PageList = 47 { 48 PageItem 49 { 50 Identifier = TP_NUMBER ; 51 PageResID = 256 ; 52 Text [ en-US ] = "Numbers" ; 53 }; 54 PageItem 55 { 56 Identifier = TP_FONT ; 57 PageResID = 257 ; 58 Text [ en-US ] = "Font" ; 59 }; 60 PageItem 61 { 62 Identifier = TP_FONTEFF ; 63 PageResID = 262 ; 64 Text [ en-US ] = "Font Effects"; 65 }; 66 PageItem 67 { 68 Identifier = TP_ALIGNMENT ; 69 PageResID = 258 ; 70 Text [ en-US ] = "Alignment" ; 71 }; 72 PageItem 73 { 74 Identifier = TP_ASIAN ; 75 PageResID = 263 ; 76 Text [ en-US ] = "Asian Typography"; 77 }; 78 PageItem 79 { 80 Identifier = TP_BORDER ; 81 PageResID = 259 ; 82 Text [ en-US ] = "Borders" ; 83 }; 84 PageItem 85 { 86 Identifier = TP_BACKGROUND ; 87 PageResID = 260 ; 88 Text [ en-US ] = "Background" ; 89 }; 90 PageItem 91 { 92 Identifier = TP_PROTECTION ; 93 PageResID = 261 ; 94 Text [ en-US ] = "Cell Protection" ; 95 }; 96 }; 97 }; 98}; 99 100 //================================================ 101 // Zellschutz-TabPage: 102 103TabPage RID_SCPAGE_PROTECTION 104{ 105 Hide = TRUE ; 106 SVLook = TRUE ; 107 HelpId = HID_SCPAGE_PROTECTION ; 108 Pos = MAP_APPFONT ( 0 , 0 ) ; 109 Size = MAP_APPFONT ( 260 , 185 ) ; 110 TriStateBox BTN_PROTECTED 111 { 112 HelpID = "sc:TriStateBox:RID_SCPAGE_PROTECTION:BTN_PROTECTED"; 113 Pos = MAP_APPFONT ( 22 , 28 ) ; 114 Size = MAP_APPFONT ( 90 , 10 ) ; 115 Text [ en-US ] = "~Protected" ; 116 TabStop = TRUE ; 117 }; 118 TriStateBox BTN_HIDE_FORMULAR 119 { 120 HelpID = "sc:TriStateBox:RID_SCPAGE_PROTECTION:BTN_HIDE_FORMULAR"; 121 Pos = MAP_APPFONT ( 22 , 42 ) ; 122 Size = MAP_APPFONT ( 90 , 10 ) ; 123 Text [ en-US ] = "Hide ~formula" ; 124 TabStop = TRUE ; 125 }; 126 TriStateBox BTN_HIDE_ALL 127 { 128 HelpID = "sc:TriStateBox:RID_SCPAGE_PROTECTION:BTN_HIDE_ALL"; 129 Pos = MAP_APPFONT ( 12 , 14 ) ; 130 Size = MAP_APPFONT ( 100 , 10 ) ; 131 Text [ en-US ] = "Hide ~all" ; 132 TabStop = TRUE ; 133 }; 134 FixedText FT_HINT 135 { 136 Pos = MAP_APPFONT ( 114 , 14 ) ; 137 Size = MAP_APPFONT ( 137 , 56 ) ; 138 WordBreak = TRUE ; 139 Text [ en-US ] = "Cell protection is only effective after the current sheet has been protected. \n\nSelect 'Protect Document' from the 'Tools' menu, and specify 'Sheet'." ; 140 }; 141 FixedLine FL_PROTECTION 142 { 143 Pos = MAP_APPFONT ( 6 , 3 ) ; 144 Size = MAP_APPFONT ( 248 , 8 ) ; 145 Text [ en-US ] = "Protection" ; 146 }; 147 TriStateBox BTN_HIDE_PRINT 148 { 149 HelpID = "sc:TriStateBox:RID_SCPAGE_PROTECTION:BTN_HIDE_PRINT"; 150 Pos = MAP_APPFONT ( 12 , 87 ) ; 151 Size = MAP_APPFONT ( 100 , 10 ) ; 152 Text [ en-US ] = "Hide ~when printing" ; 153 TabStop = TRUE ; 154 }; 155 FixedText FT_HINT2 156 { 157 Pos = MAP_APPFONT ( 114 , 87 ) ; 158 Size = MAP_APPFONT ( 137 , 24 ) ; 159 WordBreak = TRUE ; 160 Text [ en-US ] = "The cells selected will be omitted when printing." ; 161 }; 162 FixedLine FL_PRINT 163 { 164 Pos = MAP_APPFONT ( 6 , 76 ) ; 165 Size = MAP_APPFONT ( 248 , 8 ) ; 166 Text [ en-US ] = "Print" ; 167 }; 168}; 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208