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 
23 
24 #ifndef _SC_VIEWSETTINGSSEQUENCEDEFINES_HXX
25 #define _SC_VIEWSETTINGSSEQUENCEDEFINES_HXX
26 
27 // this are the defines for the position of the settings in the
28 // ViewSettingsSequence
29 
30 #define SC_VIEWSETTINGS_COUNT				24
31 
32 #define SC_VIEW_ID							0
33 #define SC_TABLE_VIEWSETTINGS				1
34 #define SC_ACTIVE_TABLE						2
35 #define SC_HORIZONTAL_SCROLL_BAR_WIDTH		3
36 #define SC_ZOOM_TYPE						4
37 #define SC_ZOOM_VALUE						5
38 #define SC_PAGE_VIEW_ZOOM_VALUE				6
39 #define SC_PAGE_BREAK_PREVIEW				7
40 #define SC_SHOWZERO							8
41 #define SC_SHOWNOTES						9
42 #define SC_SHOWGRID							10
43 #define SC_GRIDCOLOR						11
44 #define SC_SHOWPAGEBR						12
45 #define SC_COLROWHDR						13
46 #define SC_SHEETTABS						14
47 #define SC_OUTLSYMB							15
48 #define SC_VALUE_HIGHLIGHTING				16
49 #define SC_SNAPTORASTER						17
50 #define SC_RASTERVIS						18
51 #define SC_RASTERRESX						19
52 #define SC_RASTERRESY						20
53 #define SC_RASTERSUBX						21
54 #define SC_RASTERSUBY						22
55 #define SC_RASTERSYNC						23
56 
57 
58 // this are the defines for the position of the settings in the
59 // TableViewSettingsSequence
60 
61 #define SC_TABLE_VIEWSETTINGS_COUNT         15
62 
63 #define SC_CURSOR_X							0
64 #define SC_CURSOR_Y							1
65 #define SC_HORIZONTAL_SPLIT_MODE			2
66 #define SC_VERTICAL_SPLIT_MODE				3
67 #define SC_HORIZONTAL_SPLIT_POSITION		4
68 #define SC_VERTICAL_SPLIT_POSITION			5
69 #define SC_ACTIVE_SPLIT_RANGE				6
70 #define SC_POSITION_LEFT					7
71 #define SC_POSITION_RIGHT					8
72 #define SC_POSITION_TOP						9
73 #define SC_POSITION_BOTTOM					10
74 #define SC_TABLE_ZOOM_TYPE                  11
75 #define SC_TABLE_ZOOM_VALUE                 12
76 #define SC_TABLE_PAGE_VIEW_ZOOM_VALUE       13
77 #define SC_TABLE_TAB_BG_COLOR               14
78 
79 #define SC_CURSORPOSITIONX					"CursorPositionX"
80 #define SC_CURSORPOSITIONY					"CursorPositionY"
81 #define SC_HORIZONTALSPLITMODE				"HorizontalSplitMode"
82 #define SC_VERTICALSPLITMODE				"VerticalSplitMode"
83 #define SC_HORIZONTALSPLITPOSITION			"HorizontalSplitPosition"
84 #define SC_VERTICALSPLITPOSITION			"VerticalSplitPosition"
85 #define SC_HORIZONTALSPLITPOSITION_TWIPS    "HorizontalSplitPositionTwips"
86 #define SC_VERTICALSPLITPOSITION_TWIPS      "VerticalSplitPositionTwips"
87 #define SC_ACTIVESPLITRANGE					"ActiveSplitRange"
88 #define SC_POSITIONLEFT						"PositionLeft"
89 #define SC_POSITIONRIGHT					"PositionRight"
90 #define SC_POSITIONTOP						"PositionTop"
91 #define SC_POSITIONBOTTOM					"PositionBottom"
92 #define SC_TABLESELECTED                    "TableSelected"
93 
94 #define SC_TABLES							"Tables"
95 #define SC_ACTIVETABLE						"ActiveTable"
96 #define SC_HORIZONTALSCROLLBARWIDTH			"HorizontalScrollbarWidth"
97 #define SC_RELHORIZONTALTABBARWIDTH         "RelativeHorizontalTabbarWidth"
98 #define SC_ZOOMTYPE							"ZoomType"
99 #define SC_ZOOMVALUE						"ZoomValue"
100 #define SC_PAGEVIEWZOOMVALUE				"PageViewZoomValue"
101 #define SC_SHOWPAGEBREAKPREVIEW             "ShowPageBreakPreview"
102 #define SC_VIEWID							"ViewId"
103 #define SC_VIEW								"view"
104 
105 #endif
106