LibreOffice Module sc (master)
1
sc
source
ui
inc
scui_def.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
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/.
8
*
9
* This file incorporates work covered by the following license notice:
10
*
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 .
18
*/
19
20
#pragma once
21
22
#include <
o3tl/typed_flags_set.hxx
>
23
24
#define SCRET_COLS 0x42
25
#define SCRET_ROWS 0x43
26
27
#define FDS_OPT_NONE 0
// from filldlg.hxx
28
#define FDS_OPT_HORZ 1
// from filldlg.hxx
29
#define FDS_OPT_VERT 2
// from filldlg.hxx
30
31
enum class
InsertContentsFlags
{
32
NONE
= 0x00,
33
NoEmpty
= 0x01,
//from inscodlg.hxx
34
Trans
= 0x02,
//from inscodlg.hxx
35
Link
= 0x04
//from inscodlg.hxx
36
};
37
namespace
o3tl
{
38
template
<>
struct
typed_flags
<
InsertContentsFlags
> :
is_typed_flags
<InsertContentsFlags, 0x07> {};
39
}
40
41
enum class
CellShiftDisabledFlags
{
42
NONE
= 0x00,
43
Down
= 0x01,
//from inscodlg.hxx
44
Right
= 0x02
//from inscodlg.hxx
45
};
46
namespace
o3tl
{
47
template
<>
struct
typed_flags
<
CellShiftDisabledFlags
> :
is_typed_flags
<CellShiftDisabledFlags, 0x3> {};
48
}
49
50
enum class
CreateNameFlags
{
51
NONE
= 0,
52
Top
= 1,
//from namecrea.hxx
53
Left
= 2,
//from namecrea.hxx
54
Bottom
= 4,
//from namecrea.hxx
55
Right
= 8,
//from namecrea.hxx
56
};
57
namespace
o3tl
{
58
template
<>
struct
typed_flags
<
CreateNameFlags
> :
is_typed_flags
<CreateNameFlags, 0xf> {};
59
}
60
61
#define BTN_PASTE_NAME 100
// from namepast.hxx
62
#define BTN_PASTE_LIST 101
// from namepast.hxx
63
#define BTN_PASTE_CLOSE 102
// from namepast.hxx
64
65
#define BTN_EXTEND_RANGE 150
66
#define BTN_CURRENT_SELECTION 151
67
#define SCRET_REMOVE 0x42
//from subtdlg.hxx
68
69
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Link
MoveItemFlags::Down
@ Down
NONE
NONE
o3tl
FrameBorderType::Bottom
@ Bottom
FrameBorderType::Top
@ Top
InsertContentsFlags
InsertContentsFlags
Definition:
scui_def.hxx:31
InsertContentsFlags::Trans
@ Trans
InsertContentsFlags::NoEmpty
@ NoEmpty
CellShiftDisabledFlags
CellShiftDisabledFlags
Definition:
scui_def.hxx:41
CreateNameFlags
CreateNameFlags
Definition:
scui_def.hxx:50
o3tl::is_typed_flags
o3tl::typed_flags
Left
@ Left
Definition:
tphfedit.hxx:40
Right
@ Right
Definition:
tphfedit.hxx:42
typed_flags_set.hxx
Generated on Sun Jul 30 2023 04:29:21 for LibreOffice Module sc (master) by
1.9.3