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
38 #define SC_VIEWSETTINGS_COUNT 23
41 #define SC_TABLE_VIEWSETTINGS 1
42 #define SC_ACTIVE_TABLE 2
43 #define SC_HORIZONTAL_SCROLL_BAR_WIDTH 3
44 #define SC_ZOOM_TYPE 4
45 #define SC_ZOOM_VALUE 5
46 #define SC_PAGE_VIEW_ZOOM_VALUE 6
47 #define SC_PAGE_BREAK_PREVIEW 7
49 #define SC_SHOWNOTES 9
50 #define SC_SHOWGRID 10
51 #define SC_GRIDCOLOR 11
52 #define SC_SHOWPAGEBR 12
53 #define SC_COLROWHDR 13
54 #define SC_SHEETTABS 14
55 #define SC_OUTLSYMB 15
56 #define SC_SNAPTORASTER 16
57 #define SC_RASTERVIS 17
58 #define SC_RASTERRESX 18
59 #define SC_RASTERRESY 19
60 #define SC_RASTERSUBX 20
61 #define SC_RASTERSUBY 21
62 #define SC_RASTERSYNC 22
65 // this are the defines for the position of the settings in the
66 // TableViewSettingsSequence
68 #define SC_TABLE_VIEWSETTINGS_COUNT 11
72 #define SC_HORIZONTAL_SPLIT_MODE 2
73 #define SC_VERTICAL_SPLIT_MODE 3
74 #define SC_HORIZONTAL_SPLIT_POSITION 4
75 #define SC_VERTICAL_SPLIT_POSITION 5
76 #define SC_ACTIVE_SPLIT_RANGE 6
77 #define SC_POSITION_LEFT 7
78 #define SC_POSITION_RIGHT 8
79 #define SC_POSITION_TOP 9
80 #define SC_POSITION_BOTTOM 10
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_ACTIVESPLITRANGE "ActiveSplitRange"
89 #define SC_POSITIONLEFT "PositionLeft"
90 #define SC_POSITIONRIGHT "PositionRight"
91 #define SC_POSITIONTOP "PositionTop"
92 #define SC_POSITIONBOTTOM "PositionBottom"
94 #define SC_TABLES "Tables"
95 #define SC_ACTIVETABLE "ActiveTable"
96 #define SC_HORIZONTALSCROLLBARWIDTH "HorizontalScrollbarWidth"
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"
104 } //namespace binfilter