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