1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
28 // include --------------------------------------------------------------
30 #include <svtools/controldims.hrc>
31 #include "securityoptions.hrc"
35 ModalDialog RID_SVXDLG_SECURITY_OPTIONS
37 HelpID = HID_DLG_SECURITY_OPTIONS ;
40 Size = MAP_APPFONT ( DLG_WIDTH , ROW_10 ) ;
43 Text [ en-US ] = "Security options and warnings" ;
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";
52 Pos = MAP_APPFONT( COL_1, ROW_1 );
53 Size = MAP_APPFONT( COL_3-COL_1, 2*RSC_CD_FIXEDLINE_HEIGHT );
55 Text [ en-US ] = "Warn if document contains recorded changes, versions, hidden information or notes:";
57 FixedImage FI_SAVESENDDOCS
59 Pos = MAP_APPFONT( COL_2 - 7, ROW_2 + 2 );
60 Size = MAP_APPFONT( 6, 6 );
62 CheckBox CB_SAVESENDDOCS
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";
69 FixedImage FI_SIGNDOCS
71 Pos = MAP_APPFONT( COL_2 + CHECKBOX_WIDTH + RSC_SP_CTRL_X - 7, ROW_2 + 2 );
72 Size = MAP_APPFONT( 6, 6 );
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";
81 FixedImage FI_PRINTDOCS
83 Pos = MAP_APPFONT( COL_2 - 7, ROW_3 + 2 );
84 Size = MAP_APPFONT( 6, 6 );
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";
93 FixedImage FI_CREATEPDF
95 Pos = MAP_APPFONT( COL_2 + CHECKBOX_WIDTH + RSC_SP_CTRL_X - 7, ROW_3 + 2 );
96 Size = MAP_APPFONT( 6, 6 );
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";
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";
111 FixedImage FI_REMOVEINFO
113 Pos = MAP_APPFONT( COL_1 - 7, ROW_5 + 2 );
114 Size = MAP_APPFONT( 6, 6 );
116 CheckBox CB_REMOVEINFO
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";
123 FixedImage FI_RECOMMENDPWD
125 Pos = MAP_APPFONT( COL_1 - 7, ROW_6 + 2 );
126 Size = MAP_APPFONT( 6, 6 );
128 CheckBox CB_RECOMMENDPWD
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";
135 FixedImage FI_CTRLHYPERLINK
137 Pos = MAP_APPFONT( COL_1 - 7, ROW_6 + 2 );
138 Size = MAP_APPFONT( 6, 6 );
140 CheckBox CB_CTRLHYPERLINK
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";
149 Pos = MAP_APPFONT( 0, ROW_8 );
150 Size = MAP_APPFONT( DLG_WIDTH, RSC_CD_FIXEDLINE_HEIGHT );
154 Pos = MAP_APPFONT ( COL_A , ROW_9 ) ;
155 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
159 CancelButton PB_CANCEL
161 Pos = MAP_APPFONT ( COL_B , ROW_9 ) ;
162 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
167 Pos = MAP_APPFONT ( COL_C , ROW_9 ) ;
168 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;