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_PROPERTYPANEL_SC_ALIGNMENT--------------------------------------------------------------
23#define FT_ORIENT                                            1
24#define CBX_WRAP										     5
25#define FT_LEFT_INDENT										 7
26#define MF_LEFT_INDENT										 8
27#define CBX_MERGE											 9
28#define CBX_VERT											10
29#define CTL_SBSHAPE_POSREFERENCE                            12
30#define CBOX_ANGLE										14
31#define TBX_HORIZONTAL_ALIGNMENT						15
32#define TBX_VERTICAL_ALIGN								16
33#define DIAL_CONTROL									17
34#define ID_SUBSTLEFT			    20
35#define ID_SUBSTCENTER				21
36#define ID_SUBSTRIGHT				22
37#define ID_SUBSTJUSTIFY				23
38#define IID_VERT_TOP				24
39#define IID_VERT_CENTER				25
40#define IID_VERT_BOTTOM				26
41
42#define MBOX_WIDTH						45
43#define TEXT_WIDTH                      40
44#define FLIP_BUTTON_SIZE                13
45#define ALIGNMENT_TBX_HEIGHT			17
46#define ALIGNMENT_TBX_WIDTH				13
47
48#define	IMG_ALIGN_LEFT					50
49#define IMG_ALIGN_CENTER				51
50#define IMG_ALIGN_RIGHT					52
51#define IMG_ALIGN_JUST					53
52#define IMG_ALIGN_TOP					54
53#define IMG_ALIGN_CENTER_V				55
54#define IMG_ALIGN_BOTTOM				56
55
56//---------------position-----------------
57
58#define ALIGNMENT_X						     	SECTIONPAGE_MARGIN_HORIZONTAL
59#define ALIGNMENT_Y							    SECTIONPAGE_MARGIN_VERTICAL_TOP
60#define ALIGNMENT_VERT_X						(ALIGNMENT_X + TBX_OUT_BORDER_OFFSET_X*2 + TOOLBOX_ITEM_WIDTH * 4 + CONTROL_SPACING_HORIZONTAL)
61#define ALIGNMENT_VERT_Y						ALIGNMENT_Y
62
63#define FT_LEFTINDENT_X							ALIGNMENT_X
64#define FT_LEFTINDENT_Y							(ALIGNMENT_Y + TOOLBOX_ITEM_HEIGHT + TBX_OUT_BORDER_OFFSET_Y + CONTROL_SPACING_VERTICAL)
65#define MTR_LEFTINDENT_X						ALIGNMENT_X
66#define MTR_LEFTINDENT_Y						(FT_LEFTINDENT_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL)
67
68#define CBX_WRAP_X							    (ALIGNMENT_X + TEXT_WIDTH + 10 + CONTROL_SPACING_HORIZONTAL)
69#define CBX_WRAP_Y							    (FT_LEFTINDENT_Y + 2)
70
71#define CBX_MERGE_X							    CBX_WRAP_X
72#define CBX_MERGE_Y							    CBX_WRAP_Y + CBOX_HEIGHT + 2
73
74#define FT_ORIENT_X								ALIGNMENT_X
75#define FT_ORIENT_Y								MTR_LEFTINDENT_Y + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL
76
77#define COMOBX_ROTATION_X						FT_ORIENT_X + 30 + CONTROL_SPACING_HORIZONTAL
78#define COMOBX_ROTATION_Y						FT_ORIENT_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL + 5
79
80#define ROTATE_CONTROL_X						FT_ORIENT_X
81#define ROTATE_CONTROL_Y						COMOBX_ROTATION_Y - 3
82
83#define CBX_VERT_X							    COMOBX_ROTATION_X
84#define CBX_VERT_Y							    COMOBX_ROTATION_Y + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL + 2
85
86#define PANEL_HEIGHT							CBX_VERT_Y + 6 + SECTIONPAGE_MARGIN_VERTICAL_BOT
87
88// eof
89