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 .
22 #include <svl/solar.hrc>
24 class SdOptionsPrintItem;
31 #define ATTR_LAYER_START SID_SD_START + 1234
32 #define ATTR_LAYER_NAME TypedWhichId<SfxStringItem>(ATTR_LAYER_START)
33 #define ATTR_LAYER_VISIBLE ATTR_LAYER_START + 1
34 #define ATTR_LAYER_PRINTABLE ATTR_LAYER_START + 2
35 #define ATTR_LAYER_LOCKED ATTR_LAYER_START + 3
36 #define ATTR_LAYER_THISPAGE ATTR_LAYER_START + 4
37 #define ATTR_LAYER_TITLE TypedWhichId<SfxStringItem>(ATTR_LAYER_START + 5)
38 #define ATTR_LAYER_DESC TypedWhichId<SfxStringItem>(ATTR_LAYER_START + 6)
39 #define ATTR_LAYER_END ATTR_LAYER_DESC
41 // presentation attributes
42 #define ATTR_PRESENT_START ATTR_LAYER_END + 1
43 #define ATTR_PRESENT_ALL ATTR_PRESENT_START
44 #define ATTR_PRESENT_CUSTOMSHOW ATTR_PRESENT_START + 1
45 #define ATTR_PRESENT_DIANAME TypedWhichId<SfxStringItem>(ATTR_PRESENT_START + 2)
46 #define ATTR_PRESENT_ENDLESS ATTR_PRESENT_START + 3
47 #define ATTR_PRESENT_MANUEL ATTR_PRESENT_START + 4
48 #define ATTR_PRESENT_MOUSE ATTR_PRESENT_START + 5
49 #define ATTR_PRESENT_PEN ATTR_PRESENT_START + 6
50 #define ATTR_PRESENT_NAVIGATOR ATTR_PRESENT_START + 7
51 #define ATTR_PRESENT_CHANGE_PAGE ATTR_PRESENT_START + 8
52 #define ATTR_PRESENT_ALWAYS_ON_TOP ATTR_PRESENT_START + 9
53 #define ATTR_PRESENT_FULLSCREEN ATTR_PRESENT_START + 10
54 #define ATTR_PRESENT_ANIMATION_ALLOWED ATTR_PRESENT_START + 12
55 #define ATTR_PRESENT_PAUSE_TIMEOUT TypedWhichId<SfxUInt32Item>(ATTR_PRESENT_START + 13)
56 #define ATTR_PRESENT_SHOW_PAUSELOGO ATTR_PRESENT_START + 14
57 #define ATTR_PRESENT_DISPLAY TypedWhichId<SfxInt32Item>(ATTR_PRESENT_START + 15)
58 #define ATTR_PRESENT_SHOW_NAVIGATION_BUTTONS ATTR_PRESENT_START + 16
60 #define ATTR_PRESENT_END ATTR_PRESENT_SHOW_NAVIGATION_BUTTONS
62 // animation attributes
63 #define ATTR_ANIMATION_START ATTR_PRESENT_END + 1
64 #define ATTR_ANIMATION_ACTIVE ATTR_ANIMATION_START
65 #define ATTR_ANIMATION_EFFECT TypedWhichId<SfxUInt16Item>(ATTR_ANIMATION_START + 1)
66 #define ATTR_ANIMATION_SPEED TypedWhichId<SfxUInt16Item>(ATTR_ANIMATION_START + 2)
67 #define ATTR_ANIMATION_INVISIBLE ATTR_ANIMATION_START + 3
68 #define ATTR_ANIMATION_FADEOUT ATTR_ANIMATION_START + 4
69 #define ATTR_ANIMATION_COLOR ATTR_ANIMATION_START + 5
70 #define ATTR_ANIMATION_SOUNDON ATTR_ANIMATION_START + 6
71 #define ATTR_ANIMATION_SOUNDFILE TypedWhichId<SfxStringItem>(ATTR_ANIMATION_START + 7)
72 #define ATTR_ANIMATION_PLAYFULL ATTR_ANIMATION_START + 8
73 #define ATTR_ANIMATION_TEXTEFFECT ATTR_ANIMATION_START + 10
74 #define ATTR_ANIMATION_END ATTR_ANIMATION_TEXTEFFECT
76 #define ATTR_ACTION_START ATTR_ANIMATION_END + 1
77 #define ATTR_ACTION TypedWhichId<SfxUInt16Item>(ATTR_ACTION_START)
78 #define ATTR_ACTION_EFFECT TypedWhichId<SfxUInt16Item>(ATTR_ACTION_START + 1)
79 #define ATTR_ACTION_EFFECTSPEED TypedWhichId<SfxUInt16Item>(ATTR_ACTION_START + 2)
80 #define ATTR_ACTION_FILENAME TypedWhichId<SfxStringItem>(ATTR_ACTION_START + 3)
81 #define ATTR_ACTION_SOUNDON ATTR_ACTION_START + 4
82 #define ATTR_ACTION_PLAYFULL ATTR_ACTION_START + 5
83 #define ATTR_ACTION_END ATTR_ACTION_PLAYFULL
85 #define ATTR_COPY_START ATTR_ACTION_END + 1
86 #define ATTR_COPY_NUMBER TypedWhichId<SfxUInt16Item>(ATTR_COPY_START)
87 #define ATTR_COPY_MOVE_X TypedWhichId<SfxInt32Item>(ATTR_COPY_START + 1)
88 #define ATTR_COPY_MOVE_Y TypedWhichId<SfxInt32Item>(ATTR_COPY_START + 2)
89 #define ATTR_COPY_ANGLE TypedWhichId<SdrAngleItem>(ATTR_COPY_START + 3)
90 #define ATTR_COPY_WIDTH TypedWhichId<SfxInt32Item>(ATTR_COPY_START + 4)
91 #define ATTR_COPY_HEIGHT TypedWhichId<SfxInt32Item>(ATTR_COPY_START + 5)
92 #define ATTR_COPY_START_COLOR TypedWhichId<XColorItem>(ATTR_COPY_START + 6)
93 #define ATTR_COPY_END_COLOR TypedWhichId<XColorItem>(ATTR_COPY_START + 7)
94 #define ATTR_COPY_END ATTR_COPY_END_COLOR
96 #define ATTR_SNAPLINE_START ATTR_COPY_END + 1
97 #define ATTR_SNAPLINE_KIND TypedWhichId<SfxUInt16Item>(ATTR_SNAPLINE_START)
98 #define ATTR_SNAPLINE_X TypedWhichId<SfxInt32Item>(ATTR_SNAPLINE_START + 1)
99 #define ATTR_SNAPLINE_Y TypedWhichId<SfxInt32Item>(ATTR_SNAPLINE_START + 2)
100 #define ATTR_SNAPLINE_END ATTR_SNAPLINE_Y
102 #define ATTR_OPTIONS_START ATTR_SNAPLINE_END + 1
103 #define ATTR_OPTIONS_LAYOUT TypedWhichId<SdOptionsLayoutItem>(ATTR_OPTIONS_START + 1)
104 #define ATTR_OPTIONS_MISC TypedWhichId<SdOptionsMiscItem>(ATTR_OPTIONS_START + 2)
105 #define ATTR_OPTIONS_SNAP TypedWhichId<SdOptionsSnapItem>(ATTR_OPTIONS_START + 3)
106 #define ATTR_OPTIONS_PRINT TypedWhichId<SdOptionsPrintItem>(ATTR_OPTIONS_START + 4)
107 #define ATTR_OPTIONS_END ATTR_OPTIONS_PRINT
109 #define ATTR_OPTIONS_SCALE_START ATTR_OPTIONS_END + 1
110 #define ATTR_OPTIONS_SCALE_X TypedWhichId<SfxInt32Item>(ATTR_OPTIONS_SCALE_START)
111 #define ATTR_OPTIONS_SCALE_Y TypedWhichId<SfxInt32Item>(ATTR_OPTIONS_SCALE_START + 1)
112 #define ATTR_OPTIONS_SCALE_WIDTH TypedWhichId<SfxUInt32Item>(ATTR_OPTIONS_SCALE_START + 2)
113 #define ATTR_OPTIONS_SCALE_HEIGHT TypedWhichId<SfxUInt32Item>(ATTR_OPTIONS_SCALE_START + 3)
114 #define ATTR_OPTIONS_SCALE_END ATTR_OPTIONS_SCALE_HEIGHT
116 #define ATTR_PRESLAYOUT_START ATTR_OPTIONS_SCALE_END + 1
117 #define ATTR_PRESLAYOUT_NAME TypedWhichId<SfxStringItem>(ATTR_PRESLAYOUT_START)
118 #define ATTR_PRESLAYOUT_LOAD ATTR_PRESLAYOUT_START + 1
119 #define ATTR_PRESLAYOUT_MASTER_PAGE TypedWhichId<SfxBoolItem>(ATTR_PRESLAYOUT_START + 2)
120 #define ATTR_PRESLAYOUT_CHECK_MASTERS ATTR_PRESLAYOUT_START + 3
121 #define ATTR_PRESLAYOUT_END ATTR_PRESLAYOUT_CHECK_MASTERS
123 // paragraph numbering attributes
124 #define ATTR_PARANUMBERING_START ATTR_PRESLAYOUT_END + 1
125 #define ATTR_NUMBER_NEWSTART TypedWhichId<SfxBoolItem>(ATTR_PARANUMBERING_START)
126 #define ATTR_NUMBER_NEWSTART_AT TypedWhichId<SfxInt16Item>(ATTR_PARANUMBERING_START + 1)
127 #define ATTR_PARANUMBERING_END ATTR_NUMBER_NEWSTART_AT
129 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */