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