InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ControlStripPriorityDefs.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Paul Sorrick
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //
23 // Control Strip widget priority definitions. Used in ControlStripWidgetInfo.
24 //
25 //========================================================================================
26 
27 #ifndef __CONTROLSTRIPPRIORITYDEFS__
28 #define __CONTROLSTRIPPRIORITYDEFS__
29 
30 // Priorities
31 
32 // Enabled for all CSBs
33 const PMReal kMenuControlStripPriority = 1000000.0; // Last widget on the right for all CSBs.
34 const PMReal kQuickApplyControlStripPriority = 999998.0; // Last widget on the right. Either menu set or menu/quick apply combo set is shown at the end.
35 
36 // Layout CSB
37 const PMReal kTransformXYWHControlStripPriority = 1000.0;
38 const PMReal kTransformScaleRotateControlStripPriority = 1100.0;
39 const PMReal kFlipRotateControlStripPriority = 1200.0;
40 const PMReal kParentChildControlStripPriority = 1300.0;
41 const PMReal kFrameGridAttributesControlStripPriority = 1500.0;
42 const PMReal kFrameGridViewOptionsControlStripPriority = 1600.0;
43 const PMReal kFrameGridLinesAndColumnsControlStripPriority = 1700.0;
44 const PMReal kFillStrokeColorControlStripPriority = 1800.0;
45 const PMReal kStrokeControlStripPriority = 2000.0;
46 const PMReal kXPUIControlStripPriority = 2050.0;
47 const PMReal kTextWrapControlStripPriority = 2075.0;
48 const PMReal kCornerShapeControlStripPriority = 2200.0;
49 const PMReal kFittingControlStripPriority = 3000.0;
50 const PMReal kFrameOptionsControlStripPriority = 4000.0;
51 const PMReal kBalanceColumnsControlStripPriority = 4050.0;
52 const PMReal kVerticalJustificationControlStripPriority = 4100.0;
53 const PMReal kTextFrameFittingControlStripPriority = 4500.0;
54 const PMReal kAlignControlStripPriority = 5000.0;
55 const PMReal kDistributeControlStripPriority = 5200.0;
56 const PMReal kObjectStyleControlStripPriority = 5300.0;
57 
58 
59 // Text CSB
60 const PMReal kTextModeControlStripPriority = 500.0; // First widget on left
61 const PMReal kFontsControlStripPriority = 1000.0;
62 const PMReal kCharPanelAttrButtonsControlStripPriority = 1500.0;
63 const PMReal kCharPanelScalingJControlStripPriority = 2000.0;
64 const PMReal kCharPanelKerningControlStripPriority = 3000.0;
65 const PMReal kCharPanelScalingControlStripPriority = 4000.0;
66 const PMReal kCharPanelMojikumiControlStripPriority = 5000.0;
67 const PMReal kParaPanelAlignButtonsControlStripPriority = 6000.0;
68 const PMReal kParaPanelIndentsControlStripPriority = 7000.0;
69 const PMReal kParaPanelSpacingControlStripPriority = 8000.0;
70 const PMReal kParaPanelDropCapControlStripPriority = 8500.0;
71 const PMReal kBNControlStripPriority = 9000.0;
72 const PMReal kParaPanelJSetsControlStripPriority = 10000.0;
73 const PMReal kTextFillStrokeColorControlStripPriority = 11000.0;
74 const PMReal kParaPanelShadingControlStripPriority = 11500.0;
75 const PMReal kParaStyleControlStripPriority = 12000.0;
76 const PMReal kCharStyleControlStripPriority = 12000.0;
77 const PMReal kBaselineGridControlStripPriority = 12500.0;
78 const PMReal kFrameAndCursorControlStripPriority = 13000.0;
79 
80 const PMReal kTextModeSeparatorControlStripPriority = 19999.0; // Must be less than offset value below
81 const PMReal kCharParaModeControlStripOffset = 20000.0; // Offset added to character or paragraph priorities so both sets of controls will fit.
82 
83 // Tables CSB
84 const PMReal kTablesParaPanelControlStripPriority = 1500.0;
85 const PMReal kTablesVerticalAlignmentControlStripPriority = 2000.0;
86 const PMReal kGraphicCellFrameFittingControlStripPriority = 2200.0;
87 const PMReal kGraphicCellXPUIControlStripPriority = 2400.0;
88 const PMReal kTablesRowsColumnsControlStripPriority = 2500.0;
89 const PMReal kTablesMergeUnmergeControlStripPriority = 3000.0;
90 const PMReal kTableFillStrokeColorControlStripPriority = 3250.0;
91 const PMReal kTableStrokeControlStripPriority = 3500.0;
92 const PMReal kTableStyleControlStripPriority = 4000.0;
93 const PMReal kTablesCellOptionsControlStripPriority = 4500.0;
94 const PMReal kTablesInsetsControlStripPriority = 5500.0;
95 
96 // Spread CSB
97 //const PMReal kTransformXYWHControlStripPriority = 1000.0;
98 const PMReal kPageSizePresetControlStripPriority = 1100.0;
99 const PMReal kPageOrientationControlStripPriority = 1200.0;
100 const PMReal kLayoutOptionsControlStripPriority = 1300.0;
101 const PMReal kSpreadAlignControlStripPriority = 1400.0;
102 const PMReal kSpreadDistributeControlStripPriority = 1500.0;
103 
104 #endif // __CONTROLSTRIPPRIORITYDEFS__