LibreOffice Module sw (master)
1
sw
inc
unomid.h
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
#ifndef INCLUDED_SW_INC_UNOMID_H
20
#define INCLUDED_SW_INC_UNOMID_H
21
22
#define MID_MIRROR_VERT 0
23
#define MID_MIRROR_HORZ_EVEN_PAGES 1
24
#define MID_MIRROR_HORZ_ODD_PAGES 2
25
26
#define MID_PAGEDESC_PAGEDESCNAME 0
27
#define MID_PAGEDESC_PAGENUMOFFSET 1
28
29
#define MID_SURROUND_SURROUNDTYPE 0
30
#define MID_SURROUND_ANCHORONLY 1
31
#define MID_SURROUND_CONTOUR 2
32
#define MID_SURROUND_CONTOUROUTSIDE 3
33
34
#define MID_VERTORIENT_ORIENT 0
35
#define MID_VERTORIENT_RELATION 1
36
#define MID_VERTORIENT_POSITION 2
37
38
#define MID_HORIORIENT_ORIENT 0
39
#define MID_HORIORIENT_RELATION 1
40
#define MID_HORIORIENT_POSITION 2
41
#define MID_HORIORIENT_PAGETOGGLE 3
42
43
#define MID_ANCHOR_ANCHORTYPE 0
44
#define MID_ANCHOR_PAGENUM 1
45
#define MID_ANCHOR_ANCHORFRAME 2
46
47
#define MID_URL_HYPERLINKNAME 1
48
#define MID_URL_CLIENTMAP 2
49
#define MID_URL_SERVERMAP 3
50
#define MID_URL_URL 4
51
#define MID_URL_TARGET 5
52
#define MID_URL_VISITED_FMT 6
53
#define MID_URL_UNVISITED_FMT 7
54
#define MID_URL_HYPERLINKEVENTS 8
55
56
#define MID_CHAIN_PREVNAME 0
57
#define MID_CHAIN_NEXTNAME 1
58
#define MID_CHAIN_NAME 2
59
60
#define MID_LINENUMBER_COUNT 0
61
#define MID_LINENUMBER_STARTVALUE 1
62
63
#define MID_DROPCAP_FORMAT 0
64
#define MID_DROPCAP_WHOLE_WORD 1
65
#define MID_DROPCAP_CHAR_STYLE_NAME 2
66
#define MID_DROPCAP_LINES 3
67
#define MID_DROPCAP_COUNT 4
68
#define MID_DROPCAP_DISTANCE 5
69
70
#define MID_FRMSIZE_SIZE 0
71
#define MID_FRMSIZE_REL_HEIGHT 1
72
#define MID_FRMSIZE_REL_WIDTH 2
73
74
#define MID_FRMSIZE_WIDTH 4
75
#define MID_FRMSIZE_HEIGHT 5
76
#define MID_FRMSIZE_SIZE_TYPE 6
77
#define MID_FRMSIZE_IS_AUTO_HEIGHT 7
78
/* XML only */
79
#define MID_FRMSIZE_MIN_HEIGHT 8
80
#define MID_FRMSIZE_FIX_HEIGHT 9
81
#define MID_FRMSIZE_COL_WIDTH 10
82
#define MID_FRMSIZE_REL_COL_WIDTH 11
83
/* UNO */
84
#define MID_FRMSIZE_IS_SYNC_WIDTH_TO_HEIGHT 12
85
#define MID_FRMSIZE_IS_SYNC_HEIGHT_TO_WIDTH 13
86
#define MID_FRMSIZE_WIDTH_TYPE 14
87
#define MID_FRMSIZE_REL_WIDTH_RELATION 15
88
#define MID_FRMSIZE_REL_HEIGHT_RELATION 16
89
90
#define MID_COLUMNS 0
91
#define MID_COLUMN_SEPARATOR_LINE 1
92
93
//SwFormatFootnoteAtTextEnd
94
#define MID_COLLECT 0
95
#define MID_RESTART_NUM 1
96
#define MID_NUM_START_AT 2
97
#define MID_OWN_NUM 3
98
#define MID_NUM_TYPE 4
99
#define MID_PREFIX 5
100
#define MID_SUFFIX 6
101
102
//page style footnote
103
#define MID_FTN_HEIGHT 0
104
#define MID_LINE_WEIGHT 1
105
#define MID_LINE_COLOR 2
106
#define MID_LINE_RELWIDTH 3
107
#define MID_LINE_ADJUST 4
108
#define MID_LINE_TEXT_DIST 5
109
#define MID_LINE_FOOTNOTE_DIST 6
110
#define MID_FTN_LINE_STYLE 7
111
112
//SwFormatRuby
113
#define MID_RUBY_TEXT 0
114
#define MID_RUBY_ADJUST 1
115
#define MID_RUBY_CHARSTYLE 2
116
#define MID_RUBY_ABOVE 3
117
#define MID_RUBY_POSITION 4
118
119
//SwTextGridItem
120
#define MID_GRID_COLOR 0
121
#define MID_GRID_LINES 1
122
#define MID_GRID_BASEHEIGHT 2
123
#define MID_GRID_RUBYHEIGHT 3
124
#define MID_GRID_TYPE 4
125
#define MID_GRID_RUBY_BELOW 5
126
#define MID_GRID_PRINT 6
127
#define MID_GRID_DISPLAY 7
128
#define MID_GRID_BASEWIDTH 8
129
#define MID_GRID_SNAPTOCHARS 9
130
#define MID_GRID_STANDARD_MODE 10
131
132
//SwEnvItem
133
#define MID_ENV_ADDR_TEXT 1
134
#define MID_ENV_SEND 2
135
#define MID_SEND_TEXT 3
136
#define MID_ENV_ADDR_FROM_LEFT 4
137
#define MID_ENV_ADDR_FROM_TOP 5
138
#define MID_ENV_SEND_FROM_LEFT 6
139
#define MID_ENV_SEND_FROM_TOP 7
140
#define MID_ENV_WIDTH 8
141
#define MID_ENV_HEIGHT 9
142
#define MID_ENV_ALIGN 10
143
#define MID_ENV_PRINT_FROM_ABOVE 11
144
#define MID_ENV_SHIFT_RIGHT 12
145
#define MID_ENV_SHIFT_DOWN 13
146
147
// SwFormatWrapInfluenceOnObjPos
148
#define MID_WRAP_INFLUENCE 0
149
#define MID_ALLOW_OVERLAP 1
150
151
// SwFormatFollowTextFlow
152
#define MID_FOLLOW_TEXT_FLOW 0
153
154
#define MID_TEXT_BOX 0
155
#define MID_TEXT_BOX_CONTENT 1
156
157
#endif
158
159
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Generated on Sun Jul 30 2023 04:28:06 for LibreOffice Module sw (master) by
1.9.3