1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: securityoptions.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 // include --------------------------------------------------------------
33 #include <svtools/controldims.hrc>
34 #include "securityoptions.hrc"
35 #include <svx/dialogs.hrc>
38 ModalDialog RID_SVXDLG_SECURITY_OPTIONS
40 HelpID = HID_DLG_SECURITY_OPTIONS ;
43 Size = MAP_APPFONT ( DLG_WIDTH , ROW_10 ) ;
46 Text [ en-US ] = "Security options and warnings" ;
49 Pos = MAP_APPFONT( COL_0, ROW_0 );
50 Size = MAP_APPFONT( COL_4-COL_0, RSC_CD_FIXEDLINE_HEIGHT );
51 Text [ en-US ] = "Security warnings";
55 Pos = MAP_APPFONT( COL_1, ROW_1 );
56 Size = MAP_APPFONT( COL_3-COL_1, 2*RSC_CD_FIXEDLINE_HEIGHT );
58 Text [ en-US ] = "Warn if document contains recorded changes, versions, hidden information or notes:";
60 FixedImage FI_SAVESENDDOCS
62 Pos = MAP_APPFONT( COL_2 - 7, ROW_2 + 2 );
63 Size = MAP_APPFONT( 6, 6 );
65 CheckBox CB_SAVESENDDOCS
67 Pos = MAP_APPFONT( COL_2, ROW_2 );
68 Size = MAP_APPFONT( CHECKBOX_WIDTH, RSC_CD_CHECKBOX_HEIGHT );
69 Text [ en-US ] = "When saving or sending";
71 FixedImage FI_SIGNDOCS
73 Pos = MAP_APPFONT( COL_2 + CHECKBOX_WIDTH + RSC_SP_CTRL_X - 7, ROW_2 + 2 );
74 Size = MAP_APPFONT( 6, 6 );
78 Pos = MAP_APPFONT( COL_2 + CHECKBOX_WIDTH + RSC_SP_CTRL_X, ROW_2 );
79 Size = MAP_APPFONT( CHECKBOX_WIDTH, RSC_CD_CHECKBOX_HEIGHT );
80 Text [ en-US ] = "When signing";
82 FixedImage FI_PRINTDOCS
84 Pos = MAP_APPFONT( COL_2 - 7, ROW_3 + 2 );
85 Size = MAP_APPFONT( 6, 6 );
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 Pos = MAP_APPFONT( COL_2 + CHECKBOX_WIDTH + RSC_SP_CTRL_X, ROW_3 );
101 Size = MAP_APPFONT( CHECKBOX_WIDTH, RSC_CD_CHECKBOX_HEIGHT );
102 Text [ en-US ] = "When creating PDF files";
106 Pos = MAP_APPFONT( COL_0, ROW_4 );
107 Size = MAP_APPFONT( COL_4-COL_0, RSC_CD_FIXEDLINE_HEIGHT );
108 Text [ en-US ] = "Security options";
110 FixedImage FI_REMOVEINFO
112 Pos = MAP_APPFONT( COL_1 - 7, ROW_5 + 2 );
113 Size = MAP_APPFONT( 6, 6 );
115 CheckBox CB_REMOVEINFO
117 Pos = MAP_APPFONT( COL_1, ROW_5 );
118 Size = MAP_APPFONT( COL_3-COL_1, RSC_CD_CHECKBOX_HEIGHT );
119 Text [ en-US ] = "Remove personal information on saving";
121 FixedImage FI_RECOMMENDPWD
123 Pos = MAP_APPFONT( COL_1 - 7, ROW_6 + 2 );
124 Size = MAP_APPFONT( 6, 6 );
126 CheckBox CB_RECOMMENDPWD
128 Pos = MAP_APPFONT( COL_1, ROW_6 );
129 Size = MAP_APPFONT( COL_3-COL_1, RSC_CD_CHECKBOX_HEIGHT );
130 Text [ en-US ] = "Recommend password protection on saving";
132 FixedImage FI_CTRLHYPERLINK
134 Pos = MAP_APPFONT( COL_1 - 7, ROW_6 + 2 );
135 Size = MAP_APPFONT( 6, 6 );
137 CheckBox 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";
145 Pos = MAP_APPFONT( 0, ROW_8 );
146 Size = MAP_APPFONT( DLG_WIDTH, RSC_CD_FIXEDLINE_HEIGHT );
150 Pos = MAP_APPFONT ( COL_A , ROW_9 ) ;
151 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
155 CancelButton PB_CANCEL
157 Pos = MAP_APPFONT ( COL_B , ROW_9 ) ;
158 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
163 Pos = MAP_APPFONT ( COL_C , ROW_9 ) ;
164 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;