1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef INCLUDED_SC_INC_VIEWSETTINGSSEQUENCEDEFINES_HXX
21 #define INCLUDED_SC_INC_VIEWSETTINGSSEQUENCEDEFINES_HXX
23 // this are the defines for the position of the settings in the
24 // ViewSettingsSequence
26 #define SC_VIEWSETTINGS_COUNT 23
29 #define SC_TABLE_VIEWSETTINGS 1
30 #define SC_ACTIVE_TABLE 2
31 #define SC_HORIZONTAL_SCROLL_BAR_WIDTH 3
32 #define SC_ZOOM_TYPE 4
33 #define SC_ZOOM_VALUE 5
34 #define SC_PAGE_VIEW_ZOOM_VALUE 6
35 #define SC_PAGE_BREAK_PREVIEW 7
37 #define SC_SHOWNOTES 9
38 #define SC_SHOWGRID 10
39 #define SC_GRIDCOLOR 11
40 #define SC_SHOWPAGEBR 12
41 #define SC_COLROWHDR 13
42 #define SC_SHEETTABS 14
43 #define SC_OUTLSYMB 15
44 #define SC_SNAPTORASTER 16
45 #define SC_RASTERVIS 17
46 #define SC_RASTERRESX 18
47 #define SC_RASTERRESY 19
48 #define SC_RASTERSUBX 20
49 #define SC_RASTERSUBY 21
50 #define SC_RASTERSYNC 22
53 // this are the defines for the position of the settings in the
54 // TableViewSettingsSequence
56 #define SC_TABLE_VIEWSETTINGS_COUNT 16
60 #define SC_HORIZONTAL_SPLIT_MODE 2
61 #define SC_VERTICAL_SPLIT_MODE 3
62 #define SC_HORIZONTAL_SPLIT_POSITION 4
63 #define SC_VERTICAL_SPLIT_POSITION 5
64 #define SC_ACTIVE_SPLIT_RANGE 6
65 #define SC_POSITION_LEFT 7
66 #define SC_POSITION_RIGHT 8
67 #define SC_POSITION_TOP 9
68 #define SC_POSITION_BOTTOM 10
69 #define SC_TABLE_ZOOM_TYPE 11
70 #define SC_TABLE_ZOOM_VALUE 12
71 #define SC_TABLE_PAGE_VIEW_ZOOM_VALUE 13
72 #define SC_TABLE_TAB_BG_COLOR 14
73 #define SC_TABLE_SHOWGRID 15
75 #define SC_CURSORPOSITIONX "CursorPositionX"
76 #define SC_CURSORPOSITIONY "CursorPositionY"
77 #define SC_HORIZONTALSPLITMODE "HorizontalSplitMode"
78 #define SC_VERTICALSPLITMODE "VerticalSplitMode"
79 #define SC_HORIZONTALSPLITPOSITION "HorizontalSplitPosition"
80 #define SC_VERTICALSPLITPOSITION "VerticalSplitPosition"
81 #define SC_HORIZONTALSPLITPOSITION_TWIPS "HorizontalSplitPositionTwips"
82 #define SC_VERTICALSPLITPOSITION_TWIPS "VerticalSplitPositionTwips"
83 #define SC_ACTIVESPLITRANGE "ActiveSplitRange"
84 #define SC_POSITIONLEFT "PositionLeft"
85 #define SC_POSITIONRIGHT "PositionRight"
86 #define SC_POSITIONTOP "PositionTop"
87 #define SC_POSITIONBOTTOM "PositionBottom"
88 #define SC_TABLESELECTED "TableSelected"
90 #define SC_TABLES "Tables"
91 #define SC_ACTIVETABLE "ActiveTable"
92 #define SC_HORIZONTALSCROLLBARWIDTH "HorizontalScrollbarWidth"
93 #define SC_RELHORIZONTALTABBARWIDTH "RelativeHorizontalTabbarWidth"
94 #define SC_ZOOMTYPE "ZoomType"
95 #define SC_ZOOMVALUE "ZoomValue"
96 #define SC_PAGEVIEWZOOMVALUE "PageViewZoomValue"
97 #define SC_SHOWPAGEBREAKPREVIEW "ShowPageBreakPreview"
98 #define SC_VIEWID "ViewId"
99 #define SC_VIEW "view"
103 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */