xref: /trunk/main/sd/inc/sdattr.hrc (revision e3349227)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#ifndef _SDATTR_HRC
25#define _SDATTR_HRC
26
27#ifndef _SFX_HRC
28#include <sfx2/sfx.hrc>
29#endif
30
31// Anfang Page-Attribute
32#define ATTR_PAGE_START 		SID_SD_START + 1234
33#define ATTR_PAGE_NAME			ATTR_PAGE_START
34#define ATTR_PAGE_BACKGROUND	ATTR_PAGE_START + 1
35#define ATTR_PAGE_OBJECTS		ATTR_PAGE_START + 2
36#define ATTR_PAGE_LAYOUT		ATTR_PAGE_START + 3
37#define ATTR_PAGE_END			ATTR_PAGE_LAYOUT
38
39// Layer-Attribute
40#define ATTR_LAYER_START		ATTR_PAGE_END + 1
41#define ATTR_LAYER_NAME 		ATTR_LAYER_START
42#define ATTR_LAYER_VISIBLE		ATTR_LAYER_START + 1
43#define ATTR_LAYER_PRINTABLE	ATTR_LAYER_START + 2
44#define ATTR_LAYER_LOCKED		ATTR_LAYER_START + 3
45#define ATTR_LAYER_THISPAGE 	ATTR_LAYER_START + 4
46#define ATTR_LAYER_TITLE		ATTR_LAYER_START + 5
47#define ATTR_LAYER_DESC			ATTR_LAYER_START + 6
48#define ATTR_LAYER_END			ATTR_LAYER_DESC
49
50// Anfang Dia-Attribute
51#define ATTR_DIA_START			ATTR_LAYER_END + 1
52#define ATTR_DIA_EFFECT 		ATTR_DIA_START
53#define ATTR_DIA_SPEED			ATTR_DIA_START + 1
54#define ATTR_DIA_AUTO			ATTR_DIA_START + 2
55#define ATTR_DIA_TIME			ATTR_DIA_START + 3
56#define ATTR_DIA_SOUND			ATTR_DIA_START + 4
57#define ATTR_DIA_SOUNDFILE		ATTR_DIA_START + 5
58#define ATTR_DIA_END			ATTR_DIA_SOUNDFILE
59
60// Praesentations-Attribute
61#define ATTR_PRESENT_START              ATTR_DIA_END + 1
62#define ATTR_PRESENT_ALL                ATTR_PRESENT_START
63#define ATTR_PRESENT_CUSTOMSHOW         ATTR_PRESENT_START + 1
64#define ATTR_PRESENT_DIANAME            ATTR_PRESENT_START + 2
65#define ATTR_PRESENT_ENDLESS            ATTR_PRESENT_START + 3
66#define ATTR_PRESENT_MANUEL             ATTR_PRESENT_START + 4
67#define ATTR_PRESENT_MOUSE              ATTR_PRESENT_START + 5
68#define ATTR_PRESENT_PEN                ATTR_PRESENT_START + 6
69#define ATTR_PRESENT_NAVIGATOR          ATTR_PRESENT_START + 7
70#define ATTR_PRESENT_CHANGE_PAGE        ATTR_PRESENT_START + 8
71#define ATTR_PRESENT_ALWAYS_ON_TOP      ATTR_PRESENT_START + 9
72#define ATTR_PRESENT_FULLSCREEN         ATTR_PRESENT_START + 10
73#define ATTR_PRESENT_START_ACTUAL_PAGE  ATTR_PRESENT_START + 11
74#define ATTR_PRESENT_ANIMATION_ALLOWED  ATTR_PRESENT_START + 12
75#define ATTR_PRESENT_PAUSE_TIMEOUT		ATTR_PRESENT_START + 13
76#define ATTR_PRESENT_SHOW_PAUSELOGO		ATTR_PRESENT_START + 14
77#define ATTR_PRESENT_DISPLAY			ATTR_PRESENT_START + 15
78#define ATTR_PRESENT_END                ATTR_PRESENT_DISPLAY
79
80// Transformations-Attribute
81#define ATTR_TRANSF_START		ATTR_PRESENT_END + 1
82#define ATTR_TRANSF_POS_X		ATTR_TRANSF_START
83#define ATTR_TRANSF_POS_Y		ATTR_TRANSF_START + 1
84#define ATTR_TRANSF_WIDTH		ATTR_TRANSF_START + 2
85#define ATTR_TRANSF_HEIGHT		ATTR_TRANSF_START + 3
86#define ATTR_TRANSF_SIZE_POINT	ATTR_TRANSF_START + 4
87#define ATTR_TRANSF_ROT_X		ATTR_TRANSF_START + 5
88#define ATTR_TRANSF_ROT_Y		ATTR_TRANSF_START + 6
89#define ATTR_TRANSF_ANGLE		ATTR_TRANSF_START + 7
90#define ATTR_TRANSF_END 		ATTR_TRANSF_ANGLE
91
92// Raster-Attribute
93#define ATTR_GRID_START 		ATTR_TRANSF_END + 1
94#define ATTR_GRID_USE			ATTR_GRID_START
95#define ATTR_GRID_DRAW_X		ATTR_GRID_START + 1
96#define ATTR_GRID_DRAW_Y		ATTR_GRID_START + 2
97#define ATTR_GRID_DIVISION_X	ATTR_GRID_START + 3
98#define ATTR_GRID_DIVISION_Y	ATTR_GRID_START + 4
99#define ATTR_GRID_SNAP_X		ATTR_GRID_START + 5
100#define ATTR_GRID_SNAP_Y		ATTR_GRID_START + 6
101#define ATTR_GRID_ORIGIN_X		ATTR_GRID_START + 7
102#define ATTR_GRID_ORIGIN_Y		ATTR_GRID_START + 8
103#define ATTR_GRID_END			ATTR_GRID_ORIGIN_Y
104
105// Bildschirm-Attribute
106#define ATTR_DISPLAY_START				ATTR_GRID_END + 1
107#define ATTR_DISPLAY_FUNCTIONBAR		ATTR_DISPLAY_START
108#define ATTR_DISPLAY_OBJECTBAR			ATTR_DISPLAY_START + 1
109#define ATTR_DISPLAY_STATUSBAR			ATTR_DISPLAY_START + 2
110#define ATTR_DISPLAY_TOOLBAR			ATTR_DISPLAY_START + 3
111#define ATTR_DISPLAY_GRID				ATTR_DISPLAY_START + 4
112#define ATTR_DISPLAY_RULER				ATTR_DISPLAY_START + 5
113#define ATTR_DISPLAY_HELPLINES			ATTR_DISPLAY_START + 6
114#define ATTR_DISPLAY_STRANGE_GRAPHIC	ATTR_DISPLAY_START + 7
115#define ATTR_DISPLAY_ADJUSTLINES		ATTR_DISPLAY_START + 8
116#define ATTR_DISPLAY_END				ATTR_DISPLAY_ADJUSTLINES
117
118#define ATTR_TBX_DUMMY					ATTR_DISPLAY_END + 1
119
120// Animations-Attribute
121#define ATTR_ANIMATION_START			ATTR_TBX_DUMMY + 1
122#define ATTR_ANIMATION_ACTIVE			ATTR_ANIMATION_START
123#define ATTR_ANIMATION_EFFECT			ATTR_ANIMATION_START + 1
124#define ATTR_ANIMATION_SPEED			ATTR_ANIMATION_START + 2
125#define ATTR_ANIMATION_INVISIBLE		ATTR_ANIMATION_START + 3
126#define ATTR_ANIMATION_FADEOUT			ATTR_ANIMATION_START + 4
127#define ATTR_ANIMATION_COLOR			ATTR_ANIMATION_START + 5
128#define ATTR_ANIMATION_SOUNDON			ATTR_ANIMATION_START + 6
129#define ATTR_ANIMATION_SOUNDFILE		ATTR_ANIMATION_START + 7
130#define ATTR_ANIMATION_PLAYFULL 		ATTR_ANIMATION_START + 8
131#define ATTR_ANIMATION_TRANSPCOLOR		ATTR_ANIMATION_START + 9
132#define ATTR_ANIMATION_TEXTEFFECT       ATTR_ANIMATION_START + 10
133#define ATTR_ANIMATION_END              ATTR_ANIMATION_TEXTEFFECT
134
135#define ATTR_ACTION_START				ATTR_ANIMATION_END + 1
136#define ATTR_ACTION 					ATTR_ACTION_START
137#define ATTR_ACTION_EFFECT				ATTR_ACTION_START + 1
138#define ATTR_ACTION_EFFECTSPEED 		ATTR_ACTION_START + 2
139#define ATTR_ACTION_FILENAME			ATTR_ACTION_START + 3
140#define ATTR_ACTION_SOUNDON 			ATTR_ACTION_START + 4
141#define ATTR_ACTION_PLAYFULL			ATTR_ACTION_START + 5
142#define ATTR_ACTION_END 				ATTR_ACTION_PLAYFULL
143
144#define ATTR_PRINTOPTIONS_START 		ATTR_ACTION_END + 1
145#define ATTR_PRINTOPTIONS_PRINT 		ATTR_PRINTOPTIONS_START
146#define ATTR_PRINTOPTIONS_PAGESIZE		ATTR_PRINTOPTIONS_START + 1
147#define ATTR_PRINTOPTIONS_FADEOUT		ATTR_PRINTOPTIONS_START + 2
148#define ATTR_PRINTOPTIONS_DATE			ATTR_PRINTOPTIONS_START + 3
149#define ATTR_PRINTOPTIONS_TIME			ATTR_PRINTOPTIONS_START + 4
150#define ATTR_PRINTOPTIONS_PAGENAME		ATTR_PRINTOPTIONS_START + 5
151#define ATTR_PRINTOPTIONS_END			ATTR_PRINTOPTIONS_PAGENAME
152
153#define ATTR_COPY_START 				ATTR_PRINTOPTIONS_END + 1
154#define ATTR_COPY_NUMBER				ATTR_COPY_START
155#define ATTR_COPY_MOVE_X				ATTR_COPY_START + 1
156#define ATTR_COPY_MOVE_Y				ATTR_COPY_START + 2
157#define ATTR_COPY_ANGLE 				ATTR_COPY_START + 3
158#define ATTR_COPY_WIDTH 				ATTR_COPY_START + 4
159#define ATTR_COPY_HEIGHT				ATTR_COPY_START + 5
160#define ATTR_COPY_START_COLOR			ATTR_COPY_START + 6
161#define ATTR_COPY_END_COLOR 			ATTR_COPY_START + 7
162#define ATTR_COPY_END					ATTR_COPY_END_COLOR
163
164#define ATTR_SNAPLINE_START 			ATTR_COPY_END + 1
165#define ATTR_SNAPLINE_KIND				ATTR_SNAPLINE_START
166#define ATTR_SNAPLINE_X 				ATTR_SNAPLINE_START + 1
167#define ATTR_SNAPLINE_Y 				ATTR_SNAPLINE_START + 2
168#define ATTR_SNAPLINE_END				ATTR_SNAPLINE_Y
169
170#define ATTR_OPTIONS_START				ATTR_SNAPLINE_END + 1
171#define ATTR_OPTIONS					ATTR_OPTIONS_START
172#define ATTR_OPTIONS_LAYOUT 			ATTR_OPTIONS_START + 1
173#define ATTR_OPTIONS_CONTENTS   		ATTR_OPTIONS_START + 2
174#define ATTR_OPTIONS_MISC				ATTR_OPTIONS_START + 3
175#define ATTR_OPTIONS_SNAP				ATTR_OPTIONS_START + 4
176#define ATTR_OPTIONS_PRINT				ATTR_OPTIONS_START + 5
177#define ATTR_OPTIONS_END				ATTR_OPTIONS_PRINT
178
179#define ATTR_OPTIONS_SCALE_START		ATTR_OPTIONS_END + 1
180#define ATTR_OPTIONS_SCALE_X			ATTR_OPTIONS_SCALE_START
181#define ATTR_OPTIONS_SCALE_Y			ATTR_OPTIONS_SCALE_START + 1
182#define ATTR_OPTIONS_SCALE_WIDTH		ATTR_OPTIONS_SCALE_START + 2
183#define ATTR_OPTIONS_SCALE_HEIGHT		ATTR_OPTIONS_SCALE_START + 3
184#define ATTR_OPTIONS_SCALE_END			ATTR_OPTIONS_SCALE_HEIGHT
185
186#define ATTR_PUBLISH_START				ATTR_OPTIONS_SCALE_END + 1
187#define ATTR_PUBLISH_LOCATION			ATTR_PUBLISH_START
188#define ATTR_PUBLISH_WITHCONTENTSPAGE	ATTR_PUBLISH_START + 1
189#define ATTR_PUBLISH_RESOLUTION 		ATTR_PUBLISH_START + 2
190#define ATTR_PUBLISH_MODE				ATTR_PUBLISH_START + 3
191#define ATTR_PUBLISH_FORMAT				ATTR_PUBLISH_START + 4
192#define ATTR_PUBLISH_COMPRESSION		ATTR_PUBLISH_START + 5
193#define ATTR_PUBLISH_WITHNOTES			ATTR_PUBLISH_START + 6
194#define ATTR_PUBLISH_AUTHOR				ATTR_PUBLISH_START + 9
195#define ATTR_PUBLISH_EMAIL				ATTR_PUBLISH_START + 10
196#define ATTR_PUBLISH_WWW				ATTR_PUBLISH_START + 11
197#define ATTR_PUBLISH_INFO				ATTR_PUBLISH_START + 12
198#define ATTR_PUBLISH_WITHDOWNLOAD		ATTR_PUBLISH_START + 13
199#define ATTR_PUBLISH_WITHSTAROFFICE		ATTR_PUBLISH_START + 14
200#define ATTR_PUBLISH_BUTTONS			ATTR_PUBLISH_START + 15
201#define ATTR_PUBLISH_USERATTR			ATTR_PUBLISH_START + 16
202#define ATTR_PUBLISH_BACKCOLOR			ATTR_PUBLISH_START + 17
203#define ATTR_PUBLISH_TEXTCOLOR			ATTR_PUBLISH_START + 18
204#define ATTR_PUBLISH_LINKCOLOR			ATTR_PUBLISH_START + 19
205#define ATTR_PUBLISH_VLINKCOLOR			ATTR_PUBLISH_START + 20
206#define ATTR_PUBLISH_ALINKCOLOR			ATTR_PUBLISH_START + 21
207#define ATTR_PUBLISH_USEATTRIBS			ATTR_PUBLISH_START + 22
208#define ATTR_PUBLISH_USECOLOR			ATTR_PUBLISH_START + 23
209#define ATTR_PUBLISH_WEBSHOW			ATTR_PUBLISH_START + 24
210#define ATTR_PUBLISH_SCRIPT				ATTR_PUBLISH_START + 25
211#define ATTR_PUBLISH_URLPATH			ATTR_PUBLISH_START + 26
212#define ATTR_PUBLISH_CGIPATH			ATTR_PUBLISH_START + 27
213#define ATTR_PUBLISH_INDEX				ATTR_PUBLISH_START + 28
214#define ATTR_PUBLISH_SLIDECHG			ATTR_PUBLISH_START + 29
215#define ATTR_PUBLISH_SLIDEDURATION		ATTR_PUBLISH_START + 30
216#define ATTR_PUBLISH_ENDLESS			ATTR_PUBLISH_START + 31
217#define ATTR_PUBLISH_SLIDESOUND			ATTR_PUBLISH_START + 32
218#define ATTR_PUBLISH_END				ATTR_PUBLISH_SLIDESOUND
219
220#define ATTR_PRESLAYOUT_START			ATTR_PUBLISH_END + 1
221#define ATTR_PRESLAYOUT_NAME			ATTR_PRESLAYOUT_START
222#define ATTR_PRESLAYOUT_LOAD			ATTR_PRESLAYOUT_START + 1
223#define ATTR_PRESLAYOUT_MASTER_PAGE 	ATTR_PRESLAYOUT_START + 2
224#define ATTR_PRESLAYOUT_CHECK_MASTERS 	ATTR_PRESLAYOUT_START + 3
225#define ATTR_PRESLAYOUT_END 			ATTR_PRESLAYOUT_CHECK_MASTERS
226
227// Pack & Go Attribute
228#define ATTR_PACKNGO_START              ATTR_PRESLAYOUT_END + 1
229#define ATTR_PACKNGO_UNLINK				ATTR_PACKNGO_START
230#define ATTR_PACKNGO_COMPRESS			ATTR_PACKNGO_START + 1
231#define ATTR_PACKNGO_SPANNING			ATTR_PACKNGO_START + 2
232#define ATTR_PACKNGO_MEDIUMSIZE			ATTR_PACKNGO_START + 3
233#define ATTR_PACKNGO_END				ATTR_PACKNGO_MEDIUMSIZE
234
235// paragraph numbering attributes
236#define ATTR_PARANUMBERING_START		ATTR_PACKNGO_MEDIUMSIZE + 1
237#define ATTR_NUMBER_NEWSTART			ATTR_PARANUMBERING_START
238#define ATTR_NUMBER_NEWSTART_AT			ATTR_PARANUMBERING_START + 1
239#define ATTR_PARANUMBERING_END			ATTR_NUMBER_NEWSTART_AT
240
241#endif // _SDATTR_HRC
242