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				23
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_SNAPTORASTER						16
49 #define SC_RASTERVIS						17
50 #define SC_RASTERRESX						18
51 #define SC_RASTERRESY						19
52 #define SC_RASTERSUBX						20
53 #define SC_RASTERSUBY						21
54 #define SC_RASTERSYNC						22
55 
56 
57 // this are the defines for the position of the settings in the
58 // TableViewSettingsSequence
59 
60 #define SC_TABLE_VIEWSETTINGS_COUNT         15
61 
62 #define SC_CURSOR_X							0
63 #define SC_CURSOR_Y							1
64 #define SC_HORIZONTAL_SPLIT_MODE			2
65 #define SC_VERTICAL_SPLIT_MODE				3
66 #define SC_HORIZONTAL_SPLIT_POSITION		4
67 #define SC_VERTICAL_SPLIT_POSITION			5
68 #define SC_ACTIVE_SPLIT_RANGE				6
69 #define SC_POSITION_LEFT					7
70 #define SC_POSITION_RIGHT					8
71 #define SC_POSITION_TOP						9
72 #define SC_POSITION_BOTTOM					10
73 #define SC_TABLE_ZOOM_TYPE                  11
74 #define SC_TABLE_ZOOM_VALUE                 12
75 #define SC_TABLE_PAGE_VIEW_ZOOM_VALUE       13
76 #define SC_TABLE_TAB_BG_COLOR               14
77 
78 #define SC_CURSORPOSITIONX					"CursorPositionX"
79 #define SC_CURSORPOSITIONY					"CursorPositionY"
80 #define SC_HORIZONTALSPLITMODE				"HorizontalSplitMode"
81 #define SC_VERTICALSPLITMODE				"VerticalSplitMode"
82 #define SC_HORIZONTALSPLITPOSITION			"HorizontalSplitPosition"
83 #define SC_VERTICALSPLITPOSITION			"VerticalSplitPosition"
84 #define SC_HORIZONTALSPLITPOSITION_TWIPS    "HorizontalSplitPositionTwips"
85 #define SC_VERTICALSPLITPOSITION_TWIPS      "VerticalSplitPositionTwips"
86 #define SC_ACTIVESPLITRANGE					"ActiveSplitRange"
87 #define SC_POSITIONLEFT						"PositionLeft"
88 #define SC_POSITIONRIGHT					"PositionRight"
89 #define SC_POSITIONTOP						"PositionTop"
90 #define SC_POSITIONBOTTOM					"PositionBottom"
91 #define SC_TABLESELECTED                    "TableSelected"
92 
93 #define SC_TABLES							"Tables"
94 #define SC_ACTIVETABLE						"ActiveTable"
95 #define SC_HORIZONTALSCROLLBARWIDTH			"HorizontalScrollbarWidth"
96 #define SC_RELHORIZONTALTABBARWIDTH         "RelativeHorizontalTabbarWidth"
97 #define SC_ZOOMTYPE							"ZoomType"
98 #define SC_ZOOMVALUE						"ZoomValue"
99 #define SC_PAGEVIEWZOOMVALUE				"PageViewZoomValue"
100 #define SC_SHOWPAGEBREAKPREVIEW             "ShowPageBreakPreview"
101 #define SC_VIEWID							"ViewId"
102 #define SC_VIEW								"view"
103 
104 #endif
105