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
24// include --------------------------------------------------------------
25
26#include <svtools/controldims.hrc>
27#include "securityoptions.hrc"
28#include <cuires.hrc>
29#include "helpid.hrc"
30
31ModalDialog RID_SVXDLG_SECURITY_OPTIONS
32{
33	HelpID = HID_DLG_SECURITY_OPTIONS ;
34	OutputSize = TRUE ;
35	SVLook = TRUE ;
36    Size = MAP_APPFONT ( DLG_WIDTH , ROW_10 ) ;
37	Moveable = TRUE ;
38	Closeable = TRUE ;
39	Text [ en-US ] = "Security options and warnings" ;
40	FixedLine FL_WARNINGS
41	{
42        Pos = MAP_APPFONT( COL_0, ROW_0 );
43        Size = MAP_APPFONT( COL_4-COL_0, RSC_CD_FIXEDLINE_HEIGHT );
44		Text [ en-US ] = "Security warnings";
45	};
46	FixedText FI_WARNINGS
47	{
48        Pos = MAP_APPFONT( COL_1, ROW_1 );
49        Size = MAP_APPFONT( COL_3-COL_1, 2*RSC_CD_FIXEDLINE_HEIGHT );
50        Wordbreak = TRUE;
51        Text [ en-US ] = "Warn if document contains recorded changes, versions, hidden information or notes:";
52	};
53    FixedImage FI_SAVESENDDOCS
54    {
55        Pos = MAP_APPFONT( COL_2 - 7, ROW_2 + 2 );
56        Size = MAP_APPFONT( 6, 6 );
57    };
58    CheckBox CB_SAVESENDDOCS
59	{
60        HelpID = "cui:CheckBox:RID_SVXDLG_SECURITY_OPTIONS:CB_SAVESENDDOCS";
61        Pos = MAP_APPFONT( COL_2, ROW_2 );
62        Size = MAP_APPFONT( CHECKBOX_WIDTH, RSC_CD_CHECKBOX_HEIGHT );
63        Text [ en-US ] = "When saving or sending";
64	};
65    FixedImage FI_SIGNDOCS
66    {
67        Pos = MAP_APPFONT( COL_2 + CHECKBOX_WIDTH + RSC_SP_CTRL_X - 7, ROW_2 + 2 );
68        Size = MAP_APPFONT( 6, 6 );
69    };
70    CheckBox CB_SIGNDOCS
71	{
72        HelpID = "cui:CheckBox:RID_SVXDLG_SECURITY_OPTIONS:CB_SIGNDOCS";
73        Pos = MAP_APPFONT( COL_2 + CHECKBOX_WIDTH + RSC_SP_CTRL_X, ROW_2 );
74        Size = MAP_APPFONT( CHECKBOX_WIDTH, RSC_CD_CHECKBOX_HEIGHT );
75        Text [ en-US ] = "When signing";
76	};
77    FixedImage FI_PRINTDOCS
78    {
79        Pos = MAP_APPFONT( COL_2 - 7, ROW_3 + 2 );
80        Size = MAP_APPFONT( 6, 6 );
81    };
82    CheckBox CB_PRINTDOCS
83	{
84        HelpID = "cui:CheckBox:RID_SVXDLG_SECURITY_OPTIONS:CB_PRINTDOCS";
85        Pos = MAP_APPFONT( COL_2, ROW_3 );
86        Size = MAP_APPFONT( CHECKBOX_WIDTH, RSC_CD_CHECKBOX_HEIGHT );
87        Text [ en-US ] = "When printing";
88	};
89    FixedImage FI_CREATEPDF
90    {
91        Pos = MAP_APPFONT( COL_2 + CHECKBOX_WIDTH + RSC_SP_CTRL_X - 7, ROW_3 + 2 );
92        Size = MAP_APPFONT( 6, 6 );
93    };
94    CheckBox CB_CREATEPDF
95	{
96        HelpID = "cui:CheckBox:RID_SVXDLG_SECURITY_OPTIONS:CB_CREATEPDF";
97        Pos = MAP_APPFONT( COL_2 + CHECKBOX_WIDTH + RSC_SP_CTRL_X, ROW_3 );
98        Size = MAP_APPFONT( CHECKBOX_WIDTH, RSC_CD_CHECKBOX_HEIGHT );
99        Text [ en-US ] = "When creating PDF files";
100	};
101	FixedLine FL_OPTIONS
102	{
103        Pos = MAP_APPFONT( COL_0, ROW_4 );
104        Size = MAP_APPFONT( COL_4-COL_0, RSC_CD_FIXEDLINE_HEIGHT );
105		Text [ en-US ] = "Security options";
106	};
107    FixedImage FI_REMOVEINFO
108    {
109        Pos = MAP_APPFONT( COL_1 - 7, ROW_5 + 2 );
110        Size = MAP_APPFONT( 6, 6 );
111    };
112    CheckBox CB_REMOVEINFO
113	{
114        HelpID = "cui:CheckBox:RID_SVXDLG_SECURITY_OPTIONS:CB_REMOVEINFO";
115        Pos = MAP_APPFONT( COL_1, ROW_5 );
116        Size = MAP_APPFONT( COL_3-COL_1, RSC_CD_CHECKBOX_HEIGHT );
117		Text [ en-US ] = "Remove personal information on saving";
118	};
119    FixedImage FI_RECOMMENDPWD
120    {
121        Pos = MAP_APPFONT( COL_1 - 7, ROW_6 + 2 );
122        Size = MAP_APPFONT( 6, 6 );
123    };
124    CheckBox CB_RECOMMENDPWD
125	{
126        HelpID = "cui:CheckBox:RID_SVXDLG_SECURITY_OPTIONS:CB_RECOMMENDPWD";
127        Pos = MAP_APPFONT( COL_1, ROW_6 );
128        Size = MAP_APPFONT( COL_3-COL_1, RSC_CD_CHECKBOX_HEIGHT );
129		Text [ en-US ] = "Recommend password protection on saving";
130	};
131    FixedImage FI_CTRLHYPERLINK
132    {
133        Pos = MAP_APPFONT( COL_1 - 7, ROW_6 + 2 );
134        Size = MAP_APPFONT( 6, 6 );
135    };
136    CheckBox CB_CTRLHYPERLINK
137    {
138        HelpID = "cui:CheckBox:RID_SVXDLG_SECURITY_OPTIONS:CB_CTRLHYPERLINK";
139        Pos = MAP_APPFONT( COL_1, ROW_7 );
140        Size = MAP_APPFONT( COL_3-COL_1, RSC_CD_CHECKBOX_HEIGHT );
141        Text [ en-US ] = "Ctrl-click required to follow hyperlinks";
142    };
143	FixedLine FL_BUTTONS
144	{
145        Pos = MAP_APPFONT( 0, ROW_8 );
146        Size = MAP_APPFONT( DLG_WIDTH, RSC_CD_FIXEDLINE_HEIGHT );
147	};
148	OKButton PB_OK
149	{
150        Pos = MAP_APPFONT ( COL_A , ROW_9 ) ;
151		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
152		TabStop = TRUE ;
153		DefButton = TRUE ;
154	};
155	CancelButton PB_CANCEL
156	{
157        Pos = MAP_APPFONT ( COL_B , ROW_9 ) ;
158		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
159		TabStop = TRUE ;
160	};
161	HelpButton PB_HELP
162	{
163        Pos = MAP_APPFONT ( COL_C , ROW_9 ) ;
164		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
165		TabStop = TRUE ;
166	};
167};
168
169