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 24
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_VALUE_HIGHLIGHTING 16
45 #define SC_SNAPTORASTER 17
46 #define SC_RASTERVIS 18
47 #define SC_RASTERRESX 19
48 #define SC_RASTERRESY 20
49 #define SC_RASTERSUBX 21
50 #define SC_RASTERSUBY 22
51 #define SC_RASTERSYNC 23
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_SHOWGRID 15
74 #define SC_CURSORPOSITIONX "CursorPositionX"
75 #define SC_CURSORPOSITIONY "CursorPositionY"
76 #define SC_HORIZONTALSPLITMODE "HorizontalSplitMode"
77 #define SC_VERTICALSPLITMODE "VerticalSplitMode"
78 #define SC_HORIZONTALSPLITPOSITION "HorizontalSplitPosition"
79 #define SC_VERTICALSPLITPOSITION "VerticalSplitPosition"
80 #define SC_HORIZONTALSPLITPOSITION_TWIPS "HorizontalSplitPositionTwips"
81 #define SC_VERTICALSPLITPOSITION_TWIPS "VerticalSplitPositionTwips"
82 #define SC_ACTIVESPLITRANGE "ActiveSplitRange"
83 #define SC_POSITIONLEFT "PositionLeft"
84 #define SC_POSITIONRIGHT "PositionRight"
85 #define SC_POSITIONTOP "PositionTop"
86 #define SC_POSITIONBOTTOM "PositionBottom"
87 #define SC_TABLESELECTED "TableSelected"
89 #define SC_TABLES "Tables"
90 #define SC_ACTIVETABLE "ActiveTable"
91 #define SC_HORIZONTALSCROLLBARWIDTH "HorizontalScrollbarWidth"
92 #define SC_RELHORIZONTALTABBARWIDTH "RelativeHorizontalTabbarWidth"
93 #define SC_ZOOMTYPE "ZoomType"
94 #define SC_ZOOMVALUE "ZoomValue"
95 #define SC_PAGEVIEWZOOMVALUE "PageViewZoomValue"
96 #define SC_SHOWPAGEBREAKPREVIEW "ShowPageBreakPreview"
97 #define SC_VIEWID "ViewId"
98 #define SC_VIEW "view"
102 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */