blob: 4d84c64296a9582f5e6bdd9874a02ac62b92cad5 (
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
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* 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 .
*/
#ifndef _DIALOGS_HRC
#define _DIALOGS_HRC
#include <svtools/controldims.hrc>
#include <xmlsecurity/global.hrc>
#define STD_MASKCOLOR Color{Red=0xffff;Green=0x0000;Blue=0xffff;}
#define FL_BOTTOM_SEP 50
#define BTN_HELP 53
#define STR_HEADERBAR 256
#define STR_VERSION 257
#define STR_SERIALNUM 258
#define STR_ISSUER 259
#define STR_VALIDFROM 260
#define STR_VALIDTO 261
#define STR_SUBJECT 262
#define STR_SUBJECT_PUBKEY_ALGO 263
#define STR_SUBJECT_PUBKEY_VAL 264
#define STR_SIGALGORITHM 265
#define STR_SIGNATURE_ALGO 266
#define STR_THUMBPRINT_SHA1 267
#define STR_THUMBPRINT_MD5 268
// --------- general metrics ---------
#define DLGS_WIDTH 287
#define DLGS_HEIGHT 195
// --------- ... for tab dialogs -----
#define TP_WIDTH 260
#define TP_HEIGHT 185
#define TD_SP_INNERBORDER_LEFT 3
#define SEP_FL_SPACE_Y 6
#define DLGS_BOTTOM_BTN_L(dlgh) (dlgh-RSC_SP_DLG_INNERBORDER_BOTTOM)
#define DLGS_BOTTOM_BTN_Y(dlgh) (DLGS_BOTTOM_BTN_L(dlgh)-RSC_CD_PUSHBUTTON_HEIGHT)
#define DLGS_BOTTOM_FL_Y(dlgh) (DLGS_BOTTOM_BTN_Y(dlgh)-SEP_FL_SPACE_Y-5)
#define DLGS_BOTTOM_HELP_X(dlgw) (dlgw-RSC_SP_DLG_INNERBORDER_RIGHT-RSC_CD_PUSHBUTTON_WIDTH)
#define DLGS_BOTTOM_CANCEL_X(dlgw) (DLGS_BOTTOM_HELP_X(dlgw)-RSC_SP_CTRL_X-RSC_CD_PUSHBUTTON_WIDTH)
#define DLGS_BOTTOM_OK_X(dlgw) (DLGS_BOTTOM_CANCEL_X(dlgw)-RSC_SP_CTRL_DESC_X-RSC_CD_PUSHBUTTON_WIDTH)
// --------- tab dialog Certificate viewer ---------
#define CS_COL_0 RSC_SP_DLG_INNERBORDER_LEFT
#define CS_COL_2 (DLGS_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT)
#define CS_LB_WIDTH (CS_COL_2-CS_COL_0)
#define CV_COL_0 TD_SP_INNERBORDER_LEFT
#define CV_COL_1 (TP_WIDTH-RSC_SP_TBPG_INNERBORDER_RIGHT)
#define CV_ROW_0 RSC_SP_TBPG_INNERBORDER_TOP
#define CV_ROW_3 (TP_HEIGHT-RSC_SP_TBPG_INNERBORDER_BOTTOM)
#define CV_CONT_WIDTH (CV_COL_1-CV_COL_0)
#define CV_CONT_HEIGHT (CV_ROW_3-CV_ROW_0)
#define CV_ROW_1 (CV_ROW_0+2*CV_CONT_HEIGHT/3)
#define CV_ROW_2 (CV_ROW_1+RSC_SP_CTRL_GROUP_Y)
// --------- tab page Certificate viewer - General ---------
#define WIN_FRAME 2
#define IMG_CERT 3
#define FI_CERTINFO 4
#define FL_SEP1 5
#define FI_HINTNOTTRUST 6
#define FL_SEP2 7
#define FI_ISSTOLABEL 8
#define FI_ISSTO 9
#define FI_ISSBYLABEL 10
#define FI_ISSBY 11
#define FI_VALIDDATE 12
#define IMG_KEY 13
#define FI_CORRPRIVKEY 14
#define STR_CERTIFICATE_NOT_VALIDATED 15
#define IMG_STATE_NOT_VALIDATED 16
#define IMG1_WIDTH 33
#define IMG1_HEIGHT 22
#define IMG2_WIDTH 20
#define IMG2_HEIGHT 20
#define CW_COL_0 (CV_COL_0+RSC_SP_GRP_INNERBORDER_LEFT)
#define CW_COL_1 (CW_COL_0+RSC_SP_FLGR_SPACE_X)
#define CW_COL_1a (CW_COL_0+IMG2_WIDTH+1)
#define CW_COL_2 (CW_COL_0+IMG1_WIDTH)
#define CW_COL_3 (CW_COL_2+RSC_SP_CTRL_GROUP_X)
#define CW_COL_4 (CW_COL_1+40)
#define CW_COL_5 (CV_CONT_WIDTH-RSC_SP_GRP_INNERBORDER_RIGHT)
#define CW_COL_5a (CW_COL_5-RSC_SP_GRP_INNERBORDER_RIGHT)
#define CW_ROW_0 (CV_ROW_0+RSC_SP_GRP_INNERBORDER_TOP)
#define CW_ROW_1 (CW_ROW_0+RSC_SP_GRP_INNERBORDER_TOP)
#define CW_ROW_2 (CW_ROW_0+IMG1_HEIGHT)
#define CW_ROW_3 (CW_ROW_2+3)
#define CW_ROW_4 (CW_ROW_3+RSC_SP_CTRL_Y+RSC_CD_FIXEDLINE_HEIGHT)
#define CW_ROW_4a (CW_ROW_4+35)
#define CW_ROW_5 (CW_ROW_4a+3)
#define CW_ROW_6 (CW_ROW_5+RSC_SP_CTRL_Y+RSC_CD_FIXEDLINE_HEIGHT)
#define CW_ROW_7 (CW_ROW_6+RSC_SP_CTRL_Y+RSC_CD_FIXEDTEXT_HEIGHT)
#define CW_ROW_8 (CW_ROW_7+RSC_SP_CTRL_Y+RSC_CD_FIXEDTEXT_HEIGHT)
#define CW_ROW_9 (CW_ROW_8+RSC_SP_CTRL_Y+RSC_CD_FIXEDTEXT_HEIGHT)
#define CW_ROW_10 (CW_ROW_9+2)
// --------- tab page Certificate viewer - Certification Path ---------
#define STR_PATH_CERT_OK 8
#define STR_PATH_CERT_NOT_VALIDATED 9
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|