xref: /AOO41X/main/svx/source/sidebar/possize/PosSizePropertyPanel.hrc (revision cbe4a5e32dd06077057875dd5ecd4d8f1991662a)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22//  RID_SIDEBAR_POSSIZE_PANEL--------------------------------------------------------------
23#define FT_WIDTH                                            1
24#define MTR_FLD_WIDTH                                       2
25#define FT_HEIGHT                                           3
26#define MTR_FLD_HEIGHT                                      4
27#define CBX_SCALE                                           5
28#define FT_SBSHAPE_HORIZONTAL                               7
29#define MF_SBSHAPE_HORIZONTAL                               8
30#define FT_SBSHAPE_VERTICAL                                 9
31#define MF_SBSHAPE_VERTICAL                                 10
32#define FT_SBSHAPE_POSREFERENCE                             11
33#define CTL_SBSHAPE_POSREFERENCE                            12
34#define FT_ANGLE                                            13
35#define MTR_FLD_ANGLE                                       14
36#define TBX_FLIP                                            15
37#define DIAL_CONTROL                                        17
38#define FLIP_HORIZONTAL                                     18
39#define FLIP_VERTICAL                                       19
40#define FT_FLIP                                             22
41#define STR_QH_HORI_FLIP                                    23
42#define STR_QH_VERT_FLIP                                    24
43
44#define MBOX_WIDTH                      50
45#define TEXT_WIDTH                      40
46#define FLIP_BUTTON_SIZE                13
47#define ALIGNMENT_TBX_HEIGHT  17
48#define ALIGNMENT_TBX_WIDTH   13
49
50#define FT_POSITION_X_X                         SECTIONPAGE_MARGIN_HORIZONTAL
51#define FT_POSITION_X_Y                         SECTIONPAGE_MARGIN_VERTICAL_TOP
52#define MF_POSITION_X_X                         FT_POSITION_X_X
53#define MF_POSITION_X_Y                         FT_POSITION_X_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL
54#define FT_POSITION_Y_X                         FT_POSITION_X_X + MBOX_WIDTH + CONTROL_SPACING_HORIZONTAL
55#define FT_POSITION_Y_Y                         FT_POSITION_X_Y
56#define MF_POSITION_Y_X                         FT_POSITION_Y_X
57#define MF_POSITION_Y_Y                         MF_POSITION_X_Y
58
59#define FT_WIDTH_X                              SECTIONPAGE_MARGIN_HORIZONTAL
60#define FT_WIDTH_Y                              MF_POSITION_X_Y + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL
61#define FLD_WIDTH_X                             FT_WIDTH_X
62#define FLD_WIDTH_Y                             FT_WIDTH_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL
63#define FT_HEIGHT_X                             FT_WIDTH_X + MBOX_WIDTH + CONTROL_SPACING_HORIZONTAL
64#define FT_HEIGHT_Y                             FT_WIDTH_Y
65#define FLD_HEIGHT_X                            FT_HEIGHT_X
66#define FLD_HEIGHT_Y                            FLD_WIDTH_Y
67#define CBX_X                                   FT_WIDTH_X
68#define CBX_Y                                   FLD_WIDTH_Y + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL
69/////////////////////
70#define FT_ROTATION_X                           FT_WIDTH_X
71#define FT_ROTATION_Y                           CBX_Y + CONTROL_SPACING_VERTICAL + TEXT_HEIGHT
72
73#define MF_ROTATION_X                           FT_ROTATION_X + 40 + CONTROL_SPACING_HORIZONTAL
74#define MF_ROTATION_Y                           FT_ROTATION_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL
75
76#define ROTATE_CONTROL_X                        FT_ROTATION_X
77#define ROTATE_CONTROL_Y                        MF_ROTATION_Y + 4
78
79#define FT_FLIP_X                               MF_ROTATION_X
80#define FT_FLIP_Y                               MF_ROTATION_Y + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL + 5
81
82#define BTN_FLIP_HORI_X                         PROPERTYPAGE_WIDTH - SECTIONPAGE_MARGIN_HORIZONTAL - TOOLBOX_ITEM_WIDTH * 2 - 1   // wj for 7926
83#define BTN_FLIP_HORI_Y                         FT_FLIP_Y - 5
84////////////////////////////////
85
86#define FT_ANGLE_X                              FLD_WIDTH_X
87#define FT_ANGLE_Y                              FLD_WIDTH_Y + 4
88
89#define MF_ANGLE_X2                             MF_ROTATION_X
90#define MF_ANGLE_Y2                             FT_ANGLE_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL
91
92#define ROTATE_CONTROL_X2                       FT_ANGLE_X
93#define ROTATE_CONTROL_Y2                       MF_ANGLE_Y2 + 4
94
95#define FT_FLIP_X2                              MF_ANGLE_X2
96#define FT_FLIP_Y2                              MF_ANGLE_Y2 + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL + 5
97
98#define FLIP_HORI_X2                            PROPERTYPAGE_WIDTH - SECTIONPAGE_MARGIN_HORIZONTAL - TOOLBOX_ITEM_WIDTH * 2     //FT_FLIP_X2 + 22
99#define FLIP_HORI_Y2                            FT_FLIP_Y2 - 5
100
101#define PS_SECTIONPAGE_HEIGHT                   BTN_FLIP_HORI_Y + ALIGNMENT_TBX_HEIGHT + SECTIONPAGE_MARGIN_VERTICAL_BOT + 2
102#define PS_SECTIONPAGE_HEIGHT2                  FLIP_HORI_Y2 + ALIGNMENT_TBX_HEIGHT + SECTIONPAGE_MARGIN_VERTICAL_BOT + 2
103#define PS_SECTIONPAGE_HEIGHT3                  FT_WIDTH_Y + TEXT_HEIGHT + SECTIONPAGE_MARGIN_VERTICAL_BOT
104#define PS_SECTIONPAGE_HEIGHT4                  CBX_Y + CBOX_HEIGHT + SECTIONPAGE_MARGIN_VERTICAL_BOT
105
106// eof
107