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 "sfx2/sfx.hrc"
29#include "securitypage.hrc"
30#include "helpid.hrc"
31#include "dialog.hrc"
32#include "sfxlocal.hrc"
33
34#include <svtools/controldims.hrc>
35
36
37TabPage TP_DOCINFOSECURITY
38{
39    HelpId = HID_DOCINFOSECURITY ;
40    Hide = TRUE ;
41    Size = MAP_APPFONT ( 260 , 185 ) ;
42
43    FixedLine PASSWORD_TO_OPEN_FL
44	{
45        Pos = MAP_APPFONT( 6, 6 );
46        Size = MAP_APPFONT( 248, RSC_CD_FIXEDLINE_HEIGHT );
47        Text [ en-US ] = "File encryption password";
48	};
49    FixedText PASSWORD_TO_OPEN_FT
50	{
51        Pos = MAP_APPFONT( 12, 20 );
52        Size = MAP_APPFONT( 82, RSC_CD_FIXEDTEXT_HEIGHT );
53        Text [ en-US ] = "~Enter password to open";
54	};
55    Edit PASSWORD_TO_OPEN_ED
56	{
57	    HelpId = HID_SECURITYTAB_PASSWORD_TO_OPEN;
58        Pos = MAP_APPFONT( 100, 18 );
59        Size = MAP_APPFONT( 88, RSC_CD_TEXTBOX_HEIGHT );
60		Border = TRUE;
61        PassWord = TRUE;
62	};
63    FixedText CONFIRM_PASSWORD_TO_OPEN_FT
64	{
65        Pos = MAP_APPFONT( 12, 34 );
66        Size = MAP_APPFONT( 82, RSC_CD_FIXEDTEXT_HEIGHT );
67        Text [ en-US ] = "~Reenter password to open";
68	};
69    Edit CONFIRM_PASSWORD_TO_OPEN_ED
70	{
71	    HelpId = HID_SECURITYTAB_CONFIRM_PASSWORD_TO_OPEN;
72        Pos = MAP_APPFONT( 100, 32 );
73        Size = MAP_APPFONT( 88, RSC_CD_TEXTBOX_HEIGHT );
74		Border = TRUE;
75        PassWord = TRUE;
76	};
77    FixedText PASSWORD_INFO_FT
78	{
79        Pos = MAP_APPFONT( 12, 48 );
80        Size = MAP_APPFONT( 236, 3 * RSC_CD_FIXEDTEXT_HEIGHT );
81        Text [ en-US ] =
82                "Note: After a password has been set, the document will only open "\
83                "with the password. Should you lose the password, there will be "\
84                "no way to recover the document. Please also note that this password "\
85                "is case-sensitive.";
86        WordBreak = TRUE;
87	};
88    FixedLine PASSWORD_TO_MODIFY_FL
89	{
90        Pos = MAP_APPFONT( 6, 78 );
91        Size = MAP_APPFONT( 248, RSC_CD_FIXEDLINE_HEIGHT );
92        Text [ en-US ] = "File sharing password";
93	};
94    FixedText PASSWORD_TO_MODIFY_FT
95	{
96        Pos = MAP_APPFONT( 12, 92 );
97        Size = MAP_APPFONT( 82, RSC_CD_FIXEDTEXT_HEIGHT );
98        Text [ en-US ] = "Enter password to modify";
99	};
100    Edit PASSWORD_TO_MODIFY_ED
101	{
102	    HelpId = HID_SECURITYTAB_PASSWORD_TO_MODIFY;
103        Pos = MAP_APPFONT( 100, 90 );
104        Size = MAP_APPFONT( 88, RSC_CD_TEXTBOX_HEIGHT );
105		Border = TRUE;
106        PassWord = TRUE;
107	};
108    FixedText CONFIRM_PASSWORD_TO_MODIFY_FT
109	{
110        Pos = MAP_APPFONT( 12, 106 );
111        Size = MAP_APPFONT( 82, RSC_CD_FIXEDTEXT_HEIGHT );
112        Text [ en-US ] = "Reenter password to modify";
113	};
114    Edit CONFIRM_PASSWORD_TO_MODIFY_ED
115	{
116	    HelpId = HID_SECURITYTAB_CONFIRM_PASSWORD_TO_MODIFY;
117        Pos = MAP_APPFONT( 100, 104 );
118        Size = MAP_APPFONT( 88, RSC_CD_TEXTBOX_HEIGHT );
119		Border = TRUE;
120        PassWord = TRUE;
121	};
122    FixedLine OPTIONS_FL
123	{
124        Pos = MAP_APPFONT( 6, 120 );
125        Size = MAP_APPFONT( 248, RSC_CD_FIXEDLINE_HEIGHT );
126        Text [ en-US ] = "File sharing options";
127	};
128    CheckBox OPEN_READONLY_CB
129	{
130	    HelpId = HID_SECURITYTAB_OPEN_FILE_READONLY;
131        Pos = MAP_APPFONT( 12, 133 );
132        Size = MAP_APPFONT( 176, RSC_CD_CHECKBOX_HEIGHT );
133        Text [ en-US ] = "~Open file read-only";
134	};
135    CheckBox RECORD_CHANGES_CB
136	{
137	    HelpId = HID_SECURITYTAB_RECORD_CHANGES;
138        Pos = MAP_APPFONT( 12, 147 );
139        Size = MAP_APPFONT( 176, RSC_CD_CHECKBOX_HEIGHT );
140        Text [ en-US ] = "Record ~changes";
141	};
142    PushButton CHANGE_PROTECTION_PB
143	{
144	    HelpId = HID_SECURITYTAB_PROTECTION;
145        Pos = MAP_APPFONT( 194, 145 );
146        Size = MAP_APPFONT( 60, RSC_CD_PUSHBUTTON_HEIGHT );
147    };
148    String STR_PROTECT
149    {
150        Text [ en-US ] = "~Protect...";
151    };
152    String STR_UNPROTECT
153    {
154        Text [ en-US ] = "~Unprotect...";
155    };
156    String STR_END_REDLINING_WARNING
157    {
158        Text [ en-US ] = "This action will exit the change recording mode.\nAny information about changes will be lost.\n\nExit change recording mode?\n\n" ;
159    };
160};
161
162String RID_SFX_PROTECT_RECORDS
163{
164    Text [ en-US ] = "Protect Records" ;
165};
166String RID_SFX_UNPROTECT_RECORDS
167{
168    Text [ en-US ] = "Unprotect Records" ;
169};
170String RID_SFX_INCORRECT_PASSWORD
171{
172    Text [ en-US ] = "Incorrect password" ;
173};
174
175