1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: unomid.h,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
34 #define MID_MIRROR_VERT 0
35 #define MID_MIRROR_HORZ_EVEN_PAGES 1
36 #define MID_MIRROR_HORZ_ODD_PAGES 2
38 #define MID_PAGEDESC_PAGEDESCNAME 0
39 #define MID_PAGEDESC_PAGENUMOFFSET 1
41 #define MID_SURROUND_SURROUNDTYPE 0
42 #define MID_SURROUND_ANCHORONLY 1
43 #define MID_SURROUND_CONTOUR 2
44 #define MID_SURROUND_CONTOUROUTSIDE 3
46 #define MID_VERTORIENT_ORIENT 0
47 #define MID_VERTORIENT_RELATION 1
48 #define MID_VERTORIENT_POSITION 2
50 #define MID_HORIORIENT_ORIENT 0
51 #define MID_HORIORIENT_RELATION 1
52 #define MID_HORIORIENT_POSITION 2
53 #define MID_HORIORIENT_PAGETOGGLE 3
55 #define MID_ANCHOR_ANCHORTYPE 0
56 #define MID_ANCHOR_PAGENUM 1
57 #define MID_ANCHOR_ANCHORFRAME 2
59 #define MID_URL_HYPERLINKFORMAT 0
60 #define MID_URL_HYPERLINKNAME 1
61 #define MID_URL_CLIENTMAP 2
62 #define MID_URL_SERVERMAP 3
64 #define MID_URL_TARGET 5
65 #define MID_URL_VISITED_FMT 6
66 #define MID_URL_UNVISITED_FMT 7
67 #define MID_URL_HYPERLINKEVENTS 8
69 #define MID_CHAIN_PREVNAME 0
70 #define MID_CHAIN_NEXTNAME 1
72 #define MID_LINENUMBER_COUNT 0
73 #define MID_LINENUMBER_STARTVALUE 1
75 #define MID_DROPCAP_FORMAT 0
76 #define MID_DROPCAP_WHOLE_WORD 1
77 #define MID_DROPCAP_CHAR_STYLE_NAME 2
78 #define MID_DROPCAP_LINES 3
79 #define MID_DROPCAP_COUNT 4
80 #define MID_DROPCAP_DISTANCE 5
82 #define MID_FRMSIZE_SIZE 0
83 #define MID_FRMSIZE_REL_HEIGHT 1
84 #define MID_FRMSIZE_REL_WIDTH 2
86 #define MID_FRMSIZE_WIDTH 4
87 #define MID_FRMSIZE_HEIGHT 5
88 #define MID_FRMSIZE_SIZE_TYPE 6
89 #define MID_FRMSIZE_IS_AUTO_HEIGHT 7
91 #define MID_FRMSIZE_MIN_HEIGHT 8
92 #define MID_FRMSIZE_FIX_HEIGHT 9
93 #define MID_FRMSIZE_COL_WIDTH 10
94 #define MID_FRMSIZE_REL_COL_WIDTH 11
96 #define MID_FRMSIZE_IS_SYNC_WIDTH_TO_HEIGHT 12
97 #define MID_FRMSIZE_IS_SYNC_HEIGHT_TO_WIDTH 13
100 #define MID_COLUMN_SEPARATOR_LINE 1
103 #define MID_COLLECT 0
104 #define MID_RESTART_NUM 1
105 #define MID_NUM_START_AT 2
106 #define MID_OWN_NUM 3
107 #define MID_NUM_TYPE 4
111 //page style footnote
112 #define MID_FTN_HEIGHT 0
113 #define MID_LINE_WEIGHT 1
114 #define MID_LINE_COLOR 2
115 #define MID_LINE_RELWIDTH 3
116 #define MID_LINE_ADJUST 4
117 #define MID_LINE_TEXT_DIST 5
118 #define MID_LINE_FOOTNOTE_DIST 6
121 #define MID_RUBY_TEXT 0
122 #define MID_RUBY_ADJUST 1
123 #define MID_RUBY_CHARSTYLE 2
124 #define MID_RUBY_ABOVE 3
127 #define MID_GRID_COLOR 0
128 #define MID_GRID_LINES 1
129 #define MID_GRID_BASEHEIGHT 2
130 #define MID_GRID_RUBYHEIGHT 3
131 #define MID_GRID_TYPE 4
132 #define MID_GRID_RUBY_BELOW 5
133 #define MID_GRID_PRINT 6
134 #define MID_GRID_DISPLAY 7
137 #define MID_ENV_ADDR_TEXT 1
138 #define MID_ENV_SEND 2
139 #define MID_SEND_TEXT 3
140 #define MID_ENV_ADDR_FROM_LEFT 4
141 #define MID_ENV_ADDR_FROM_TOP 5
142 #define MID_ENV_SEND_FROM_LEFT 6
143 #define MID_ENV_SEND_FROM_TOP 7
144 #define MID_ENV_WIDTH 8
145 #define MID_ENV_HEIGHT 9
146 #define MID_ENV_ALIGN 10
147 #define MID_ENV_PRINT_FROM_ABOVE 11
148 #define MID_ENV_SHIFT_RIGHT 12
149 #define MID_ENV_SHIFT_DOWN 13