xref: /AOO41X/main/sc/source/ui/src/attrdlg.src (revision 82177cdbfc5fbca7e9a45fdfffbbaeb8a0d1d1a3) !
1*82177cdbSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*82177cdbSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*82177cdbSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*82177cdbSAndrew Rist * distributed with this work for additional information
6*82177cdbSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*82177cdbSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*82177cdbSAndrew Rist * "License"); you may not use this file except in compliance
9*82177cdbSAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
11*82177cdbSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
13*82177cdbSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*82177cdbSAndrew Rist * software distributed under the License is distributed on an
15*82177cdbSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*82177cdbSAndrew Rist * KIND, either express or implied.  See the License for the
17*82177cdbSAndrew Rist * specific language governing permissions and limitations
18*82177cdbSAndrew Rist * under the License.
19cdf0e10cSrcweir *
20*82177cdbSAndrew Rist *************************************************************/
21*82177cdbSAndrew Rist
22*82177cdbSAndrew Rist
23cdf0e10cSrcweir#include <svx/dialogs.hrc>
24cdf0e10cSrcweir#include "attrdlg.hrc"
25cdf0e10cSrcweir
26cdf0e10cSrcweir //================================================
27cdf0e10cSrcweir // Attributdialog:
28cdf0e10cSrcweir
29cdf0e10cSrcweirTabDialog RID_SCDLG_ATTR
30cdf0e10cSrcweir{
31cdf0e10cSrcweir    OutputSize = TRUE ;
32cdf0e10cSrcweir    SVLook = TRUE ;
33cdf0e10cSrcweir    Size = MAP_APPFONT ( 280 , 165 ) ;
34cdf0e10cSrcweir    Text [ en-US ] = "Format Cells" ;
35cdf0e10cSrcweir    Moveable = TRUE ;
36cdf0e10cSrcweir    Closeable = FALSE ;
37cdf0e10cSrcweir    TabControl 1
38cdf0e10cSrcweir    {
39cdf0e10cSrcweir        OutputSize = TRUE ;
40cdf0e10cSrcweir        Pos = MAP_APPFONT ( 23 , 0 ) ;
41cdf0e10cSrcweir        Size = MAP_APPFONT ( 260 , 135 ) ;
42cdf0e10cSrcweir        PageList =
43cdf0e10cSrcweir        {
44cdf0e10cSrcweir            PageItem
45cdf0e10cSrcweir            {
46cdf0e10cSrcweir                Identifier = TP_NUMBER ;
47cdf0e10cSrcweir                PageResID = 256 ;
48cdf0e10cSrcweir                Text [ en-US ] = "Numbers" ;
49cdf0e10cSrcweir            };
50cdf0e10cSrcweir            PageItem
51cdf0e10cSrcweir            {
52cdf0e10cSrcweir                Identifier = TP_FONT ;
53cdf0e10cSrcweir                PageResID = 257 ;
54cdf0e10cSrcweir                Text [ en-US ] = "Font" ;
55cdf0e10cSrcweir            };
56cdf0e10cSrcweir            PageItem
57cdf0e10cSrcweir            {
58cdf0e10cSrcweir                Identifier = TP_FONTEFF ;
59cdf0e10cSrcweir                PageResID = 262 ;
60cdf0e10cSrcweir                Text [ en-US ] = "Font Effects";
61cdf0e10cSrcweir            };
62cdf0e10cSrcweir            PageItem
63cdf0e10cSrcweir            {
64cdf0e10cSrcweir                Identifier = TP_ALIGNMENT ;
65cdf0e10cSrcweir                PageResID = 258 ;
66cdf0e10cSrcweir                Text [ en-US ] = "Alignment" ;
67cdf0e10cSrcweir            };
68cdf0e10cSrcweir            PageItem
69cdf0e10cSrcweir            {
70cdf0e10cSrcweir                Identifier = TP_ASIAN ;
71cdf0e10cSrcweir                PageResID = 263 ;
72cdf0e10cSrcweir                Text [ en-US ] = "Asian Typography";
73cdf0e10cSrcweir            };
74cdf0e10cSrcweir            PageItem
75cdf0e10cSrcweir            {
76cdf0e10cSrcweir                Identifier = TP_BORDER ;
77cdf0e10cSrcweir                PageResID = 259 ;
78cdf0e10cSrcweir                Text [ en-US ] = "Borders" ;
79cdf0e10cSrcweir            };
80cdf0e10cSrcweir            PageItem
81cdf0e10cSrcweir            {
82cdf0e10cSrcweir                Identifier = TP_BACKGROUND ;
83cdf0e10cSrcweir                PageResID = 260 ;
84cdf0e10cSrcweir                Text [ en-US ] = "Background" ;
85cdf0e10cSrcweir            };
86cdf0e10cSrcweir            PageItem
87cdf0e10cSrcweir            {
88cdf0e10cSrcweir                Identifier = TP_PROTECTION ;
89cdf0e10cSrcweir                PageResID = 261 ;
90cdf0e10cSrcweir                Text [ en-US ] = "Cell Protection" ;
91cdf0e10cSrcweir            };
92cdf0e10cSrcweir        };
93cdf0e10cSrcweir    };
94cdf0e10cSrcweir};
95cdf0e10cSrcweir
96cdf0e10cSrcweir //================================================
97cdf0e10cSrcweir // Zellschutz-TabPage:
98cdf0e10cSrcweir
99cdf0e10cSrcweirTabPage RID_SCPAGE_PROTECTION
100cdf0e10cSrcweir{
101cdf0e10cSrcweir    Hide = TRUE ;
102cdf0e10cSrcweir    SVLook = TRUE ;
103cdf0e10cSrcweir    HelpId = HID_SCPAGE_PROTECTION ;
104cdf0e10cSrcweir    Pos = MAP_APPFONT ( 0 , 0 ) ;
105cdf0e10cSrcweir    Size = MAP_APPFONT ( 260 , 185 ) ;
106cdf0e10cSrcweir    TriStateBox BTN_PROTECTED
107cdf0e10cSrcweir    {
108cdf0e10cSrcweir        HelpID = "sc:TriStateBox:RID_SCPAGE_PROTECTION:BTN_PROTECTED";
109cdf0e10cSrcweir        Pos = MAP_APPFONT ( 22 , 28 ) ;
110cdf0e10cSrcweir        Size = MAP_APPFONT ( 90 , 10 ) ;
111cdf0e10cSrcweir        Text [ en-US ] = "~Protected" ;
112cdf0e10cSrcweir        TabStop = TRUE ;
113cdf0e10cSrcweir    };
114cdf0e10cSrcweir    TriStateBox BTN_HIDE_FORMULAR
115cdf0e10cSrcweir    {
116cdf0e10cSrcweir        HelpID = "sc:TriStateBox:RID_SCPAGE_PROTECTION:BTN_HIDE_FORMULAR";
117cdf0e10cSrcweir        Pos = MAP_APPFONT ( 22 , 42 ) ;
118cdf0e10cSrcweir        Size = MAP_APPFONT ( 90 , 10 ) ;
119cdf0e10cSrcweir        Text [ en-US ] = "Hide ~formula" ;
120cdf0e10cSrcweir        TabStop = TRUE ;
121cdf0e10cSrcweir    };
122cdf0e10cSrcweir    TriStateBox BTN_HIDE_ALL
123cdf0e10cSrcweir    {
124cdf0e10cSrcweir        HelpID = "sc:TriStateBox:RID_SCPAGE_PROTECTION:BTN_HIDE_ALL";
125cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 14 ) ;
126cdf0e10cSrcweir        Size = MAP_APPFONT ( 100 , 10 ) ;
127cdf0e10cSrcweir        Text [ en-US ] = "Hide ~all" ;
128cdf0e10cSrcweir        TabStop = TRUE ;
129cdf0e10cSrcweir    };
130cdf0e10cSrcweir    FixedText FT_HINT
131cdf0e10cSrcweir    {
132cdf0e10cSrcweir        Pos = MAP_APPFONT ( 114 , 14 ) ;
133cdf0e10cSrcweir        Size = MAP_APPFONT ( 137 , 56 ) ;
134cdf0e10cSrcweir        WordBreak = TRUE ;
135cdf0e10cSrcweir        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'." ;
136cdf0e10cSrcweir    };
137cdf0e10cSrcweir    FixedLine FL_PROTECTION
138cdf0e10cSrcweir    {
139cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 3 ) ;
140cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 8 ) ;
141cdf0e10cSrcweir        Text [ en-US ] = "Protection" ;
142cdf0e10cSrcweir    };
143cdf0e10cSrcweir    TriStateBox BTN_HIDE_PRINT
144cdf0e10cSrcweir    {
145cdf0e10cSrcweir        HelpID = "sc:TriStateBox:RID_SCPAGE_PROTECTION:BTN_HIDE_PRINT";
146cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 87 ) ;
147cdf0e10cSrcweir        Size = MAP_APPFONT ( 100 , 10 ) ;
148cdf0e10cSrcweir        Text [ en-US ] = "Hide ~when printing" ;
149cdf0e10cSrcweir        TabStop = TRUE ;
150cdf0e10cSrcweir    };
151cdf0e10cSrcweir    FixedText FT_HINT2
152cdf0e10cSrcweir    {
153cdf0e10cSrcweir        Pos = MAP_APPFONT ( 114 , 87 ) ;
154cdf0e10cSrcweir        Size = MAP_APPFONT ( 137 , 24 ) ;
155cdf0e10cSrcweir        WordBreak = TRUE ;
156cdf0e10cSrcweir        Text [ en-US ] = "The cells selected will be omitted when printing." ;
157cdf0e10cSrcweir    };
158cdf0e10cSrcweir    FixedLine FL_PRINT
159cdf0e10cSrcweir    {
160cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 76 ) ;
161cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 8 ) ;
162cdf0e10cSrcweir        Text [ en-US ] = "Print" ;
163cdf0e10cSrcweir    };
164cdf0e10cSrcweir};
165cdf0e10cSrcweir
166cdf0e10cSrcweir
167cdf0e10cSrcweir
168cdf0e10cSrcweir
169cdf0e10cSrcweir
170cdf0e10cSrcweir
171cdf0e10cSrcweir
172cdf0e10cSrcweir
173cdf0e10cSrcweir
174cdf0e10cSrcweir
175cdf0e10cSrcweir
176cdf0e10cSrcweir
177cdf0e10cSrcweir
178cdf0e10cSrcweir
179cdf0e10cSrcweir
180cdf0e10cSrcweir
181cdf0e10cSrcweir
182cdf0e10cSrcweir
183cdf0e10cSrcweir
184cdf0e10cSrcweir
185cdf0e10cSrcweir
186cdf0e10cSrcweir
187cdf0e10cSrcweir
188cdf0e10cSrcweir
189cdf0e10cSrcweir
190cdf0e10cSrcweir
191cdf0e10cSrcweir
192cdf0e10cSrcweir
193cdf0e10cSrcweir
194cdf0e10cSrcweir
195cdf0e10cSrcweir
196cdf0e10cSrcweir
197cdf0e10cSrcweir
198cdf0e10cSrcweir
199cdf0e10cSrcweir
200cdf0e10cSrcweir
201cdf0e10cSrcweir
202cdf0e10cSrcweir
203cdf0e10cSrcweir
204