summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/securitypage.src
blob: 481806899048192b54c69d3aba45ac403c10d5cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
/*************************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 * 
 * Copyright 2000, 2010 Oracle and/or its affiliates.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************/

#include "sfx2/sfx.hrc"
#include "securitypage.hrc"
#include "helpid.hrc"
#include "dialog.hrc"
#include "sfxlocal.hrc"

#include <svtools/controldims.hrc>


TabPage TP_DOCINFOSECURITY
{
    HelpId = HID_DOCINFOSECURITY ;
    Hide = TRUE ;
    Size = MAP_APPFONT ( 260 , 185 ) ;

    FixedLine PASSWORD_TO_OPEN_FL
    {
        Pos = MAP_APPFONT( 6, 6 );
        Size = MAP_APPFONT( 248, RSC_CD_FIXEDLINE_HEIGHT );
        Text [ en-US ] = "File encryption password";
    };
    FixedText PASSWORD_TO_OPEN_FT
    {
        Pos = MAP_APPFONT( 12, 20 );
        Size = MAP_APPFONT( 82, RSC_CD_FIXEDTEXT_HEIGHT );
        Text [ en-US ] = "~Enter password to open";
    };
    Edit PASSWORD_TO_OPEN_ED
    {
        HelpId = HID_SECURITYTAB_PASSWORD_TO_OPEN;
        Pos = MAP_APPFONT( 100, 18 );
        Size = MAP_APPFONT( 88, RSC_CD_TEXTBOX_HEIGHT );
        Border = TRUE;
        PassWord = TRUE;
    };
    FixedText CONFIRM_PASSWORD_TO_OPEN_FT
    {
        Pos = MAP_APPFONT( 12, 34 );
        Size = MAP_APPFONT( 82, RSC_CD_FIXEDTEXT_HEIGHT );
        Text [ en-US ] = "~Reenter password to open";
    };
    Edit CONFIRM_PASSWORD_TO_OPEN_ED
    {
        HelpId = HID_SECURITYTAB_CONFIRM_PASSWORD_TO_OPEN;
        Pos = MAP_APPFONT( 100, 32 );
        Size = MAP_APPFONT( 88, RSC_CD_TEXTBOX_HEIGHT );
        Border = TRUE;
        PassWord = TRUE;
    };
    FixedText PASSWORD_INFO_FT
    {
        Pos = MAP_APPFONT( 12, 48 );
        Size = MAP_APPFONT( 236, 3 * RSC_CD_FIXEDTEXT_HEIGHT );
        Text [ en-US ] = 
                "Note: After a password has been set, the document will only open "\
                "with the password. Should you lose the password, there will be "\
                "no way to recover the document. Please also note that this password "\
                "is case-sensitive.";
        WordBreak = TRUE;                
    };
    FixedLine PASSWORD_TO_MODIFY_FL
    {
        Pos = MAP_APPFONT( 6, 78 );
        Size = MAP_APPFONT( 248, RSC_CD_FIXEDLINE_HEIGHT );
        Text [ en-US ] = "File sharing password";
    };
    FixedText PASSWORD_TO_MODIFY_FT
    {
        Pos = MAP_APPFONT( 12, 92 );
        Size = MAP_APPFONT( 82, RSC_CD_FIXEDTEXT_HEIGHT );
        Text [ en-US ] = "Enter password to modify";
    };
    Edit PASSWORD_TO_MODIFY_ED
    {
        HelpId = HID_SECURITYTAB_PASSWORD_TO_MODIFY;
        Pos = MAP_APPFONT( 100, 90 );
        Size = MAP_APPFONT( 88, RSC_CD_TEXTBOX_HEIGHT );
        Border = TRUE;
        PassWord = TRUE;
    };
    FixedText CONFIRM_PASSWORD_TO_MODIFY_FT
    {
        Pos = MAP_APPFONT( 12, 106 );
        Size = MAP_APPFONT( 82, RSC_CD_FIXEDTEXT_HEIGHT );
        Text [ en-US ] = "Reenter password to modify";
    };
    Edit CONFIRM_PASSWORD_TO_MODIFY_ED
    {
        HelpId = HID_SECURITYTAB_CONFIRM_PASSWORD_TO_MODIFY;
        Pos = MAP_APPFONT( 100, 104 );
        Size = MAP_APPFONT( 88, RSC_CD_TEXTBOX_HEIGHT );
        Border = TRUE;
        PassWord = TRUE;
    };
    FixedLine OPTIONS_FL
    {
        Pos = MAP_APPFONT( 6, 120 );
        Size = MAP_APPFONT( 248, RSC_CD_FIXEDLINE_HEIGHT );
        Text [ en-US ] = "File sharing options";
    };
    CheckBox OPEN_READONLY_CB
    {
        HelpId = HID_SECURITYTAB_OPEN_FILE_READONLY;
        Pos = MAP_APPFONT( 12, 133 );
        Size = MAP_APPFONT( 176, RSC_CD_CHECKBOX_HEIGHT );
        Text [ en-US ] = "~Open file read-only";
    };
    CheckBox RECORD_CHANGES_CB
    {
        HelpId = HID_SECURITYTAB_RECORD_CHANGES;
        Pos = MAP_APPFONT( 12, 147 );
        Size = MAP_APPFONT( 176, RSC_CD_CHECKBOX_HEIGHT );
        Text [ en-US ] = "Record ~changes";
    };
    PushButton CHANGE_PROTECTION_PB
    {
        HelpId = HID_SECURITYTAB_PROTECTION;
        Pos = MAP_APPFONT( 194, 145 );
        Size = MAP_APPFONT( 60, RSC_CD_PUSHBUTTON_HEIGHT );
    };
    String STR_PROTECT
    {
        Text [ en-US ] = "~Protect...";
    };
    String STR_UNPROTECT
    {
        Text [ en-US ] = "~Unprotect...";
    };
    String STR_END_REDLINING_WARNING
    {
        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" ;
    };
};

String RID_SFX_PROTECT_RECORDS
{
    Text [ en-US ] = "Protect Records" ;
};
String RID_SFX_UNPROTECT_RECORDS
{
    Text [ en-US ] = "Unprotect Records" ;
};
String RID_SFX_INCORRECT_PASSWORD
{
    Text [ en-US ] = "Incorrect password" ;
};