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