1*0e2af6afSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*0e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*0e2af6afSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*0e2af6afSAndrew Rist * distributed with this work for additional information 6*0e2af6afSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*0e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*0e2af6afSAndrew Rist * "License"); you may not use this file except in compliance 9*0e2af6afSAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 11*0e2af6afSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 13*0e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*0e2af6afSAndrew Rist * software distributed under the License is distributed on an 15*0e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*0e2af6afSAndrew Rist * KIND, either express or implied. See the License for the 17*0e2af6afSAndrew Rist * specific language governing permissions and limitations 18*0e2af6afSAndrew Rist * under the License. 19cdf0e10cSrcweir * 20*0e2af6afSAndrew Rist *************************************************************/ 21*0e2af6afSAndrew Rist 22*0e2af6afSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir// include -------------------------------------------------------------- 25cdf0e10cSrcweir 26cdf0e10cSrcweir#include <svtools/controldims.hrc> 27cdf0e10cSrcweir#include "securityoptions.hrc" 28cdf0e10cSrcweir#include <cuires.hrc> 29cdf0e10cSrcweir#include "helpid.hrc" 30cdf0e10cSrcweir 31cdf0e10cSrcweirModalDialog RID_SVXDLG_SECURITY_OPTIONS 32cdf0e10cSrcweir{ 33cdf0e10cSrcweir HelpID = HID_DLG_SECURITY_OPTIONS ; 34cdf0e10cSrcweir OutputSize = TRUE ; 35cdf0e10cSrcweir SVLook = TRUE ; 36cdf0e10cSrcweir Size = MAP_APPFONT ( DLG_WIDTH , ROW_10 ) ; 37cdf0e10cSrcweir Moveable = TRUE ; 38cdf0e10cSrcweir Closeable = TRUE ; 39cdf0e10cSrcweir Text [ en-US ] = "Security options and warnings" ; 40cdf0e10cSrcweir FixedLine FL_WARNINGS 41cdf0e10cSrcweir { 42cdf0e10cSrcweir Pos = MAP_APPFONT( COL_0, ROW_0 ); 43cdf0e10cSrcweir Size = MAP_APPFONT( COL_4-COL_0, RSC_CD_FIXEDLINE_HEIGHT ); 44cdf0e10cSrcweir Text [ en-US ] = "Security warnings"; 45cdf0e10cSrcweir }; 46cdf0e10cSrcweir FixedText FI_WARNINGS 47cdf0e10cSrcweir { 48cdf0e10cSrcweir Pos = MAP_APPFONT( COL_1, ROW_1 ); 49cdf0e10cSrcweir Size = MAP_APPFONT( COL_3-COL_1, 2*RSC_CD_FIXEDLINE_HEIGHT ); 50cdf0e10cSrcweir Wordbreak = TRUE; 51cdf0e10cSrcweir Text [ en-US ] = "Warn if document contains recorded changes, versions, hidden information or notes:"; 52cdf0e10cSrcweir }; 53cdf0e10cSrcweir FixedImage FI_SAVESENDDOCS 54cdf0e10cSrcweir { 55cdf0e10cSrcweir Pos = MAP_APPFONT( COL_2 - 7, ROW_2 + 2 ); 56cdf0e10cSrcweir Size = MAP_APPFONT( 6, 6 ); 57cdf0e10cSrcweir }; 58cdf0e10cSrcweir CheckBox CB_SAVESENDDOCS 59cdf0e10cSrcweir { 60cdf0e10cSrcweir HelpID = "cui:CheckBox:RID_SVXDLG_SECURITY_OPTIONS:CB_SAVESENDDOCS"; 61cdf0e10cSrcweir Pos = MAP_APPFONT( COL_2, ROW_2 ); 62cdf0e10cSrcweir Size = MAP_APPFONT( CHECKBOX_WIDTH, RSC_CD_CHECKBOX_HEIGHT ); 63cdf0e10cSrcweir Text [ en-US ] = "When saving or sending"; 64cdf0e10cSrcweir }; 65cdf0e10cSrcweir FixedImage FI_SIGNDOCS 66cdf0e10cSrcweir { 67cdf0e10cSrcweir Pos = MAP_APPFONT( COL_2 + CHECKBOX_WIDTH + RSC_SP_CTRL_X - 7, ROW_2 + 2 ); 68cdf0e10cSrcweir Size = MAP_APPFONT( 6, 6 ); 69cdf0e10cSrcweir }; 70cdf0e10cSrcweir CheckBox CB_SIGNDOCS 71cdf0e10cSrcweir { 72cdf0e10cSrcweir HelpID = "cui:CheckBox:RID_SVXDLG_SECURITY_OPTIONS:CB_SIGNDOCS"; 73cdf0e10cSrcweir Pos = MAP_APPFONT( COL_2 + CHECKBOX_WIDTH + RSC_SP_CTRL_X, ROW_2 ); 74cdf0e10cSrcweir Size = MAP_APPFONT( CHECKBOX_WIDTH, RSC_CD_CHECKBOX_HEIGHT ); 75cdf0e10cSrcweir Text [ en-US ] = "When signing"; 76cdf0e10cSrcweir }; 77cdf0e10cSrcweir FixedImage FI_PRINTDOCS 78cdf0e10cSrcweir { 79cdf0e10cSrcweir Pos = MAP_APPFONT( COL_2 - 7, ROW_3 + 2 ); 80cdf0e10cSrcweir Size = MAP_APPFONT( 6, 6 ); 81cdf0e10cSrcweir }; 82cdf0e10cSrcweir CheckBox CB_PRINTDOCS 83cdf0e10cSrcweir { 84cdf0e10cSrcweir HelpID = "cui:CheckBox:RID_SVXDLG_SECURITY_OPTIONS:CB_PRINTDOCS"; 85cdf0e10cSrcweir Pos = MAP_APPFONT( COL_2, ROW_3 ); 86cdf0e10cSrcweir Size = MAP_APPFONT( CHECKBOX_WIDTH, RSC_CD_CHECKBOX_HEIGHT ); 87cdf0e10cSrcweir Text [ en-US ] = "When printing"; 88cdf0e10cSrcweir }; 89cdf0e10cSrcweir FixedImage FI_CREATEPDF 90cdf0e10cSrcweir { 91cdf0e10cSrcweir Pos = MAP_APPFONT( COL_2 + CHECKBOX_WIDTH + RSC_SP_CTRL_X - 7, ROW_3 + 2 ); 92cdf0e10cSrcweir Size = MAP_APPFONT( 6, 6 ); 93cdf0e10cSrcweir }; 94cdf0e10cSrcweir CheckBox CB_CREATEPDF 95cdf0e10cSrcweir { 96cdf0e10cSrcweir HelpID = "cui:CheckBox:RID_SVXDLG_SECURITY_OPTIONS:CB_CREATEPDF"; 97cdf0e10cSrcweir Pos = MAP_APPFONT( COL_2 + CHECKBOX_WIDTH + RSC_SP_CTRL_X, ROW_3 ); 98cdf0e10cSrcweir Size = MAP_APPFONT( CHECKBOX_WIDTH, RSC_CD_CHECKBOX_HEIGHT ); 99cdf0e10cSrcweir Text [ en-US ] = "When creating PDF files"; 100cdf0e10cSrcweir }; 101cdf0e10cSrcweir FixedLine FL_OPTIONS 102cdf0e10cSrcweir { 103cdf0e10cSrcweir Pos = MAP_APPFONT( COL_0, ROW_4 ); 104cdf0e10cSrcweir Size = MAP_APPFONT( COL_4-COL_0, RSC_CD_FIXEDLINE_HEIGHT ); 105cdf0e10cSrcweir Text [ en-US ] = "Security options"; 106cdf0e10cSrcweir }; 107cdf0e10cSrcweir FixedImage FI_REMOVEINFO 108cdf0e10cSrcweir { 109cdf0e10cSrcweir Pos = MAP_APPFONT( COL_1 - 7, ROW_5 + 2 ); 110cdf0e10cSrcweir Size = MAP_APPFONT( 6, 6 ); 111cdf0e10cSrcweir }; 112cdf0e10cSrcweir CheckBox CB_REMOVEINFO 113cdf0e10cSrcweir { 114cdf0e10cSrcweir HelpID = "cui:CheckBox:RID_SVXDLG_SECURITY_OPTIONS:CB_REMOVEINFO"; 115cdf0e10cSrcweir Pos = MAP_APPFONT( COL_1, ROW_5 ); 116cdf0e10cSrcweir Size = MAP_APPFONT( COL_3-COL_1, RSC_CD_CHECKBOX_HEIGHT ); 117cdf0e10cSrcweir Text [ en-US ] = "Remove personal information on saving"; 118cdf0e10cSrcweir }; 119cdf0e10cSrcweir FixedImage FI_RECOMMENDPWD 120cdf0e10cSrcweir { 121cdf0e10cSrcweir Pos = MAP_APPFONT( COL_1 - 7, ROW_6 + 2 ); 122cdf0e10cSrcweir Size = MAP_APPFONT( 6, 6 ); 123cdf0e10cSrcweir }; 124cdf0e10cSrcweir CheckBox CB_RECOMMENDPWD 125cdf0e10cSrcweir { 126cdf0e10cSrcweir HelpID = "cui:CheckBox:RID_SVXDLG_SECURITY_OPTIONS:CB_RECOMMENDPWD"; 127cdf0e10cSrcweir Pos = MAP_APPFONT( COL_1, ROW_6 ); 128cdf0e10cSrcweir Size = MAP_APPFONT( COL_3-COL_1, RSC_CD_CHECKBOX_HEIGHT ); 129cdf0e10cSrcweir Text [ en-US ] = "Recommend password protection on saving"; 130cdf0e10cSrcweir }; 131cdf0e10cSrcweir FixedImage FI_CTRLHYPERLINK 132cdf0e10cSrcweir { 133cdf0e10cSrcweir Pos = MAP_APPFONT( COL_1 - 7, ROW_6 + 2 ); 134cdf0e10cSrcweir Size = MAP_APPFONT( 6, 6 ); 135cdf0e10cSrcweir }; 136cdf0e10cSrcweir CheckBox CB_CTRLHYPERLINK 137cdf0e10cSrcweir { 138cdf0e10cSrcweir HelpID = "cui:CheckBox:RID_SVXDLG_SECURITY_OPTIONS:CB_CTRLHYPERLINK"; 139cdf0e10cSrcweir Pos = MAP_APPFONT( COL_1, ROW_7 ); 140cdf0e10cSrcweir Size = MAP_APPFONT( COL_3-COL_1, RSC_CD_CHECKBOX_HEIGHT ); 141cdf0e10cSrcweir Text [ en-US ] = "Ctrl-click required to follow hyperlinks"; 142cdf0e10cSrcweir }; 143cdf0e10cSrcweir FixedLine FL_BUTTONS 144cdf0e10cSrcweir { 145cdf0e10cSrcweir Pos = MAP_APPFONT( 0, ROW_8 ); 146cdf0e10cSrcweir Size = MAP_APPFONT( DLG_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ); 147cdf0e10cSrcweir }; 148cdf0e10cSrcweir OKButton PB_OK 149cdf0e10cSrcweir { 150cdf0e10cSrcweir Pos = MAP_APPFONT ( COL_A , ROW_9 ) ; 151cdf0e10cSrcweir Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ; 152cdf0e10cSrcweir TabStop = TRUE ; 153cdf0e10cSrcweir DefButton = TRUE ; 154cdf0e10cSrcweir }; 155cdf0e10cSrcweir CancelButton PB_CANCEL 156cdf0e10cSrcweir { 157cdf0e10cSrcweir Pos = MAP_APPFONT ( COL_B , ROW_9 ) ; 158cdf0e10cSrcweir Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ; 159cdf0e10cSrcweir TabStop = TRUE ; 160cdf0e10cSrcweir }; 161cdf0e10cSrcweir HelpButton PB_HELP 162cdf0e10cSrcweir { 163cdf0e10cSrcweir Pos = MAP_APPFONT ( COL_C , ROW_9 ) ; 164cdf0e10cSrcweir Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ; 165cdf0e10cSrcweir TabStop = TRUE ; 166cdf0e10cSrcweir }; 167cdf0e10cSrcweir}; 168cdf0e10cSrcweir 169