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 .
20 #ifndef INCLUDED_SW_INC_CMDID_H
21 #define INCLUDED_SW_INC_CMDID_H
23 #include <sfx2/sfx.hrc>
26 /* Flags that are being used in the slot definitions for the disable-features */
27 #define SW_DISABLE_ON_PROTECTED_CURSOR 0x00000001
28 #define SW_DISABLE_ON_MAILBOX_EDITOR 0x00000002
30 #define FN_FILE SID_SW_START
31 #define FN_EDIT (SID_SW_START + 100)
32 #define FN_VIEW (SID_SW_START + 200)
33 #define FN_INSERT (SID_SW_START + 300)
34 #define FN_FORMAT (SID_SW_START + 400)
35 #define FN_EXTRA (SID_SW_START + 600)
36 #define FN_SELECTION (SID_SW_START + 900)
37 #define FN_QUERY (SID_SW_START + 1000)
38 #define FN_ENVELP (SID_SW_START + 1050)
39 #define FN_PARAM (SID_SW_START + 1100)
40 #define FN_STAT (SID_SW_START + 1180)
41 #define FN_PGPREVIEW (SID_SW_START + 1250)
42 #define FN_FRAME (SID_SW_START + 1300)
43 #define FN_INSERT2 (SID_SW_START + 1400)
44 #define FN_FORMAT2 (SID_SW_START + 1600)
45 #define FN_EDIT2 (SID_SW_START + 1800)
46 #define FN_QUERY2 (SID_SW_START + 2000)
47 #define FN_EXTRA2 (SID_SW_START + 2200)
48 #define FN_PARAM2 (SID_SW_START + 2400)
49 #define FN_NOTES (SID_SW_START + 2500)
50 #define FN_SIDEBAR (SID_SW_START + 2550)
51 #define FN_HEADERFOOTER (SID_SW_START + 2600)
52 #define FN_PAGEBREAK (SID_SW_START + 2610)
54 /* More accurately, this range should be from FN_EXTRA2 to FN_PARAM2-1, but
55 * FN_NUMBER_NEWSTART comes from FN_FORMAT2, and FN_PARAM_LINK_DISPLAY_NAME
56 * comes from FN_PARAM2 so we need to include FORMAT2,
57 * EDIT2 and QUERY2 and PARAM2 in the range...hopefully this will be fixed
60 #define FN_UNO_RANGE_BEGIN FN_FORMAT2
61 #define FN_UNO_RANGE_END (FN_PARAM2 + 199)
64 #define FN_NEW_GLOBAL_DOC (FN_FILE + 4 ) /* Create Global Document */
65 #define FN_OPEN_FILE (FN_FILE + 7 ) /* Open */
67 #define FN_OUTLINE_TO_IMPRESS (FN_FILE + 36) /* Send outline to impress */
68 #define FN_OUTLINE_TO_CLIPBOARD (FN_FILE + 37) /* Send outline to clipboard */
70 #define FN_NEW_HTML_DOC (FN_FILE + 40 ) /* Create HTML document */
73 #define FN_EDIT_FIELD (FN_EDIT + 4 ) /* Edit field */
74 #define FN_EDIT_LINK_DLG (FN_EDIT + 9 ) /* Edit link dialog */
76 #define FN_NUMBER_BULLETS (FN_EDIT + 21) /* Bullets */
77 #define FN_EDIT_IDX_ENTRY_DLG (FN_EDIT + 23) /* Edit Index-Entry */
78 #define FN_UPDATE_FIELDS (FN_EDIT + 26) /* Update fields */
79 #define FN_EXECUTE_MACROFIELD (FN_EDIT + 27) /* Execute macrofield */
80 #define FN_EDIT_FORMULA (FN_EDIT + 28) /* Edit formula in RibbonBar */
81 #define FN_CALC_TABLE (FN_EDIT + 29)
84 #define FN_NUM_BULLET_DOWN (FN_EDIT + 30) /* Bullet down */
85 #define FN_NUM_BULLET_UP (FN_EDIT + 31) /* Bullet up */
86 #define FN_NUM_BULLET_PREV (FN_EDIT + 32) /* to previous bullet */
87 #define FN_NUM_BULLET_NEXT (FN_EDIT + 33) /* to next bullet */
88 #define FN_NUM_BULLET_MOVEUP (FN_EDIT + 34) /* move bullet up */
89 #define FN_NUM_BULLET_MOVEDOWN (FN_EDIT + 35) /* move bullet down */
90 #define FN_NUM_BULLET_NONUM (FN_EDIT + 36) /* bullet without number */
91 #ifndef FN_NUM_BULLET_OFF //in SVX already
92 #define FN_NUM_BULLET_OFF (FN_EDIT + 37) /* turn off numbering */
95 #define FN_NUM_BULLET_OUTLINE_DOWN (FN_EDIT + 39) /* reduce in rank with sub points */
96 #define FN_NUM_BULLET_OUTLINE_UP (FN_EDIT + 40) /* increase in rank with sub-items */
97 #define FN_NUM_BULLET_OUTLINE_MOVEUP (FN_EDIT + 41) /* Push up with sub-items */
98 #define FN_NUM_BULLET_OUTLINE_MOVEDOWN (FN_EDIT + 42) /* Push down with sub-items */
99 #define FN_UPDATE_INPUTFIELDS (FN_EDIT + 43) /* Update input fields */
101 #define FN_NUM_OR_NONUM (FN_EDIT + 46) /* Number on/off */
103 #define FN_GOTO_NEXT_INPUTFLD (FN_EDIT + 47) /* go to next inputfield */
104 #define FN_GOTO_PREV_INPUTFLD (FN_EDIT + 48) /* go to previous inputfield */
106 #define FN_REPEAT_SEARCH (FN_EDIT + 50) /* Search again */
108 #define FN_REPAGINATE (FN_EDIT + 61) /* Force repagination */
109 #define FN_EDIT_FOOTNOTE (FN_EDIT + 62) /* Edit footnote */
111 #define FN_EDIT_REGION (FN_EDIT + 65) /* Edit region */
112 #define FN_GOTO_REFERENCE (FN_EDIT + 66) /* From Refmark to the reference */
114 // already defined in SVX
115 #define FN_NEXT_BOOKMARK (FN_EDIT + 68) /* */
116 #define FN_PREV_BOOKMARK (FN_EDIT + 69) /* */
118 /*Navigator ToolBoxes*/
119 #define FN_ITEM_DOWN (FN_EDIT + 71) /**/
120 #define FN_ITEM_LEFT (FN_EDIT + 72) /**/
121 #define FN_ITEM_RIGHT (FN_EDIT + 73) /**/
122 #define FN_ITEM_UP (FN_EDIT + 74) /**/
123 #define FN_DOWN (FN_EDIT + 75) /**/
125 #define FN_SELECT_FOOTER (FN_EDIT + 77) /**/
126 #define FN_SELECT_HEADER (FN_EDIT + 79) /**/
127 #define FN_PAGENUMBER (FN_EDIT + 80) /**/
128 #define FN_SELECT_FOOTNOTE (FN_EDIT + 82) /**/
129 #define FN_SELECT_SET_AUTO_BOOKMARK (FN_EDIT + 83) /**/
130 #define FN_UP (FN_EDIT + 86) /**/
132 #define FN_SELECT_PARA (FN_EDIT + 97) /* select paragraph*/
134 #define FN_SELECT_CONTENT (FN_EDIT + 99) /* Navigator - Content Type */
136 #define FN_UPDATE_ALL_LINKS (FN_EDIT2 + 24) /* update all links */
138 #define FN_REDLINE_SHOW (FN_EDIT2 + 26) /* show Redlining */
139 #define FN_REDLINE_COMMENT (FN_EDIT2 + 27) /* comment Redlining */
141 #define FN_UPDATE_ALL (FN_EDIT2 + 28) /* FN_UPDATE_ALL_LINKS,
146 #define FN_REDLINE_ACCEPT (FN_EDIT2 + 29) /* Redlining Accept/Reject */
147 #define FN_ATTR_COLUMNS (FN_EDIT2 + 31) /* SlotId for SwFormatCol */
148 #define FN_EDIT_CURRENT_TOX (FN_EDIT2 + 32) /* edit current index */
149 #define FN_EDIT_AUTH_ENTRY_DLG (FN_EDIT2 + 33) /* edit authorities entry*/
150 #define FN_UPDATE_CHARTS (FN_EDIT2 + 34) /* update all charts */
152 #define FN_EDIT_HYPERLINK (FN_EDIT2 + 35) /* edit hyperlink */
153 #define FN_NUM_CONTINUE (FN_EDIT2 + 36) /* continue previous numbering */
154 #define FN_REDLINE_ACCEPT_DIRECT (FN_EDIT2 + 37) /* accept redline at current position*/
155 #define FN_REDLINE_REJECT_DIRECT (FN_EDIT2 + 38) /* reject redline at current position*/
156 #define FN_REMOVE_HYPERLINK (FN_EDIT2 + 39) /* remove hyperlink attribute */
157 #define FN_COPY_HYPERLINK_LOCATION (FN_EDIT2 + 40) /* copy hyperlink URL to clipboard */
158 #define FN_REDLINE_NEXT_CHANGE (FN_EDIT2 + 41) /* Go to the next change */
159 #define FN_REDLINE_PREV_CHANGE (FN_EDIT2 + 42) /* Go to the previous change */
162 #define FN_REFRESH_VIEW (FN_VIEW + 1) /* Refresh/Redraw */
164 #define FN_DRAW_WRAP_DLG (FN_VIEW + 3) /* Draw Umlauf-Dlg */
165 #define FN_RULER (FN_VIEW + 11) /* Horizontal ruler */
167 #define FN_VIEW_GRAPHIC (FN_VIEW + 13) /* View graphic */
168 #define FN_VIEW_BOUNDS (FN_VIEW + 14) /* View bounds */
169 #define FN_VIEW_FIELDS (FN_VIEW + 15) /* View fields */
170 #define FN_VLINEAL (FN_VIEW + 16) /* Vertical Liner */
171 #define FN_VSCROLLBAR (FN_VIEW + 17) /* Vertical Scrollbar */
172 #define FN_HSCROLLBAR (FN_VIEW + 18) /* Horizontal Scrollbar */
174 #define FN_VIEW_META_CHARS (FN_VIEW + 24) /* View meta chars */
175 #define FN_VIEW_MARKS (FN_VIEW + 25) /* View marks */
176 #define FN_VIEW_FIELDNAME (FN_VIEW + 26) /* View field names */
177 #define FN_VIEW_TABLEGRID (FN_VIEW + 27) /* View tablegrid */
179 #define FN_SET_PAGE (FN_VIEW + 29) /* Set page template to paragraph */
182 #define FN_SHOW_CONTENT_BOX (FN_VIEW + 33) /**/
183 #define FN_SHOW_ROOT (FN_VIEW + 34) /**/
184 #define FN_DROP_REGION (FN_VIEW + 35) /**/
185 #define FN_OUTLINE_LEVEL (FN_VIEW + 36) /**/
187 #define FN_PRINT_LAYOUT (FN_VIEW + 37) /* print layout */
189 #define FN_DROP_REGION_LINK (FN_VIEW + 38) /**/
190 #define FN_DROP_REGION_COPY (FN_VIEW + 39) /**/
192 #define FN_SCROLL_NAVIGATION (FN_VIEW + 40) /* Navigation Controller */
194 #define FN_VIEW_HIDDEN_PARA (FN_VIEW + 42) /* View hidden paragraphs */
195 #define FN_VIEW_SMOOTH_SCROLL (FN_VIEW + 43)
197 #define FN_GLOBAL_SWITCH (FN_VIEW + 44) /* Toggle between Global and Content */
198 #define FN_GLOBAL_EDIT (FN_VIEW + 45) /* edit */
199 #define FN_GLOBAL_UPDATE (FN_VIEW + 46) /* update */
200 #define FN_GLOBAL_OPEN (FN_VIEW + 47) /* open */
201 #define FN_GLOBAL_SAVE_CONTENT (FN_VIEW + 48) /* save content of link */
202 #define FN_CREATE_NAVIGATION (FN_VIEW + 49) /* create Navigations-Controller */
203 #define FN_PREVIEW_ZOOM (FN_VIEW + 51) /* create table controller for zoom */
205 #define FN_SET_MODOPT_TBLNUMFMT (FN_VIEW + 52) /* Number recognition in tables */
206 #define FN_HSCROLL_METRIC (FN_VIEW + 53) /* Metric horizontal scrollbar */
207 #define FN_VSCROLL_METRIC (FN_VIEW + 54) /* Metric vertical scrollbar */
208 #define FN_VIEW_NOTES (FN_VIEW + 55)
210 #define FN_NAVIGATION_POPUP (FN_VIEW + 56) /* Navigation Popup */
211 #define FN_SCROLL_PREV (FN_VIEW + 57) /* uno:ScrollToPrevious */
212 #define FN_SCROLL_NEXT (FN_VIEW + 58) /* uno:ScrollToNext */
215 #define FN_INSERT_BOOKMARK (FN_INSERT + 2 ) /* Bookmark */
217 #define FN_INSERT_BREAK_DLG (FN_INSERT + 4 ) /* Break */
218 #define FN_INSERT_COLUMN_BREAK (FN_INSERT + 5 ) /* Column break */
219 #define FN_INSERT_FIELD (FN_INSERT + 8 ) /* Textcommand */
220 #define FN_CHANGE_DBFIELD (FN_INSERT + 9 ) /* Change the database field */
222 #define FN_INSERT_CAPTION (FN_INSERT + 10) /* Caption */
223 #define FN_INSERT_DBFIELD (FN_INSERT + 11) /* Insert database field - for recording */
224 #define FN_INSERT_FOOTNOTE_DLG (FN_INSERT + 12) /* Footnote Dialog */
226 #define FN_INSERT_REF_FIELD (FN_INSERT + 13) /* Insert Reference Field */
228 #define FN_INSERT_HYPERLINK (FN_INSERT + 14) /* Character dialogue / hyperlink page */
230 #define FN_INSERT_LINEBREAK (FN_INSERT + 18) /* Newline */
231 #define FN_INSERT_FIELD_DATA_ONLY (FN_INSERT + 19) /* Field dialog for mail merge*/
232 #define FN_INSERT_OBJECT_DLG (FN_INSERT + 22) /* Object */
233 #define FN_INSERT_PAGEBREAK (FN_INSERT + 23) /* Page break*/
234 #define FN_POSTIT (FN_INSERT + 29) /* Insert/edit PostIt */
235 #define FN_INSERT_TABLE (FN_INSERT + 30) /* Insert Table */
236 #define FN_INSERT_STRING (FN_INSERT+31)
237 #define FN_INSERT_FRAME_INTERACT (FN_INSERT + 33) /* Insert interactive frame */
238 #define FN_INSERT_FRAME (FN_INSERT + 34) /* Insert Frame */
240 #define FN_INSERT_IDX_ENTRY_DLG (FN_INSERT + 35) /* insert index entry */
241 #define FN_INSERT_FRAME_INTERACT_NOCOL (FN_INSERT + 36) /*insert interactive non column frame*/
243 #define FN_TOOL_ANCHOR (FN_INSERT + 49) /* Draw Anchor for object */
244 #define FN_TOOL_ANCHOR_PAGE (FN_INSERT + 50) /* anchor Draw object to page */
245 #define FN_TOOL_ANCHOR_PARAGRAPH (FN_INSERT + 51) /* anchor Draw object to paragraph */
246 #define FN_TOOL_HIERARCHIE (FN_INSERT + 52) /* change hierarchy */
248 #define FN_MAILMERGE_WIZARD (FN_INSERT + 64) /* mail merge wizard */
249 #define FN_TOOL_ANCHOR_FRAME (FN_INSERT + 66) /* anchor Draw-Object to frame*/
250 #define FN_QRY_MERGE (FN_INSERT + 67) /* insert record (serial letter) */
251 #define FN_MAILMERGE_CHILDWINDOW (FN_INSERT + 68) /* back-to-mail-merge-wizard child window*/
252 #define FN_INSERT_SMA (FN_INSERT + 69) /* insert StarMath */
254 #define FN_DRAWTEXT_ATTR_DLG (FN_INSERT + 76) /* position DrawText */
256 #define FN_TOOL_ANCHOR_CHAR (FN_INSERT + 84) /* anchor Draw object to charater */
258 #define FN_QRY_INSERT (FN_INSERT + 86) /* insert record selection in to text */
259 #define FN_QRY_MERGE_FIELD (FN_INSERT + 87) /* insert record selection into fields */
260 #define FN_QRY_INSERT_FIELD (FN_INSERT + 88) /* insert database field */
262 #define FN_INSERT_CTRL (FN_INSERT + 89) /* toolbar controller insert*/
263 #define FN_INSERT_OBJ_CTRL (FN_INSERT + 90) /* toolbar controller (insert/object) */
264 #define FN_INSERT_FIELD_CTRL (FN_INSERT + 91) /* toolbar controller insert/field commands */
266 #define FN_INSERT_FLD_DATE (FN_INSERT + 92)
267 #define FN_INSERT_FLD_TIME (FN_INSERT + 93)
268 #define FN_INSERT_FLD_PGNUMBER (FN_INSERT + 94)
269 #define FN_INSERT_FLD_PGCOUNT (FN_INSERT + 95)
270 #define FN_INSERT_FLD_TOPIC (FN_INSERT + 96)
271 #define FN_INSERT_FLD_TITLE (FN_INSERT + 97)
272 #define FN_INSERT_FLD_AUTHOR (FN_INSERT + 98)
273 #define FN_INSERT_FOOTNOTE (FN_INSERT + 99)
275 // Region: Paste (Part 2)
276 #define FN_MAILMERGE_SENDMAIL_CHILDWINDOW (FN_INSERT2 + 5) /* child window provided by mailmerge */
278 #define FN_SBA_BRW_UPDATE (FN_INSERT2 + 7) /* insert records into fields */
279 #define FN_SBA_BRW_INSERT (FN_INSERT2 + 8) /* insert records into text */
280 #define FN_SBA_BRW_MERGE (FN_INSERT2 + 9) /* serial letter print */
281 #define FN_JAVAEDIT (FN_INSERT2 + 10) /* edit script field */
282 #define FN_TOOL_ANCHOR_AT_CHAR (FN_INSERT2 + 12) /* anchor object to character*/
284 #define FN_INSERT_PAGEHEADER (FN_INSERT2 + 13) /* insert default header */
285 #define FN_INSERT_PAGEFOOTER (FN_INSERT2 + 14) /* insert default footer */
287 #define FN_INSERT_ENDNOTE (FN_INSERT2 + 18) /* insert endnote*/
288 #define FN_INSERT_REGION (FN_INSERT2 + 19) /* Insert section */
290 #define FN_INSERT_MULTI_TOX (FN_INSERT2 + 20) /* insert any TOX */
291 #define FN_INSERT_AUTH_ENTRY_DLG (FN_INSERT2 + 21) /* insert entry for table of authorities*/
294 #define FN_AUTOFORMAT_APPLY (FN_FORMAT + 1 ) /* apply autoformat options */
295 #define FN_AUTOFORMAT_AUTO (FN_FORMAT + 2 ) /* apply autoformat during user input */
296 #define FN_GROW_FONT_SIZE (FN_FORMAT + 3 ) /* size */
297 #define FN_SHRINK_FONT_SIZE (FN_FORMAT + 4 ) /* size */
298 #define FN_UNDERLINE_DOUBLE (FN_FORMAT + 5 ) /* double underline */
299 #define FN_AUTOFORMAT_REDLINE_APPLY (FN_FORMAT + 6 ) /* apply autoformat with Redlining */
300 #define FN_SET_SUPER_SCRIPT (FN_FORMAT + 11) /* superscript */
301 #define FN_SET_SUB_SCRIPT (FN_FORMAT + 12) /* subscript */
303 #define FN_FORMAT_PAGE_SETTING_DLG (FN_FORMAT + 42) /* */
304 #define FN_NUM_FORMAT_TABLE_DLG (FN_FORMAT + 45) /* number format in table */
305 #define FN_FORMAT_BORDER_DLG (FN_FORMAT + 48) /* */
306 #define FN_FORMAT_PAGE_COLUMN_DLG (FN_FORMAT + 49) /* columns per page */
307 #define FN_FORMAT_BACKGROUND_DLG (FN_FORMAT + 50) /* background */
308 #define FN_FORMAT_PAGE_DLG (FN_FORMAT + 52) /* page */
309 #define FN_FORMAT_COLUMN (FN_FORMAT + 53) /* columns */
310 #define FN_FORMAT_DROPCAPS (FN_FORMAT + 54) /* initials */
311 #define FN_FORMAT_FRAME_DLG (FN_FORMAT + 56) /* frame */
312 #define FN_FORMAT_GRAFIC_DLG (FN_FORMAT + 58) /* graphic */
313 #define FN_FORMAT_TABLE_DLG (FN_FORMAT + 60) /* table */
315 #define FN_UPDATE_STYLE_BY_EXAMPLE (FN_FORMAT + 63) /* update style */
316 #define FN_FORMAT_FOOTNOTE_DLG (FN_FORMAT + 68) /* footnote dialog */
318 #define FN_FRAME_NOWRAP (FN_FORMAT + 72)
319 #define FN_FRAME_WRAP (FN_FORMAT + 73)
320 #define FN_FRAME_WRAPTHRU (FN_FORMAT + 74)
322 #define FN_FRAME_ALIGN_HORZ_LEFT (FN_FORMAT + 75)
323 #define FN_FRAME_ALIGN_HORZ_RIGHT (FN_FORMAT + 76)
324 #define FN_FRAME_ALIGN_HORZ_CENTER (FN_FORMAT + 77)
325 #define FN_FRAME_ALIGN_VERT_TOP (FN_FORMAT + 78)
326 #define FN_FRAME_ALIGN_VERT_BOTTOM (FN_FORMAT + 79)
327 #define FN_FRAME_ALIGN_VERT_CENTER (FN_FORMAT + 80)
329 #define FN_SET_FRM_POSITION (FN_FORMAT + 82)/* frame position -- " -- */
331 #define FN_SET_PAGE_STYLE (FN_FORMAT + 93) /* apply page style */
333 #define FN_FORMAT_TITLEPAGE_DLG (FN_FORMAT + 98) /* Title Page */
335 #define FN_TABLE_REP (FN_FORMAT + 99) /* TableRepresentation */
336 #define FN_CONVERT_TEXT_TABLE (FN_FORMAT + 100) /* convert text <-> table */
337 #define FN_TABLE_INSERT_ROW (FN_FORMAT + 101) /* */
338 #define FN_TABLE_INSERT_COL (FN_FORMAT + 102) /* */
339 #define FN_TABLE_DELETE_ROW (FN_FORMAT + 103) /* */
340 #define FN_TABLE_DELETE_COL (FN_FORMAT + 104) /* */
341 #define FN_TABLE_SPLIT_CELLS (FN_FORMAT + 105) /* */
342 #define FN_TABLE_MERGE_CELLS (FN_FORMAT + 106) /* */
343 #define FN_TABLE_SET_ROW_HEIGHT (FN_FORMAT + 107) /* */
344 #define FN_TABLE_SET_COL_WIDTH (FN_FORMAT + 108) /* */
345 #define FN_TABLE_INSERT_ROW_AFTER (FN_FORMAT + 109) /* */
346 #define FN_OPTIMIZE_TABLE (FN_FORMAT + 110) /* ToolBoxItem for optimizing tables */
347 #define FN_TABLE_INSERT_ROW_BEFORE (FN_FORMAT + 111) /* */
348 #define FN_TABLE_INSERT_COL_BEFORE (FN_FORMAT + 112) /* */
349 #define FN_TABLE_SELECT_ROW (FN_FORMAT + 113) /* */
350 #define FN_TABLE_SELECT_COL (FN_FORMAT + 114) /* */
351 #define FN_TABLE_SELECT_ALL (FN_FORMAT + 115) /* */
352 #define FN_TABLE_INSERT_COL_AFTER (FN_FORMAT + 116) /* */
353 #define FN_TABLE_SET_READ_ONLY_CELLS (FN_FORMAT + 117) /* protect table cells */
354 #define FN_TABLE_UNSET_READ_ONLY_CELLS (FN_FORMAT + 119) /* undo table cell protection */
355 #define FN_TABLE_HEADLINE_REPEAT (FN_FORMAT + 120) /* also used in SwXTextTable*/
356 #define FN_TABLE_ADJUST_CELLS (FN_FORMAT + 121) /* */
358 #define FN_FRAME_UP (FN_FORMAT + 122) /* frame by one level up */
359 #define FN_FRAME_DOWN (FN_FORMAT + 123) /* frame by one level down */
361 #define FN_TABLE_OPTIMAL_HEIGHT (FN_FORMAT + 128) /* optimal cell height */
362 #define FN_TABLE_DELETE_TABLE (FN_FORMAT + 129) /* remove current table*/
363 #define FN_TABLE_SELECT_CELL (FN_FORMAT + 130) /* selects the current table cell */
364 #define FN_CONVERT_TEXT_TO_TABLE (FN_FORMAT + 131) /* convert selected text to table */
365 #define FN_CONVERT_TABLE_TO_TEXT (FN_FORMAT + 132) /* convert a table to text */
366 #define FN_TABLE_SORT_DIALOG (FN_FORMAT + 133) /* sorting in tables*/
368 // Region: Page Template
369 #define FN_PAGE_STYLE_SET_LR_MARGIN (FN_FORMAT + 130) /* left / right margin */
370 #define FN_PAGE_STYLE_SET_UL_MARGIN (FN_FORMAT + 131) /* upper / lower margin */
371 #define FN_PAGE_STYLE_SET_PAPER_SIZE (FN_FORMAT + 135) /* */
372 #define FN_PAGE_STYLE_SET_PAPER_BIN (FN_FORMAT + 136) /* paper tray */
373 #define FN_PAGE_STYLE_SET_NUMBER_FORMAT (FN_FORMAT + 137) /* */
374 #define FN_PAGE_STYLE_SET_COLS (FN_FORMAT + 138) /* number of columns */
376 /* these Ids are only required by Help and are replaced by the Ids without _DLG
378 #define FN_TABLE_INSERT_COL_DLG (FN_FORMAT + 142) /* */
379 #define FN_TABLE_INSERT_ROW_DLG (FN_FORMAT + 143) /* */
381 #define FN_GOTO_NEXT_CELL (FN_FORMAT + 145) /* Table: go to next cell */
382 #define FN_GOTO_PREV_CELL (FN_FORMAT + 146) /* Table: go to previous cell */
384 #define FN_TABLE_HEADLINE_COUNT (FN_FORMAT + 147) /* number of repeated headlines of tables */
387 #define FN_FORMULA_CALC (FN_FORMAT + 156) /* select formula */
388 #define FN_FORMULA_CANCEL (FN_FORMAT + 157) /* don't apply formula */
389 #define FN_FORMULA_APPLY (FN_FORMAT + 158) /* apply formula */
390 #define FN_TABLE_UNSET_READ_ONLY (FN_FORMAT + 159) /* undo cell protection for table */
392 #define FN_FRAME_WRAP_IDEAL (FN_FORMAT + 163) /* frame ideal wrapping */
393 #define FN_FRAME_WRAPTHRU_TRANSP (FN_FORMAT + 164) /* frame transparent wrapping */
395 #define FN_FRAME_ALIGN_VERT_ROW_TOP (FN_FORMAT + 165) /* */
396 #define FN_FRAME_ALIGN_VERT_ROW_BOTTOM (FN_FORMAT + 166) /* */
397 #define FN_FRAME_ALIGN_VERT_ROW_CENTER (FN_FORMAT + 167) /* */
399 #define FN_FRAME_ALIGN_VERT_CHAR_TOP (FN_FORMAT + 168) /* */
400 #define FN_FRAME_ALIGN_VERT_CHAR_BOTTOM (FN_FORMAT + 169) /* */
401 #define FN_FRAME_ALIGN_VERT_CHAR_CENTER (FN_FORMAT + 170) /* */
403 #define FN_FRAME_WRAP_LEFT (FN_FORMAT + 172) /* */
404 #define FN_FRAME_WRAP_RIGHT (FN_FORMAT + 173) /* */
406 #define FN_WRAP_ANCHOR_ONLY (FN_FORMAT + 181) /* wrap only for first paragraph */
408 #define FN_TABLE_BALANCE_CELLS (FN_FORMAT + 182) /* evenly distribute columns */
409 #define FN_TABLE_BALANCE_ROWS (FN_FORMAT + 183) /* evenly distribute rows */
411 #define FN_FRAME_WRAP_CONTOUR (FN_FORMAT + 184) /* */
413 // +185..+187 removed in favor of corresponding globally available slot
415 #define FN_TABLE_SET_VERT_ALIGN (FN_FORMAT + 188) /* vertical alignment in Writer table cells */
416 #define FN_TABLE_MODE_FIX (FN_FORMAT + 189) /* table mode */
417 #define FN_TABLE_MODE_FIX_PROP (FN_FORMAT + 190) /* -"- */
418 #define FN_TABLE_MODE_VARIABLE (FN_FORMAT + 191) /* -"- */
419 #define FN_TABLE_BOX_TEXTORIENTATION (FN_FORMAT + 192) /* text orientation of table cells */
421 #define FN_TABLE_AUTOSUM (FN_FORMAT + 195) /* */
423 #define FN_GOTO_NEXT_REGION (FN_FORMAT2 + 9) /* */
424 #define FN_GOTO_PREV_REGION (FN_FORMAT2 + 10) /* */
426 #define FN_ABSTRACT_NEWDOC (FN_FORMAT2 + 12) /* abstract in new document */
427 #define FN_ABSTRACT_STARIMPRESS (FN_FORMAT2 + 13) /* abstract to StarImpress */
429 #define FN_NAME_SHAPE (FN_FORMAT2 + 14) /* Name shapes */
431 #define FN_TITLE_DESCRIPTION_SHAPE (FN_FORMAT2 + 15) /* shape title and description */
433 #define FN_NUMBER_FORMAT (FN_FORMAT2 + 120) /* set Boxes/NumberFormatter */
434 #define FN_NUMBER_STANDARD (FN_FORMAT2 + 121)
435 #define FN_NUMBER_TWODEC (FN_FORMAT2 + 123)
436 #define FN_NUMBER_SCIENTIFIC (FN_FORMAT2 + 124)
437 #define FN_NUMBER_DATE (FN_FORMAT2 + 125)
438 #define FN_NUMBER_TIME (FN_FORMAT2 + 126)
439 #define FN_NUMBER_CURRENCY (FN_FORMAT2 + 127)
440 #define FN_NUMBER_PERCENT (FN_FORMAT2 + 128)
442 #define FN_FRAME_CHAIN (FN_FORMAT2 + 136)
443 #define FN_FRAME_UNCHAIN (FN_FORMAT2 + 137)
445 #define FN_NUMBER_NEWSTART (FN_FORMAT2 + 138)
446 #define FN_NUMBER_NEWSTART_AT (FN_FORMAT2 + 139)
448 #define FN_FRAME_MIRROR_ON_EVEN_PAGES (FN_FORMAT2 + 140)
449 #define FN_GRAPHIC_MIRROR_ON_EVEN_PAGES (FN_FORMAT2 + 141)
451 #define FN_TABLE_SPLIT_TABLE (FN_FORMAT2 + 142)
452 #define FN_SYNC_LABELS (FN_FORMAT2 + 143)
454 #define FN_FORMAT_LINENUMBER (FN_FORMAT2 + 144)
456 #define FN_TABLE_RELATIVE_WIDTH (FN_FORMAT2 + 147) /* UNO */
457 #define FN_TABLE_WIDTH (FN_FORMAT2 + 148) /* UNO */
458 #define FN_TABLE_IS_RELATIVE_WIDTH (FN_FORMAT2 + 149) /* UNO */
460 #define FN_INC_INDENT_OFFSET (FN_FORMAT2 + 150)
461 #define FN_DEC_INDENT_OFFSET (FN_FORMAT2 + 151)
463 #define FN_TABLE_MERGE_TABLE (FN_FORMAT2 + 152)
464 #define FN_TABLE_ROW_SPLIT (FN_FORMAT2 + 153)
466 #define FN_FORMAT_APPLY_HEAD1 (FN_FORMAT2 + 154)
467 #define FN_FORMAT_APPLY_HEAD2 (FN_FORMAT2 + 155)
468 #define FN_FORMAT_APPLY_HEAD3 (FN_FORMAT2 + 156)
469 #define FN_FORMAT_APPLY_DEFAULT (FN_FORMAT2 + 157)
470 #define FN_FORMAT_APPLY_TEXTBODY (FN_FORMAT2 + 158)
471 #define FN_REMOVE_DIRECT_CHAR_FORMATS (FN_FORMAT2 + 159)
475 #define FN_LINE_NUMBERING_DLG (FN_EXTRA + 2 ) /* */
476 #define FN_HYPHENATE_OPT_DLG (FN_EXTRA + 5 ) /* */
477 #define FN_ADD_UNKNOWN (FN_EXTRA + 6 ) /* learn words */
478 #define FN_NUMBERING_OUTLINE_DLG (FN_EXTRA + 12) /* */
479 #define FN_SORTING_DLG (FN_EXTRA + 14) /* */
480 #define FN_CALCULATE (FN_EXTRA + 15) /* */
481 #define FN_GLOSSARY_DLG (FN_EXTRA + 20) /* text building blocks */
483 #define FN_EXPAND_GLOSSARY (FN_EXTRA + 28) /* expand text building blocks */
484 #define FN_CHANGE_PAGENUM (FN_EXTRA + 34) /* change page numbers*/
485 #define FN_ADD_TEXT_BOX (FN_EXTRA + 35) /* add text box to draw shape */
486 #define FN_REMOVE_TEXT_BOX (FN_EXTRA + 36) /* remove text box of draw shape */
490 #define FN_AUTO_CORRECT (FN_EXTRA + 49 ) /* Autocorrect from Basic */
492 #define FN_UPDATE_TOX (FN_EXTRA + 53) /* update all indices */
493 #define FN_UPDATE_CUR_TOX (FN_EXTRA + 54) /* update current index */
494 #define FN_REMOVE_CUR_TOX (FN_EXTRA + 55) /* remove the current TOX*/
496 #define FN_NAVIGATION_PI_GOTO_PAGE (FN_EXTRA + 59 ) /* goto page from navigation-PI */
498 #define FN_COLL_TYPE (FN_EXTRA + 98) /* type for GlobalDoc-Collection*/
499 #define FN_COLL_ADD (FN_EXTRA + 99)
501 #define FN_COLL_TITLE (FN_EXTRA2 + 1) /* area name or index title */
502 #define FN_SHADOWCURSOR (FN_EXTRA2 + 4) /* enable/disable Shadow Cursor */
504 #define FN_UNO_PARA_STYLE (FN_EXTRA2 + 9) // starting here are UNI-Ids for the PropertyMap listed
505 #define FN_UNO_PAGE_STYLE (FN_EXTRA2 + 10)
507 #define FN_UNO_FRAME_STYLE_NAME (FN_EXTRA2 + 12)
508 #define FN_UNO_NUM_START_VALUE (FN_EXTRA2 + 13)
509 #define FN_UNO_NUM_LEVEL (FN_EXTRA2 + 14)
510 #define FN_UNO_NUM_RULES (FN_EXTRA2 + 15)
511 #define FN_UNO_DOCUMENT_INDEX_MARK (FN_EXTRA2 + 16)
512 #define FN_UNO_DOCUMENT_INDEX (FN_EXTRA2 + 17)
513 #define FN_UNO_TEXT_FIELD (FN_EXTRA2 + 18)
514 #define FN_UNO_TEXT_TABLE (FN_EXTRA2 + 19)
515 #define FN_UNO_CELL (FN_EXTRA2 + 20)
516 #define FN_UNO_TEXT_FRAME (FN_EXTRA2 + 21)
517 #define FN_UNO_REFERENCE_MARK (FN_EXTRA2 + 22)
518 #define FN_UNO_TEXT_SECTION (FN_EXTRA2 + 23)
519 #define FN_UNO_FOOTNOTE (FN_EXTRA2 + 24)
520 #define FN_UNO_ENDNOTE (FN_EXTRA2 + 25)
521 #define FN_UNO_RANGE_COL_LABEL (FN_EXTRA2 + 26)
522 #define FN_UNO_RANGE_ROW_LABEL (FN_EXTRA2 + 27)
523 #define FN_UNO_TABLE_BORDER (FN_EXTRA2 + 29)
524 #define FN_UNO_TABLE_COLUMN_SEPARATORS (FN_EXTRA2 + 30)
525 #define FN_UNO_TABLE_COLUMN_RELATIVE_SUM (FN_EXTRA2 + 31)
526 #define FN_UNO_TABLE_CELL_BACKGROUND (FN_EXTRA2 + 32)
527 #define FN_UNO_ROW_HEIGHT (FN_EXTRA2 + 33)
528 #define FN_UNO_ROW_AUTO_HEIGHT (FN_EXTRA2 + 34)
529 #define FN_UNO_HEADER (FN_EXTRA2 + 35)
530 #define FN_UNO_HEADER_LEFT (FN_EXTRA2 + 36)
531 #define FN_UNO_HEADER_RIGHT (FN_EXTRA2 + 37)
532 #define FN_UNO_FOOTER (FN_EXTRA2 + 38)
533 #define FN_UNO_FOOTER_LEFT (FN_EXTRA2 + 39)
534 #define FN_UNO_FOOTER_RIGHT (FN_EXTRA2 + 40)
535 #define FN_UNO_FOLLOW_STYLE (FN_EXTRA2 + 59)
537 #define FN_API_CALL (FN_EXTRA2 + 60)
539 #define FN_UNO_IS_PHYSICAL (FN_EXTRA2 + 61)
540 #define FN_UNO_IS_AUTO_UPDATE (FN_EXTRA2 + 62)
541 #define FN_UNO_DISPLAY_NAME (FN_EXTRA2 + 63)
543 #define FN_UNO_WRAP (FN_EXTRA2 + 64)
544 #define FN_UNO_ANCHOR_TYPES (FN_EXTRA2 + 65)
545 #define FN_UNO_PARA_CHAPTER_NUMBERING_LEVEL (FN_EXTRA2 + 66)
546 #define FN_UNO_PARA_CONDITIONAL_STYLE_NAME (FN_EXTRA2 + 67)
548 #define FN_UNO_CATEGORY (FN_EXTRA2 + 68)
549 #define FN_UNO_IS_NUMBER (FN_EXTRA2 + 69)
550 #define FN_UNO_TEXT_WRAP (FN_EXTRA2 + 70)
551 #define FN_UNO_ANCHOR_TYPE (FN_EXTRA2 + 71)
552 #define FN_SKIP_HIDDEN_TEXT (FN_EXTRA2 + 72)
553 #define FN_SKIP_PROTECTED_TEXT (FN_EXTRA2 + 73)
554 #define FN_UNO_Z_ORDER (FN_EXTRA2 + 74)
555 #define FN_UNO_REDLINE_NODE_START (FN_EXTRA2 + 75)
556 #define FN_UNO_REDLINE_NODE_END (FN_EXTRA2 + 76)
557 #define FN_UNO_TEXT_PORTION_TYPE (FN_EXTRA2 + 77)
558 #define FN_UNO_CONTROL_CHARACTER (FN_EXTRA2 + 78)
559 #define FN_UNO_BOOKMARK (FN_EXTRA2 + 79)
560 #define FN_UNO_IS_COLLAPSED (FN_EXTRA2 + 80)
561 #define FN_UNO_IS_START (FN_EXTRA2 + 81)
562 #define FN_UNO_IS_AUTOMATIC_CONTOUR (FN_EXTRA2 + 82)
563 #define FN_UNO_IS_PIXEL_CONTOUR (FN_EXTRA2 + 83)
564 #define FN_UNO_ALTERNATIVE_TEXT (FN_EXTRA2 + 84)
565 #define FN_UNO_ACTUAL_SIZE (FN_EXTRA2 + 85)
566 #define FN_UNO_GRAPHIC_U_R_L (FN_EXTRA2 + 86)
567 #define FN_UNO_GRAPHIC_FILTER (FN_EXTRA2 + 87)
568 #define FN_UNO_CELL_NAME (FN_EXTRA2 + 88)
569 #define FN_INSERT_GLOSSARY (FN_EXTRA2 + 89)
570 #define FN_NEW_GLOSSARY (FN_EXTRA2 + 90)
571 #define FN_SET_ACT_GLOSSARY (FN_EXTRA2 + 91)
573 #define FN_UNO_CHARFMT_SEQUENCE (FN_EXTRA2 + 94)
574 #define FN_UNO_CLSID (FN_EXTRA2 + 95)
575 #define FN_UNO_MODEL (FN_EXTRA2 + 96)
576 #define FN_UNO_COMPONENT (FN_EXTRA2 + 97)
577 #define FN_WORDCOUNT_DIALOG (FN_EXTRA2 + 98)
579 #define FN_XFORMS_DESIGN_MODE (FN_EXTRA2 + 99)
581 #define FN_UNO_PARA_STYLE_CONDITIONS (FN_EXTRA2 + 100)
582 #define FN_UNO_GRAPHIC (FN_EXTRA2 + 101)
584 #define FN_UNO_REPLACEMENT_GRAPHIC_URL (FN_EXTRA2 + 102)
585 #define FN_UNO_CELL_ROW_SPAN (FN_EXTRA2 + 103)
586 #define FN_UNO_TABLE_BORDER_DISTANCES (FN_EXTRA2 + 104)
587 #define FN_SPELL_GRAMMAR_DIALOG (FN_EXTRA2 + 105)
588 #define FN_UNO_STREAM_NAME (FN_EXTRA2 + 106)
589 #define FN_UNO_LIST_ID (FN_EXTRA2 + 107)
590 #define FN_UNO_REPLACEMENT_GRAPHIC (FN_EXTRA2 + 108)
592 #define FN_UNO_PARA_CONT_PREV_SUBTREE (FN_EXTRA2 + 109)
593 #define FN_UNO_PARA_NUM_STRING (FN_EXTRA2 + 110)
594 #define FN_UNO_TABLE_NAME (FN_EXTRA2 + 111)
595 #define FN_UNO_META (FN_EXTRA2 + 112)
596 #define FN_UNO_NESTED_TEXT_CONTENT (FN_EXTRA2 + 113)
598 /* Navigation buttons */
599 #define FN_NAVIGATION_BACK (FN_EXTRA2 + 115)
600 #define FN_NAVIGATION_FORWARD (FN_EXTRA2 + 116)
602 // #i972: bool items to be passed to SwFrmPage for evaluation
603 #define FN_OLE_IS_MATH (FN_EXTRA2 + 114)
604 #define FN_MATH_BASELINE_ALIGNMENT (FN_EXTRA2 + 115)
606 #define FN_EMBEDDED_OBJECT (FN_EXTRA2 + 116)
607 #define FN_UNO_HEADER_FIRST (FN_EXTRA2 + 118)
608 #define FN_UNO_FOOTER_FIRST (FN_EXTRA2 + 119)
609 #define FN_UNO_TABLE_BORDER2 (FN_EXTRA2 + 120)
611 #define FN_UNO_REPLACEMENT_GRAPHIC_U_R_L (FN_EXTRA2 + 121)
612 #define FN_UNO_HIDDEN (FN_EXTRA2 + 122)
613 #define FN_UNO_STYLE_INTEROP_GRAB_BAG (FN_EXTRA2 + 123)
616 // Region: Traveling & Selection
617 #define FN_CHAR_LEFT (FN_SELECTION + 1 ) /* */
618 #define FN_CHAR_RIGHT (FN_SELECTION + 2 ) /* */
619 #define FN_LINE_UP (FN_SELECTION + 3 ) /* */
620 #define FN_LINE_DOWN (FN_SELECTION + 4 ) /* */
621 #define FN_START_OF_LINE (FN_SELECTION + 5 ) /* StartOfLine */
622 #define FN_END_OF_LINE (FN_SELECTION + 6 ) /* EndOfLine */
623 #define FN_START_OF_DOCUMENT (FN_SELECTION + 7 ) /* StartOfDocument */
624 #define FN_START_OF_NEXT_PAGE (FN_SELECTION + 9 ) /* StartOfNextPage ??? */
625 #define FN_END_OF_NEXT_PAGE (FN_SELECTION + 10) /* ??? */
626 #define FN_START_OF_PREV_PAGE (FN_SELECTION + 11) /* StartOfPrevPage ??? */
627 #define FN_END_OF_PREV_PAGE (FN_SELECTION + 12) /* ??? */
628 #define FN_START_OF_PAGE (FN_SELECTION + 13) /* StartOfPage */
629 #define FN_END_OF_PAGE (FN_SELECTION + 14) /* EndOfPage */
630 #define FN_START_OF_COLUMN (FN_SELECTION + 17) /* StartOfColumn */
631 #define FN_END_OF_COLUMN (FN_SELECTION + 18) /* EndOfColumn */
632 #define FN_START_OF_PARA (FN_SELECTION + 19) /* StartOfPara */
633 #define FN_END_OF_PARA (FN_SELECTION + 20) /* EndOfPara */
634 #define FN_NEXT_WORD (FN_SELECTION + 21) /* NextWord */
635 #define FN_PREV_WORD (FN_SELECTION + 22) /* PrevWord */
636 #define FN_NEXT_SENT (FN_SELECTION + 23) /* NextSentence */
637 #define FN_PREV_SENT (FN_SELECTION + 24) /* PrevSentence */
638 #define FN_DELETE (FN_SELECTION + 25) /* Delete */
639 #define FN_BACKSPACE (FN_SELECTION + 26) /* Backspace */
640 #define FN_DELETE_SENT (FN_SELECTION + 27) /* DeleteToEndOfSentence */
641 #define FN_DELETE_BACK_SENT (FN_SELECTION + 28) /* DeleteToStartOfSentence */
642 #define FN_DELETE_WORD (FN_SELECTION + 29) /* DeleteToEndOfWord */
643 #define FN_DELETE_BACK_WORD (FN_SELECTION + 30) /* DeleteToStartOfWord */
644 #define FN_DELETE_LINE (FN_SELECTION + 31) /* DeleteToEndOfLine */
645 #define FN_DELETE_BACK_LINE (FN_SELECTION + 32) /* DeleteToStartOfLine */
646 #define FN_DELETE_PARA (FN_SELECTION + 33) /* DeleteToEndOfPara */
647 #define FN_DELETE_BACK_PARA (FN_SELECTION + 34) /* DeleteToStartOfPara */
648 #define FN_DELETE_WHOLE_LINE (FN_SELECTION + 35) /* DeleteLine ??? */
649 #define FN_PAGEUP (FN_SELECTION + 37) /* PageUpWithCursor */
650 #define FN_PAGEDOWN (FN_SELECTION + 38) /* PageDownWithCursor */
651 #define FN_SET_ADD_MODE (FN_SELECTION + 39) /* Selectionmode */
652 #define FN_SET_EXT_MODE (FN_SELECTION + 40) /* Selectionmode */
653 #define FN_ESCAPE (FN_SELECTION + 41) /* Normal */
654 #define FN_SHIFT_BACKSPACE (FN_SELECTION + 42) /* like Backspace */
655 #define FN_SELECT_WORD (FN_SELECTION + 43) /* select word*/
657 #define FN_GOTO_NEXT_OBJ (FN_SELECTION + 44) /* Goto next object */
658 #define FN_GOTO_PREV_OBJ (FN_SELECTION + 45) /* Go to previous object */
660 #define FN_START_TABLE (FN_SELECTION + 47) /* to the beginning of the table */
661 #define FN_END_TABLE (FN_SELECTION + 48) /* to the end of the table */
662 #define FN_NEXT_TABLE (FN_SELECTION + 49) /* to the next table */
663 #define FN_PREV_TABLE (FN_SELECTION + 50) /* to the previous table */
665 #define FN_START_OF_NEXT_COLUMN (FN_SELECTION + 51) /* to the start of the next column */
666 #define FN_END_OF_NEXT_COLUMN (FN_SELECTION + 52) /* to the end of the next column */
667 #define FN_START_OF_PREV_COLUMN (FN_SELECTION + 53) /* to the start of the previous column */
668 #define FN_END_OF_PREV_COLUMN (FN_SELECTION + 54) /* to the end of the previous column */
670 #define FN_FOOTNOTE_TO_ANCHOR (FN_SELECTION + 55) /* from the footnote to the anchor */
671 #define FN_NEXT_FOOTNOTE (FN_SELECTION + 56) /* to the next footnote */
672 #define FN_PREV_FOOTNOTE (FN_SELECTION + 57) /* to the previous footnote */
674 #define FN_CNTNT_TO_NEXT_FRAME (FN_SELECTION + 58) /* from content to the next frame */
675 #define FN_FRAME_TO_ANCHOR (FN_SELECTION + 59) /* from frame to the anchor */
677 #define FN_TO_HEADER (FN_SELECTION + 60) /* toggle between content and header */
678 #define FN_TO_FOOTER (FN_SELECTION + 61) /* toggle between content and footer */
680 #define FN_IDX_MARK_TO_IDX (FN_SELECTION + 62) /* from the index mark to the index */
682 #define FN_TO_FOOTNOTE_AREA (FN_SELECTION + 63) /* jump into the appropriate footnote area */
684 #define FN_SET_BLOCK_MODE (FN_SELECTION + 64) /* selection mode: block */
686 #define FN_PREV_PARA (FN_SELECTION + 74)
687 #define FN_NEXT_PARA (FN_SELECTION + 75)
689 #define FN_GOTO_NEXT_MARK (FN_SELECTION + 76) /* Go to next marker */
690 #define FN_GOTO_PREV_MARK (FN_SELECTION + 77) /* Go to previous marker */
692 #define FN_NEXT_TOXMARK (FN_SELECTION + 83) /* to the next index mark */
693 #define FN_PREV_TOXMARK (FN_SELECTION + 84) /* to the previous index mark */
694 #define FN_NEXT_TBLFML (FN_SELECTION + 85) /* to the next table formula */
695 #define FN_PREV_TBLFML (FN_SELECTION + 86) /* to the previous table formula */
696 #define FN_NEXT_TBLFML_ERR (FN_SELECTION + 87) /* to the next broken table formula */
697 #define FN_PREV_TBLFML_ERR (FN_SELECTION + 88) /* to the previous broken table formula */
699 #define FN_READONLY_SELECTION_MODE (FN_SELECTION + 89) /* switches text selection mode in readonly documents*/
700 #define FN_SELECTION_MODE_DEFAULT (FN_SELECTION + 90) /* use default selection mode - not block mode */
701 #define FN_SELECTION_MODE_BLOCK (FN_SELECTION + 91) /* switch on block selection */
704 #define FN_TXTATR_INET (FN_QUERY +29) /* INet-Attribut */
706 #define FN_GET_PRINT_AREA (FN_QUERY +32) /* Get attribute for printable area of page */
707 #define FN_DB_CONNECTION_ANY (FN_QUERY2 + 3)
708 #define FN_DB_COLUMN_ANY (FN_QUERY2 + 4)
709 #define FN_DB_DATA_SOURCE_ANY (FN_QUERY2 + 5)
710 #define FN_DB_DATA_COMMAND_ANY (FN_QUERY2 + 6)
711 #define FN_DB_DATA_COMMAND_TYPE_ANY (FN_QUERY2 + 7)
712 #define FN_DB_DATA_COLUMN_NAME_ANY (FN_QUERY2 + 8)
713 #define FN_DB_DATA_SELECTION_ANY (FN_QUERY2 + 9)
714 #define FN_DB_DATA_CURSOR_ANY (FN_QUERY2 + 10)
717 #define FN_ENVELOP (FN_ENVELP )
719 #define FN_DELETE_NOTE_AUTHOR (FN_NOTES+1)
720 #define FN_DELETE_ALL_NOTES (FN_NOTES+2)
721 #define FN_HIDE_NOTE (FN_NOTES+3)
722 #define FN_HIDE_NOTE_AUTHOR (FN_NOTES+4)
723 #define FN_HIDE_ALL_NOTES (FN_NOTES+5)
725 #define FN_DELETE_COMMENT (FN_NOTES+6)
726 #define FN_REPLY (FN_NOTES+7)
727 #define FN_FORMAT_ALL_NOTES (FN_NOTES+8)
729 #define FN_HEADERFOOTER_EDIT (FN_HEADERFOOTER+1)
730 #define FN_HEADERFOOTER_DELETE (FN_HEADERFOOTER+2)
731 #define FN_HEADERFOOTER_BORDERBACK (FN_HEADERFOOTER+3)
733 #define FN_PAGEBREAK_EDIT (FN_PAGEBREAK+1)
734 #define FN_PAGEBREAK_DELETE (FN_PAGEBREAK+2)
737 #define FN_PARAM_MOVE_COUNT (FN_PARAM+2)
738 #define FN_PARAM_MOVE_SELECTION (FN_PARAM+3)
740 #define FN_PARAM_ADDPRINTER (FN_PARAM+18)
741 #define FN_PARAM_DOCDISP (FN_PARAM+20)
742 #define FN_PARAM_ELEM (FN_PARAM+21)
743 #define FN_PARAM_SWTEST (FN_PARAM+22)
745 #define FN_PARAM_FTN_INFO (FN_PARAM+23)
747 #define FN_PARAM_REGION_NAME (FN_PARAM+24)
748 #define FN_PARAM_REGION_CONDITION (FN_PARAM+25)
749 #define FN_PARAM_REGION_HIDDEN (FN_PARAM+26)
750 #define FN_PARAM_REGION_PROTECT (FN_PARAM+27)
751 #define FN_PARAM_REGION_EDIT_IN_READONLY (FN_PARAM+28)
753 #define FN_PARAM_INSERT_AFTER (FN_PARAM+29)
755 #define FN_PARAM_TABLE_NAME (FN_PARAM+44)
756 #define FN_PARAM_TABLE_HEADLINE (FN_PARAM+50)
757 #define FN_PARAM_TABLE_SPACE (FN_PARAM+51)
759 #define FN_PARAM_GRF_CONNECT (FN_PARAM+53)
760 #define FN_PARAM_FIELD_TYPE (FN_PARAM+54)
761 #define FN_PARAM_FIELD_SUBTYPE (FN_PARAM+56)
762 #define FN_PARAM_FIELD_FORMAT (FN_PARAM+57)
764 #define FN_PARAM_GRF_REALSIZE (FN_PARAM+70)
765 #define FN_PARAM_GRF_DIALOG (FN_PARAM+71)
766 #define FN_INET_FIELD_MACRO (FN_PARAM+77) /* Id for URL-Field-Macros*/
768 #define FN_PARAM_PRINTER (FN_PARAM+78) /* Printer */
769 #define FN_PARAM_STDFONTS (FN_PARAM+79) /* ConfigItem Standardfonts */
771 #define FN_PARAM_WRTSHELL (FN_PARAM2) /* SwWrtShell */
773 #define FN_COND_COLL (FN_PARAM2+1) /* Item for conditional templates */
774 #define FN_PARAM_SELECTION (FN_PARAM2+2) /* selected word for format/character/hyperlink */
776 #define FN_PARAM_ACT_NUMBER (FN_PARAM2+3) /* PointerItem the current NumRule */
778 #define FN_PARAM_NUM_PRESET (FN_PARAM2+5) /* predefined numbering */
780 #define FN_PARAM_SHADOWCURSOR (FN_PARAM2+8) /* for ShadowCursor options */
782 #define FN_TEXT_RANGE (FN_PARAM2+12) /* TextRange Property*/
784 #define FN_PARAM_CRSR_IN_PROTECTED (FN_PARAM2+13) /* Cursor in protected areas */
785 #define FN_PARAM_TOX_TYPE (FN_PARAM2+14) /* TOX type in tox dialog*/
786 #define FN_PARAM_LINK_DISPLAY_NAME (FN_PARAM2+15) /* LinkDisplayName property*/
787 #define FN_PARAM_NUM_LEVEL (FN_PARAM2+16) /* rtf filter*/
788 #define FN_PARAM_COUNTOUR_PP (FN_PARAM2+17) /* contour PolyPolygon*/
790 #define FN_ANCHOR_POSITION (FN_PARAM2+18) /* AnchorPosition property */
791 #define FN_DROP_TEXT (FN_PARAM2+18) /* text set in drop caps tab page - for recording */
792 #define FN_DROP_CHAR_STYLE_NAME (FN_PARAM2+19) /* character style of drop caps - for recording */
793 #define FN_PARAM_CHAIN_PREVIOUS (FN_PARAM2+20) /* Name of frame to be added as chain successor */
794 #define FN_PARAM_CHAIN_NEXT (FN_PARAM2+21) /* Name of frame to be added as chain predecessor */
795 #define FN_PARAM_DATABASE_PROPERTIES (FN_PARAM2+22) /* transport a Sequence<PropertyValue> containing database properties*/
796 #define FN_SHAPE_TRANSFORMATION_IN_HORI_L2R (FN_PARAM2+23)
797 #define FN_SHAPE_POSITION_LAYOUT_DIR (FN_PARAM2+24)
798 #define FN_SHAPE_STARTPOSITION_IN_HORI_L2R (FN_PARAM2+25)
799 #define FN_SHAPE_ENDPOSITION_IN_HORI_L2R (FN_PARAM2+26)
800 #define FN_PARAM_PAM (FN_PARAM2+27) /* Point and Mark */
801 #define FN_TEXT_BOX (FN_PARAM2+28) /* TextBox Property*/
802 #define FN_PARAM_IGNORE_PROTECTED (FN_PARAM2+29) /* Ignore protected areas */
804 // Status: not more than 19!
805 #define FN_STAT_PAGE (FN_STAT + 1)
806 #define FN_STAT_TEMPLATE (FN_STAT + 2)
807 #define FN_STAT_ZOOM (FN_STAT + 3)
808 #define FN_STAT_SELMODE (FN_STAT + 5)
809 #define FN_STAT_BOOKMARK (FN_STAT + 8) /* For Popup Bookmarks*/
810 #define FN_STAT_WORDCOUNT (FN_STAT + 9)
812 // Region: Page preview
813 #define FN_SHOW_TWO_PAGES (FN_PGPREVIEW + 1)
814 #ifndef FN_SHOW_MULTIPLE_PAGES
815 #define FN_SHOW_MULTIPLE_PAGES (FN_PGPREVIEW + 2)
817 #define FN_PRINT_PAGEPREVIEW (FN_PGPREVIEW + 3)
818 #define FN_CLOSE_PAGEPREVIEW (FN_PGPREVIEW + 4)
819 #define FN_SHOW_BOOKVIEW (FN_PGPREVIEW + 5)
820 #define FN_SHOW_SINGLE_PAGE (FN_PGPREVIEW + 6)
822 // Region: Setting Attributes
823 #define FN_OPAQUE (FN_FRAME + 1)
824 #define FN_SET_PROTECT (FN_FRAME + 2)
825 #define FN_SURROUND (FN_FRAME + 3)
826 #define FN_VERT_ORIENT (FN_FRAME + 4)
827 #define FN_HORI_ORIENT (FN_FRAME + 5)
828 #define FN_SET_FRM_NAME (FN_FRAME + 6)
829 #define FN_KEEP_ASPECT_RATIO (FN_FRAME + 7)
831 #define FN_SET_FRM_ALT_NAME (FN_FRAME + 18)
832 #define FN_UNO_TITLE (FN_FRAME + 19)
833 #define FN_UNO_DESCRIPTION (FN_FRAME + 20)
835 #define SID_ATTR_PAGE_COLUMN (FN_SIDEBAR + 0)
836 #define SID_ATTR_PAGE_ULSPACE (FN_SIDEBAR + 1)
837 #define SID_ATTR_PAGE_LRSPACE (FN_SIDEBAR + 2)
839 //Member IDs for Fill / SetVariable of items
840 #define MID_STYLE 0xe0
841 #define MID_PWIDTH 0xe1
842 #define MID_ADJUST 0xe2
843 #define MID_TDIST 0xe3
844 #define MID_BDIST 0xe4
845 #define MID_LINES 0xe5
846 #define MID_CHARS 0xe6
847 #define MID_DIST 0xe7
869 #endif // INCLUDED_SW_INC_CMDID_H
871 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */