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 #ifndef INCLUDED_SVL_MEMBERID_H
21 #define INCLUDED_SVL_MEMBERID_H
22 
23 #define MID_X       1
24 #define MID_Y       2
25 #define MID_RECT_LEFT    3
26 #define MID_RECT_TOP     4
27 #define MID_WIDTH   5
28 #define MID_HEIGHT  6
29 #define MID_RECT_RIGHT   7
30 
31 // SvxSizeItem
32 #define MID_SIZE_SIZE       0
33 #define MID_SIZE_WIDTH      1
34 #define MID_SIZE_HEIGHT     2
35 
36 // SvxSearchItem
37 // XXX When changing the MID count here, also increment the corresponding
38 // SvxSearchItem SFX_DECL_TYPE(n) value in include/sfx2/msg.hxx to match, and
39 // add a member to struct SvxSearch in sfx2/sdi/sfxitems.sdi so that dependent
40 // slot items get generated.
41 #define MID_SEARCH_STYLEFAMILY          1
42 #define MID_SEARCH_CELLTYPE             2
43 #define MID_SEARCH_ROWDIRECTION         3
44 #define MID_SEARCH_ALLTABLES            4
45 #define MID_SEARCH_SEARCHFILTERED       5
46 #define MID_SEARCH_BACKWARD             6
47 #define MID_SEARCH_PATTERN              7
48 #define MID_SEARCH_CONTENT              8
49 #define MID_SEARCH_ASIANOPTIONS         9
50 #define MID_SEARCH_ALGORITHMTYPE        10
51 #define MID_SEARCH_FLAGS                11
52 #define MID_SEARCH_SEARCHSTRING         12
53 #define MID_SEARCH_REPLACESTRING        13
54 #define MID_SEARCH_LOCALE               14
55 #define MID_SEARCH_CHANGEDCHARS         15
56 #define MID_SEARCH_DELETEDCHARS         16
57 #define MID_SEARCH_INSERTEDCHARS        17
58 #define MID_SEARCH_TRANSLITERATEFLAGS   18
59 #define MID_SEARCH_COMMAND              19
60 #define MID_SEARCH_STARTPOINTX          20
61 #define MID_SEARCH_STARTPOINTY          21
62 #define MID_SEARCH_SEARCHFORMATTED      22
63 #define MID_SEARCH_ALGORITHMTYPE2       23
64 
65 // SfxDocumentInfoItem
66 #define MID_DOCINFO_DESCRIPTION              0x13
67 #define MID_DOCINFO_KEYWORDS                 0x17
68 #define MID_DOCINFO_SUBJECT                  0x1b
69 #define MID_DOCINFO_TITLE                    0x1d
70 #define MID_DOCINFO_AUTOLOADENABLED          0x2d
71 #define MID_DOCINFO_AUTOLOADURL              0x2e
72 #define MID_DOCINFO_AUTOLOADSECS             0x2f
73 #define MID_DOCINFO_DEFAULTTARGET            0x30
74 #define MID_DOCINFO_USEUSERDATA              0x31
75 #define MID_DOCINFO_DELETEUSERDATA           0x32
76 #define MID_DOCINFO_USETHUMBNAILSAVE         0x33
77 
78 // only for FastPropertySet
79 #define MID_TYPE                             0x38
80 #define MID_VALUE                            0x39
81 #define MID_VALUESET                         0x40
82 
83 #endif
84 
85 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
86