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