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 .
22 #include <rtl/ustring.hxx>
24 // this are the defines for the position of the settings in the
25 // ViewSettingsSequence
27 #define SC_VIEWSETTINGS_COUNT 27
30 #define SC_TABLE_VIEWSETTINGS 1
31 #define SC_ACTIVE_TABLE 2
32 #define SC_HORIZONTAL_SCROLL_BAR_WIDTH 3
33 #define SC_ZOOM_TYPE 4
34 #define SC_ZOOM_VALUE 5
35 #define SC_PAGE_VIEW_ZOOM_VALUE 6
36 #define SC_PAGE_BREAK_PREVIEW 7
38 #define SC_SHOWNOTES 9
39 #define SC_SHOWNOTEAUTHOR 10
40 #define SC_SHOWFORMULASMARKS 11
41 #define SC_SHOWGRID 12
42 #define SC_GRIDCOLOR 13
43 #define SC_SHOWPAGEBR 14
44 #define SC_COLROWHDR 15
45 #define SC_SHEETTABS 16
46 #define SC_OUTLSYMB 17
47 #define SC_VALUE_HIGHLIGHTING 18
48 #define SC_SNAPTORASTER 19
49 #define SC_RASTERVIS 20
50 #define SC_RASTERRESX 21
51 #define SC_RASTERRESY 22
52 #define SC_RASTERSUBX 23
53 #define SC_RASTERSUBY 24
54 #define SC_RASTERSYNC 25
55 #define SC_FORMULA_BAR_HEIGHT 26
57 // this are the defines for the position of the settings in the
58 // TableViewSettingsSequence
60 #define SC_TABLE_VIEWSETTINGS_COUNT 16
64 #define SC_HORIZONTAL_SPLIT_MODE 2
65 #define SC_VERTICAL_SPLIT_MODE 3
66 #define SC_HORIZONTAL_SPLIT_POSITION 4
67 #define SC_VERTICAL_SPLIT_POSITION 5
68 #define SC_ACTIVE_SPLIT_RANGE 6
69 #define SC_POSITION_LEFT 7
70 #define SC_POSITION_RIGHT 8
71 #define SC_POSITION_TOP 9
72 #define SC_POSITION_BOTTOM 10
73 #define SC_TABLE_ZOOM_TYPE 11
74 #define SC_TABLE_ZOOM_VALUE 12
75 #define SC_TABLE_PAGE_VIEW_ZOOM_VALUE 13
76 #define SC_FORMULA_BAR_HEIGHT_VALUE 14
77 #define SC_TABLE_SHOWGRID 15
79 inline constexpr OUString SC_CURSORPOSITIONX
= u
"CursorPositionX"_ustr
;
80 inline constexpr OUString SC_CURSORPOSITIONY
= u
"CursorPositionY"_ustr
;
81 inline constexpr OUString SC_HORIZONTALSPLITMODE
= u
"HorizontalSplitMode"_ustr
;
82 inline constexpr OUString SC_VERTICALSPLITMODE
= u
"VerticalSplitMode"_ustr
;
83 inline constexpr OUString SC_HORIZONTALSPLITPOSITION
= u
"HorizontalSplitPosition"_ustr
;
84 inline constexpr OUString SC_VERTICALSPLITPOSITION
= u
"VerticalSplitPosition"_ustr
;
85 #define SC_HORIZONTALSPLITPOSITION_TWIPS "HorizontalSplitPositionTwips"
86 #define SC_VERTICALSPLITPOSITION_TWIPS "VerticalSplitPositionTwips"
87 inline constexpr OUString SC_ACTIVESPLITRANGE
= u
"ActiveSplitRange"_ustr
;
88 inline constexpr OUString SC_POSITIONLEFT
= u
"PositionLeft"_ustr
;
89 inline constexpr OUString SC_POSITIONRIGHT
= u
"PositionRight"_ustr
;
90 inline constexpr OUString SC_POSITIONTOP
= u
"PositionTop"_ustr
;
91 inline constexpr OUString SC_POSITIONBOTTOM
= u
"PositionBottom"_ustr
;
92 #define SC_TABLESELECTED "TableSelected"
94 inline constexpr OUString SC_TABLES
= u
"Tables"_ustr
;
95 inline constexpr OUString SC_ACTIVETABLE
= u
"ActiveTable"_ustr
;
96 inline constexpr OUString SC_HORIZONTALSCROLLBARWIDTH
= u
"HorizontalScrollbarWidth"_ustr
;
97 #define SC_RELHORIZONTALTABBARWIDTH "RelativeHorizontalTabbarWidth"
98 inline constexpr OUString SC_ZOOMTYPE
= u
"ZoomType"_ustr
;
99 inline constexpr OUString SC_ZOOMVALUE
= u
"ZoomValue"_ustr
;
100 inline constexpr OUString SC_PAGEVIEWZOOMVALUE
= u
"PageViewZoomValue"_ustr
;
101 inline constexpr OUString SC_SHOWPAGEBREAKPREVIEW
= u
"ShowPageBreakPreview"_ustr
;
102 inline constexpr OUString SC_FORMULABARHEIGHT
= u
"FormulaBarHeight"_ustr
;
103 inline constexpr OUString SC_VIEWID
= u
"ViewId"_ustr
;
104 #define SC_VIEW "view"
106 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */