1/************************************************************** 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 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 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. 19 * 20 *************************************************************/ 21 22 23#include <svx/dialogs.hrc> 24#include "attrdlg.hrc" 25 26 //================================================ 27 // Attributdialog: 28 29TabDialog RID_SCDLG_ATTR 30{ 31 OutputSize = TRUE ; 32 SVLook = TRUE ; 33 Size = MAP_APPFONT ( 280 , 165 ) ; 34 Text [ en-US ] = "Format Cells" ; 35 Moveable = TRUE ; 36 Closeable = FALSE ; 37 TabControl 1 38 { 39 OutputSize = TRUE ; 40 Pos = MAP_APPFONT ( 23 , 0 ) ; 41 Size = MAP_APPFONT ( 260 , 135 ) ; 42 PageList = 43 { 44 PageItem 45 { 46 Identifier = TP_NUMBER ; 47 PageResID = 256 ; 48 Text [ en-US ] = "Numbers" ; 49 }; 50 PageItem 51 { 52 Identifier = TP_FONT ; 53 PageResID = 257 ; 54 Text [ en-US ] = "Font" ; 55 }; 56 PageItem 57 { 58 Identifier = TP_FONTEFF ; 59 PageResID = 262 ; 60 Text [ en-US ] = "Font Effects"; 61 }; 62 PageItem 63 { 64 Identifier = TP_ALIGNMENT ; 65 PageResID = 258 ; 66 Text [ en-US ] = "Alignment" ; 67 }; 68 PageItem 69 { 70 Identifier = TP_ASIAN ; 71 PageResID = 263 ; 72 Text [ en-US ] = "Asian Typography"; 73 }; 74 PageItem 75 { 76 Identifier = TP_BORDER ; 77 PageResID = 259 ; 78 Text [ en-US ] = "Borders" ; 79 }; 80 PageItem 81 { 82 Identifier = TP_BACKGROUND ; 83 PageResID = 260 ; 84 Text [ en-US ] = "Background" ; 85 }; 86 PageItem 87 { 88 Identifier = TP_PROTECTION ; 89 PageResID = 261 ; 90 Text [ en-US ] = "Cell Protection" ; 91 }; 92 }; 93 }; 94}; 95 96 //================================================ 97 // Zellschutz-TabPage: 98 99TabPage RID_SCPAGE_PROTECTION 100{ 101 Hide = TRUE ; 102 SVLook = TRUE ; 103 HelpId = HID_SCPAGE_PROTECTION ; 104 Pos = MAP_APPFONT ( 0 , 0 ) ; 105 Size = MAP_APPFONT ( 260 , 185 ) ; 106 TriStateBox BTN_PROTECTED 107 { 108 HelpID = "sc:TriStateBox:RID_SCPAGE_PROTECTION:BTN_PROTECTED"; 109 Pos = MAP_APPFONT ( 22 , 28 ) ; 110 Size = MAP_APPFONT ( 90 , 10 ) ; 111 Text [ en-US ] = "~Protected" ; 112 TabStop = TRUE ; 113 }; 114 TriStateBox BTN_HIDE_FORMULAR 115 { 116 HelpID = "sc:TriStateBox:RID_SCPAGE_PROTECTION:BTN_HIDE_FORMULAR"; 117 Pos = MAP_APPFONT ( 22 , 42 ) ; 118 Size = MAP_APPFONT ( 90 , 10 ) ; 119 Text [ en-US ] = "Hide ~formula" ; 120 TabStop = TRUE ; 121 }; 122 TriStateBox BTN_HIDE_ALL 123 { 124 HelpID = "sc:TriStateBox:RID_SCPAGE_PROTECTION:BTN_HIDE_ALL"; 125 Pos = MAP_APPFONT ( 12 , 14 ) ; 126 Size = MAP_APPFONT ( 100 , 10 ) ; 127 Text [ en-US ] = "Hide ~all" ; 128 TabStop = TRUE ; 129 }; 130 FixedText FT_HINT 131 { 132 Pos = MAP_APPFONT ( 114 , 14 ) ; 133 Size = MAP_APPFONT ( 137 , 56 ) ; 134 WordBreak = TRUE ; 135 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'." ; 136 }; 137 FixedLine FL_PROTECTION 138 { 139 Pos = MAP_APPFONT ( 6 , 3 ) ; 140 Size = MAP_APPFONT ( 248 , 8 ) ; 141 Text [ en-US ] = "Protection" ; 142 }; 143 TriStateBox BTN_HIDE_PRINT 144 { 145 HelpID = "sc:TriStateBox:RID_SCPAGE_PROTECTION:BTN_HIDE_PRINT"; 146 Pos = MAP_APPFONT ( 12 , 87 ) ; 147 Size = MAP_APPFONT ( 100 , 10 ) ; 148 Text [ en-US ] = "Hide ~when printing" ; 149 TabStop = TRUE ; 150 }; 151 FixedText FT_HINT2 152 { 153 Pos = MAP_APPFONT ( 114 , 87 ) ; 154 Size = MAP_APPFONT ( 137 , 24 ) ; 155 WordBreak = TRUE ; 156 Text [ en-US ] = "The cells selected will be omitted when printing." ; 157 }; 158 FixedLine FL_PRINT 159 { 160 Pos = MAP_APPFONT ( 6 , 76 ) ; 161 Size = MAP_APPFONT ( 248 , 8 ) ; 162 Text [ en-US ] = "Print" ; 163 }; 164}; 165