Prepare for removal of non-const operator[] from Sequence in drawinglayer
[LibreOffice.git] / sc / inc / ViewSettingsSequenceDefines.hxx
blob1db1fed2882a3a64d4b5ee28ec2722d8f93f6127
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 #pragma once
22 // this are the defines for the position of the settings in the
23 // ViewSettingsSequence
25 #define SC_VIEWSETTINGS_COUNT 24
27 #define SC_VIEW_ID 0
28 #define SC_TABLE_VIEWSETTINGS 1
29 #define SC_ACTIVE_TABLE 2
30 #define SC_HORIZONTAL_SCROLL_BAR_WIDTH 3
31 #define SC_ZOOM_TYPE 4
32 #define SC_ZOOM_VALUE 5
33 #define SC_PAGE_VIEW_ZOOM_VALUE 6
34 #define SC_PAGE_BREAK_PREVIEW 7
35 #define SC_SHOWZERO 8
36 #define SC_SHOWNOTES 9
37 #define SC_SHOWGRID 10
38 #define SC_GRIDCOLOR 11
39 #define SC_SHOWPAGEBR 12
40 #define SC_COLROWHDR 13
41 #define SC_SHEETTABS 14
42 #define SC_OUTLSYMB 15
43 #define SC_VALUE_HIGHLIGHTING 16
44 #define SC_SNAPTORASTER 17
45 #define SC_RASTERVIS 18
46 #define SC_RASTERRESX 19
47 #define SC_RASTERRESY 20
48 #define SC_RASTERSUBX 21
49 #define SC_RASTERSUBY 22
50 #define SC_RASTERSYNC 23
52 // this are the defines for the position of the settings in the
53 // TableViewSettingsSequence
55 #define SC_TABLE_VIEWSETTINGS_COUNT 16
57 #define SC_CURSOR_X 0
58 #define SC_CURSOR_Y 1
59 #define SC_HORIZONTAL_SPLIT_MODE 2
60 #define SC_VERTICAL_SPLIT_MODE 3
61 #define SC_HORIZONTAL_SPLIT_POSITION 4
62 #define SC_VERTICAL_SPLIT_POSITION 5
63 #define SC_ACTIVE_SPLIT_RANGE 6
64 #define SC_POSITION_LEFT 7
65 #define SC_POSITION_RIGHT 8
66 #define SC_POSITION_TOP 9
67 #define SC_POSITION_BOTTOM 10
68 #define SC_TABLE_ZOOM_TYPE 11
69 #define SC_TABLE_ZOOM_VALUE 12
70 #define SC_TABLE_PAGE_VIEW_ZOOM_VALUE 13
71 #define SC_TABLE_SHOWGRID 15
73 #define SC_CURSORPOSITIONX "CursorPositionX"
74 #define SC_CURSORPOSITIONY "CursorPositionY"
75 #define SC_HORIZONTALSPLITMODE "HorizontalSplitMode"
76 #define SC_VERTICALSPLITMODE "VerticalSplitMode"
77 #define SC_HORIZONTALSPLITPOSITION "HorizontalSplitPosition"
78 #define SC_VERTICALSPLITPOSITION "VerticalSplitPosition"
79 #define SC_HORIZONTALSPLITPOSITION_TWIPS "HorizontalSplitPositionTwips"
80 #define SC_VERTICALSPLITPOSITION_TWIPS "VerticalSplitPositionTwips"
81 #define SC_ACTIVESPLITRANGE "ActiveSplitRange"
82 #define SC_POSITIONLEFT "PositionLeft"
83 #define SC_POSITIONRIGHT "PositionRight"
84 #define SC_POSITIONTOP "PositionTop"
85 #define SC_POSITIONBOTTOM "PositionBottom"
86 #define SC_TABLESELECTED "TableSelected"
88 #define SC_TABLES "Tables"
89 #define SC_ACTIVETABLE "ActiveTable"
90 #define SC_HORIZONTALSCROLLBARWIDTH "HorizontalScrollbarWidth"
91 #define SC_RELHORIZONTALTABBARWIDTH "RelativeHorizontalTabbarWidth"
92 #define SC_ZOOMTYPE "ZoomType"
93 #define SC_ZOOMVALUE "ZoomValue"
94 #define SC_PAGEVIEWZOOMVALUE "PageViewZoomValue"
95 #define SC_SHOWPAGEBREAKPREVIEW "ShowPageBreakPreview"
96 #define SC_VIEWID "ViewId"
97 #define SC_VIEW "view"
99 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */