1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
25 // local resources *********************************************************
40 #define TXT_COLUMNS 14
41 #define FLD_COLUMNS 15
46 #define TXT_PHEIGHT 20
47 #define FLD_PHEIGHT 21
63 // global resources ********************************************************
65 #define STR_HDIST (RC_LABFMT_BEGIN + 1)
66 #define STR_VDIST (RC_LABFMT_BEGIN + 2)
67 #define STR_WIDTH (RC_LABFMT_BEGIN + 3)
68 #define STR_HEIGHT (RC_LABFMT_BEGIN + 4)
69 #define STR_LEFT (RC_LABFMT_BEGIN + 5)
70 #define STR_UPPER (RC_LABFMT_BEGIN + 6)
71 #define STR_COLS (RC_LABFMT_BEGIN + 7)
72 #define STR_ROWS (RC_LABFMT_BEGIN + 8)
73 #define STR_PWIDTH (RC_LABFMT_BEGIN + 9)
74 #define STR_PHEIGHT (RC_LABFMT_BEGIN + 10)
75 #define WB_PREDEFINED_LABEL (RC_LABFMT_BEGIN + 11)
77 // overflow check ********************************************************
79 #define LABFMT_ACT_END WB_PREDEFINED_LABEL
81 #if LABFMT_ACT_END > RC_LABFMT_END
82 #error Resource overflow in #file, #line
87 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */