summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/securitypage.src
blob: 75463f16a116a0d8af8da91fb818b1f9003ea3d7 (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
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#include "sfx2/sfx.hrc"
#include "sfx2/tabpage.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 ( TP_WIDTH , TP_HEIGHT ) ;

    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_INCORRECT_PASSWORD
{
    Text [ en-US ] = "Incorrect password" ;
};