1*cdf0e10cSrcweir /*************************************************************************
2*cdf0e10cSrcweir  *
3*cdf0e10cSrcweir  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir  *
5*cdf0e10cSrcweir  * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir  *
7*cdf0e10cSrcweir  * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir  *
9*cdf0e10cSrcweir  * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir  *
11*cdf0e10cSrcweir  * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir  * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir  * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir  *
15*cdf0e10cSrcweir  * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir  * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir  * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir  *
21*cdf0e10cSrcweir  * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir  * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir  * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir  * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir  *
26*cdf0e10cSrcweir  ************************************************************************/
27*cdf0e10cSrcweir 
28*cdf0e10cSrcweir #ifndef _SC_VIEWSETTINGSSEQUENCEDEFINES_HXX
29*cdf0e10cSrcweir #define _SC_VIEWSETTINGSSEQUENCEDEFINES_HXX
30*cdf0e10cSrcweir 
31*cdf0e10cSrcweir // this are the defines for the position of the settings in the
32*cdf0e10cSrcweir // ViewSettingsSequence
33*cdf0e10cSrcweir 
34*cdf0e10cSrcweir #define SC_VIEWSETTINGS_COUNT				23
35*cdf0e10cSrcweir 
36*cdf0e10cSrcweir #define SC_VIEW_ID							0
37*cdf0e10cSrcweir #define SC_TABLE_VIEWSETTINGS				1
38*cdf0e10cSrcweir #define SC_ACTIVE_TABLE						2
39*cdf0e10cSrcweir #define SC_HORIZONTAL_SCROLL_BAR_WIDTH		3
40*cdf0e10cSrcweir #define SC_ZOOM_TYPE						4
41*cdf0e10cSrcweir #define SC_ZOOM_VALUE						5
42*cdf0e10cSrcweir #define SC_PAGE_VIEW_ZOOM_VALUE				6
43*cdf0e10cSrcweir #define SC_PAGE_BREAK_PREVIEW				7
44*cdf0e10cSrcweir #define SC_SHOWZERO							8
45*cdf0e10cSrcweir #define SC_SHOWNOTES						9
46*cdf0e10cSrcweir #define SC_SHOWGRID							10
47*cdf0e10cSrcweir #define SC_GRIDCOLOR						11
48*cdf0e10cSrcweir #define SC_SHOWPAGEBR						12
49*cdf0e10cSrcweir #define SC_COLROWHDR						13
50*cdf0e10cSrcweir #define SC_SHEETTABS						14
51*cdf0e10cSrcweir #define SC_OUTLSYMB							15
52*cdf0e10cSrcweir #define SC_SNAPTORASTER						16
53*cdf0e10cSrcweir #define SC_RASTERVIS						17
54*cdf0e10cSrcweir #define SC_RASTERRESX						18
55*cdf0e10cSrcweir #define SC_RASTERRESY						19
56*cdf0e10cSrcweir #define SC_RASTERSUBX						20
57*cdf0e10cSrcweir #define SC_RASTERSUBY						21
58*cdf0e10cSrcweir #define SC_RASTERSYNC						22
59*cdf0e10cSrcweir 
60*cdf0e10cSrcweir 
61*cdf0e10cSrcweir // this are the defines for the position of the settings in the
62*cdf0e10cSrcweir // TableViewSettingsSequence
63*cdf0e10cSrcweir 
64*cdf0e10cSrcweir #define SC_TABLE_VIEWSETTINGS_COUNT         15
65*cdf0e10cSrcweir 
66*cdf0e10cSrcweir #define SC_CURSOR_X							0
67*cdf0e10cSrcweir #define SC_CURSOR_Y							1
68*cdf0e10cSrcweir #define SC_HORIZONTAL_SPLIT_MODE			2
69*cdf0e10cSrcweir #define SC_VERTICAL_SPLIT_MODE				3
70*cdf0e10cSrcweir #define SC_HORIZONTAL_SPLIT_POSITION		4
71*cdf0e10cSrcweir #define SC_VERTICAL_SPLIT_POSITION			5
72*cdf0e10cSrcweir #define SC_ACTIVE_SPLIT_RANGE				6
73*cdf0e10cSrcweir #define SC_POSITION_LEFT					7
74*cdf0e10cSrcweir #define SC_POSITION_RIGHT					8
75*cdf0e10cSrcweir #define SC_POSITION_TOP						9
76*cdf0e10cSrcweir #define SC_POSITION_BOTTOM					10
77*cdf0e10cSrcweir #define SC_TABLE_ZOOM_TYPE                  11
78*cdf0e10cSrcweir #define SC_TABLE_ZOOM_VALUE                 12
79*cdf0e10cSrcweir #define SC_TABLE_PAGE_VIEW_ZOOM_VALUE       13
80*cdf0e10cSrcweir #define SC_TABLE_TAB_BG_COLOR               14
81*cdf0e10cSrcweir 
82*cdf0e10cSrcweir #define SC_CURSORPOSITIONX					"CursorPositionX"
83*cdf0e10cSrcweir #define SC_CURSORPOSITIONY					"CursorPositionY"
84*cdf0e10cSrcweir #define SC_HORIZONTALSPLITMODE				"HorizontalSplitMode"
85*cdf0e10cSrcweir #define SC_VERTICALSPLITMODE				"VerticalSplitMode"
86*cdf0e10cSrcweir #define SC_HORIZONTALSPLITPOSITION			"HorizontalSplitPosition"
87*cdf0e10cSrcweir #define SC_VERTICALSPLITPOSITION			"VerticalSplitPosition"
88*cdf0e10cSrcweir #define SC_HORIZONTALSPLITPOSITION_TWIPS    "HorizontalSplitPositionTwips"
89*cdf0e10cSrcweir #define SC_VERTICALSPLITPOSITION_TWIPS      "VerticalSplitPositionTwips"
90*cdf0e10cSrcweir #define SC_ACTIVESPLITRANGE					"ActiveSplitRange"
91*cdf0e10cSrcweir #define SC_POSITIONLEFT						"PositionLeft"
92*cdf0e10cSrcweir #define SC_POSITIONRIGHT					"PositionRight"
93*cdf0e10cSrcweir #define SC_POSITIONTOP						"PositionTop"
94*cdf0e10cSrcweir #define SC_POSITIONBOTTOM					"PositionBottom"
95*cdf0e10cSrcweir #define SC_TABLESELECTED                    "TableSelected"
96*cdf0e10cSrcweir 
97*cdf0e10cSrcweir #define SC_TABLES							"Tables"
98*cdf0e10cSrcweir #define SC_ACTIVETABLE						"ActiveTable"
99*cdf0e10cSrcweir #define SC_HORIZONTALSCROLLBARWIDTH			"HorizontalScrollbarWidth"
100*cdf0e10cSrcweir #define SC_RELHORIZONTALTABBARWIDTH         "RelativeHorizontalTabbarWidth"
101*cdf0e10cSrcweir #define SC_ZOOMTYPE							"ZoomType"
102*cdf0e10cSrcweir #define SC_ZOOMVALUE						"ZoomValue"
103*cdf0e10cSrcweir #define SC_PAGEVIEWZOOMVALUE				"PageViewZoomValue"
104*cdf0e10cSrcweir #define SC_SHOWPAGEBREAKPREVIEW             "ShowPageBreakPreview"
105*cdf0e10cSrcweir #define SC_VIEWID							"ViewId"
106*cdf0e10cSrcweir #define SC_VIEW								"view"
107*cdf0e10cSrcweir 
108*cdf0e10cSrcweir #endif
109