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