1*facb16e7SArmin Le Grand/**************************************************************
2*facb16e7SArmin Le Grand *
3*facb16e7SArmin Le Grand * Licensed to the Apache Software Foundation (ASF) under one
4*facb16e7SArmin Le Grand * or more contributor license agreements.  See the NOTICE file
5*facb16e7SArmin Le Grand * distributed with this work for additional information
6*facb16e7SArmin Le Grand * regarding copyright ownership.  The ASF licenses this file
7*facb16e7SArmin Le Grand * to you under the Apache License, Version 2.0 (the
8*facb16e7SArmin Le Grand * "License"); you may not use this file except in compliance
9*facb16e7SArmin Le Grand * with the License.  You may obtain a copy of the License at
10*facb16e7SArmin Le Grand *
11*facb16e7SArmin Le Grand *   http://www.apache.org/licenses/LICENSE-2.0
12*facb16e7SArmin Le Grand *
13*facb16e7SArmin Le Grand * Unless required by applicable law or agreed to in writing,
14*facb16e7SArmin Le Grand * software distributed under the License is distributed on an
15*facb16e7SArmin Le Grand * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*facb16e7SArmin Le Grand * KIND, either express or implied.  See the License for the
17*facb16e7SArmin Le Grand * specific language governing permissions and limitations
18*facb16e7SArmin Le Grand * under the License.
19*facb16e7SArmin Le Grand *
20*facb16e7SArmin Le Grand *************************************************************/
21*facb16e7SArmin Le Grand
22*facb16e7SArmin Le Grand// RID_PROPERTYPANEL_SC_ALIGNMENT--------------------------------------------------------------
23*facb16e7SArmin Le Grand#define FT_ORIENT                                            1
24*facb16e7SArmin Le Grand#define CBX_WRAP										     5
25*facb16e7SArmin Le Grand#define FT_LEFT_INDENT										 7
26*facb16e7SArmin Le Grand#define MF_LEFT_INDENT										 8
27*facb16e7SArmin Le Grand#define CBX_MERGE											 9
28*facb16e7SArmin Le Grand#define CBX_VERT											10
29*facb16e7SArmin Le Grand#define CTL_SBSHAPE_POSREFERENCE                            12
30*facb16e7SArmin Le Grand#define CBOX_ANGLE										14
31*facb16e7SArmin Le Grand#define TBX_HORIZONTAL_ALIGNMENT						15
32*facb16e7SArmin Le Grand#define TBX_VERTICAL_ALIGN								16
33*facb16e7SArmin Le Grand#define DIAL_CONTROL									17
34*facb16e7SArmin Le Grand#define ID_SUBSTLEFT			    20
35*facb16e7SArmin Le Grand#define ID_SUBSTCENTER				21
36*facb16e7SArmin Le Grand#define ID_SUBSTRIGHT				22
37*facb16e7SArmin Le Grand#define ID_SUBSTJUSTIFY				23
38*facb16e7SArmin Le Grand#define IID_VERT_TOP				24
39*facb16e7SArmin Le Grand#define IID_VERT_CENTER				25
40*facb16e7SArmin Le Grand#define IID_VERT_BOTTOM				26
41*facb16e7SArmin Le Grand
42*facb16e7SArmin Le Grand#define MBOX_WIDTH						45
43*facb16e7SArmin Le Grand#define TEXT_WIDTH                      40
44*facb16e7SArmin Le Grand#define FLIP_BUTTON_SIZE                13
45*facb16e7SArmin Le Grand#define ALIGNMENT_TBX_HEIGHT			17
46*facb16e7SArmin Le Grand#define ALIGNMENT_TBX_WIDTH				13
47*facb16e7SArmin Le Grand
48*facb16e7SArmin Le Grand#define	IMG_ALIGN_LEFT					50
49*facb16e7SArmin Le Grand#define IMG_ALIGN_CENTER				51
50*facb16e7SArmin Le Grand#define IMG_ALIGN_RIGHT					52
51*facb16e7SArmin Le Grand#define IMG_ALIGN_JUST					53
52*facb16e7SArmin Le Grand#define IMG_ALIGN_TOP					54
53*facb16e7SArmin Le Grand#define IMG_ALIGN_CENTER_V				55
54*facb16e7SArmin Le Grand#define IMG_ALIGN_BOTTOM				56
55*facb16e7SArmin Le Grand
56*facb16e7SArmin Le Grand//---------------position-----------------
57*facb16e7SArmin Le Grand
58*facb16e7SArmin Le Grand#define ALIGNMENT_X						     	SECTIONPAGE_MARGIN_HORIZONTAL
59*facb16e7SArmin Le Grand#define ALIGNMENT_Y							    SECTIONPAGE_MARGIN_VERTICAL_TOP
60*facb16e7SArmin Le Grand#define ALIGNMENT_VERT_X						(ALIGNMENT_X + TBX_OUT_BORDER_OFFSET_X*2 + TOOLBOX_ITEM_WIDTH * 4 + CONTROL_SPACING_HORIZONTAL)
61*facb16e7SArmin Le Grand#define ALIGNMENT_VERT_Y						ALIGNMENT_Y
62*facb16e7SArmin Le Grand
63*facb16e7SArmin Le Grand#define FT_LEFTINDENT_X							ALIGNMENT_X
64*facb16e7SArmin Le Grand#define FT_LEFTINDENT_Y							(ALIGNMENT_Y + TOOLBOX_ITEM_HEIGHT + TBX_OUT_BORDER_OFFSET_Y + CONTROL_SPACING_VERTICAL)
65*facb16e7SArmin Le Grand#define MTR_LEFTINDENT_X						ALIGNMENT_X
66*facb16e7SArmin Le Grand#define MTR_LEFTINDENT_Y						(FT_LEFTINDENT_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL)
67*facb16e7SArmin Le Grand
68*facb16e7SArmin Le Grand#define CBX_WRAP_X							    (ALIGNMENT_X + TEXT_WIDTH + 10 + CONTROL_SPACING_HORIZONTAL)
69*facb16e7SArmin Le Grand#define CBX_WRAP_Y							    (FT_LEFTINDENT_Y + 2)
70*facb16e7SArmin Le Grand
71*facb16e7SArmin Le Grand#define CBX_MERGE_X							    CBX_WRAP_X
72*facb16e7SArmin Le Grand#define CBX_MERGE_Y							    CBX_WRAP_Y + CBOX_HEIGHT + 2
73*facb16e7SArmin Le Grand
74*facb16e7SArmin Le Grand#define FT_ORIENT_X								ALIGNMENT_X
75*facb16e7SArmin Le Grand#define FT_ORIENT_Y								MTR_LEFTINDENT_Y + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL
76*facb16e7SArmin Le Grand
77*facb16e7SArmin Le Grand#define COMOBX_ROTATION_X						FT_ORIENT_X + 30 + CONTROL_SPACING_HORIZONTAL
78*facb16e7SArmin Le Grand#define COMOBX_ROTATION_Y						FT_ORIENT_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL + 5
79*facb16e7SArmin Le Grand
80*facb16e7SArmin Le Grand#define ROTATE_CONTROL_X						FT_ORIENT_X
81*facb16e7SArmin Le Grand#define ROTATE_CONTROL_Y						COMOBX_ROTATION_Y - 3
82*facb16e7SArmin Le Grand
83*facb16e7SArmin Le Grand#define CBX_VERT_X							    COMOBX_ROTATION_X
84*facb16e7SArmin Le Grand#define CBX_VERT_Y							    COMOBX_ROTATION_Y + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL + 2
85*facb16e7SArmin Le Grand
86*facb16e7SArmin Le Grand#define PANEL_HEIGHT							CBX_VERT_Y + 6 + SECTIONPAGE_MARGIN_VERTICAL_BOT
87*facb16e7SArmin Le Grand
88*facb16e7SArmin Le Grand// eof
89