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 .
20 #ifndef _OFFAPP_INTERNATIONALOPTIONS_HRC_
21 #define _OFFAPP_INTERNATIONALOPTIONS_HRC_
23 #include <svtools/controldims.hrc>
26 #define PAGE_SIZE_X 260
27 #define PAGE_SIZE_Y 185
30 #define COL_0 RSC_SP_TBPG_INNERBORDER_LEFT
31 #define COL_1 (COL_0 + RSC_SP_FLGR_SPACE_X)
32 #define COL_2 (COL_1 + RSC_SP_CHK_TEXTINDENT)
33 #define COL_LAST (PAGE_SIZE_X - RSC_SP_TBPG_INNERBORDER_RIGHT)
36 #define HEIGHT_FL RSC_CD_FIXEDLINE_HEIGHT
37 #define HEIGHT_RB RSC_CD_RADIOBUTTON_HEIGHT
38 #define HEIGHT_CB RSC_CD_CHECKBOX_HEIGHT
41 #define SPACE_FL_NEXTCTRL_Y RSC_SP_CTRL_DESC_Y
44 #define ROW_0 RSC_SP_TBPG_INNERBORDER_TOP
45 #define ROW_1 (ROW_0 + HEIGHT_FL + SPACE_FL_NEXTCTRL_Y)
46 #define ROW_2 (ROW_1 + HEIGHT_RB + RSC_SP_CTRL_GROUP_Y)
47 #define ROW_3 (ROW_2 + HEIGHT_RB + RSC_SP_FLGR_SPACE_Y)
48 #define ROW_4 (ROW_3 + HEIGHT_FL + SPACE_FL_NEXTCTRL_Y)
49 #define ROW_5 (ROW_4 + HEIGHT_CB + RSC_SP_CTRL_GROUP_Y)
51 // misc calculation makros
52 #define WIDTH2END( startcol ) (COL_LAST - startcol)
56 #define FL_DEFTXTDIRECTION 1
57 #define RB_TXTDIR_LEFT2RIGHT 2
58 #define RB_TXTDIR_RIGHT2LEFT 3
59 #define FL_SHEETVIEW 4
60 #define CB_SHTVW_RIGHT2LEFT 5
61 #define CB_SHTVW_CURRENTDOCONLY 6
65 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */