blob: dd7804b93b2265d3d1efcb5a4d43a2ed90f00897 (
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
|
/*
* 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 _LABFMT_HRC
#define _LABFMT_HRC
#include "envelp.hrc"
// local resources *********************************************************
#define WIN_PREVIEW 1
#define TXT_HDIST 2
#define FLD_HDIST 3
#define TXT_VDIST 4
#define FLD_VDIST 5
#define TXT_WIDTH 6
#define FLD_WIDTH 7
#define TXT_HEIGHT 8
#define FLD_HEIGHT 9
#define TXT_LEFT 10
#define FLD_LEFT 11
#define TXT_UPPER 12
#define FLD_UPPER 13
#define TXT_COLUMNS 14
#define FLD_COLUMNS 15
#define TXT_ROWS 16
#define FLD_ROWS 17
#define TXT_PWIDTH 18
#define FLD_PWIDTH 19
#define TXT_PHEIGHT 20
#define FLD_PHEIGHT 21
#define FL_NONAME 22
#define PB_SAVE 23
#define FI_MAKE 24
#define FI_TYPE 25
#define FL_OPTIONS 1
#define FT_MAKE 2
#define CB_MAKE 3
#define FT_TYPE 4
#define ED_TYPE 5
#define PB_OK 6
#define PB_CANCEL 7
#define PB_HELP 8
#define MB_QUERY 9
// global resources ********************************************************
#define STR_HDIST (RC_LABFMT_BEGIN + 1)
#define STR_VDIST (RC_LABFMT_BEGIN + 2)
#define STR_WIDTH (RC_LABFMT_BEGIN + 3)
#define STR_HEIGHT (RC_LABFMT_BEGIN + 4)
#define STR_LEFT (RC_LABFMT_BEGIN + 5)
#define STR_UPPER (RC_LABFMT_BEGIN + 6)
#define STR_COLS (RC_LABFMT_BEGIN + 7)
#define STR_ROWS (RC_LABFMT_BEGIN + 8)
#define STR_PWIDTH (RC_LABFMT_BEGIN + 9)
#define STR_PHEIGHT (RC_LABFMT_BEGIN + 10)
// overflow check ********************************************************
#define LABFMT_ACT_END STR_PHEIGHT
#if LABFMT_ACT_END > RC_LABFMT_END
#error Resource-Ueberlauf in #file, #line
#endif
#endif
|