xref: /aoo41x/main/sd/source/ui/inc/unokywds.hxx (revision cdf0e10c)
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * Copyright 2000, 2010 Oracle and/or its affiliates.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * This file is part of OpenOffice.org.
10  *
11  * OpenOffice.org is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * OpenOffice.org is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU Lesser General Public License version 3 for more details
19  * (a copy is included in the LICENSE file that accompanied this code).
20  *
21  * You should have received a copy of the GNU Lesser General Public License
22  * version 3 along with OpenOffice.org.  If not, see
23  * <http://www.openoffice.org/license.html>
24  * for a copy of the LGPLv3 License.
25  *
26  ************************************************************************/
27 
28 #ifndef _SD_UNOKYWDS_HXX_
29 #define _SD_UNOKYWDS_HXX_
30 
31 #include <tools/string.hxx>
32 #include <tools/solar.h>
33 
34 #ifndef SD_DEFINE_KEYWORDS
35 #define SD_CONSTASCII_ACTION( n, s ) extern sal_Char __FAR_DATA n[sizeof(s)]
36 #else
37 #define SD_CONSTASCII_ACTION( n, s ) sal_Char __FAR_DATA n[sizeof(s)] = s
38 #endif
39 
40 #define UNO_PREFIX "com.sun.star."
41 
42 // SdXImpressDocument
43 SD_CONSTASCII_ACTION( sUNO_Service_DrawingDocument, UNO_PREFIX "drawing.DrawingDocument" );
44 SD_CONSTASCII_ACTION( sUNO_Service_PresentationDocument, UNO_PREFIX "drawing.PresentationDocument" );
45 
46 // SdUnoStyleFamilies
47 SD_CONSTASCII_ACTION( sUNO_SdUnoStyleFamilies, "SdUnoStyleFamilies" );
48 SD_CONSTASCII_ACTION( sUNO_Graphic_Style_Family_Name, "graphics" );
49 
50 // SdUnoPseudoStyleFamily
51 SD_CONSTASCII_ACTION( sUNO_SdUnoPseudoStyleFamily, "SdUnoPseudoStyleFamily" );
52 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Title, "title" );
53 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_SubTitle, "subtitle" );
54 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Background, "background" );
55 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Background_Objects, "backgroundobjects" );
56 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Notes, "notes" );
57 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Outline1, "outline1" );
58 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Outline2, "outline2" );
59 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Outline3, "outline3" );
60 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Outline4, "outline4" );
61 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Outline5, "outline5" );
62 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Outline6, "outline6" );
63 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Outline7, "outline7" );
64 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Outline8, "outline8" );
65 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Outline9, "outline9" );
66 
67 // SdUnoPseudoStyle
68 SD_CONSTASCII_ACTION( sUNO_SdUnoPseudoStyle, "SdUnoPseudoStyle" );
69 
70 // SdUnoGraphicStyleFamily
71 SD_CONSTASCII_ACTION( sUNO_SdUnoGraphicStyleFamily, "SdUnoGraphicStyleFamily" );
72 SD_CONSTASCII_ACTION( sUNO_StyleName_standard, "standard" );
73 SD_CONSTASCII_ACTION( sUNO_StyleName_objwitharrow, "objectwitharrow" );
74 SD_CONSTASCII_ACTION( sUNO_StyleName_objwithshadow, "objectwithshadow" );
75 SD_CONSTASCII_ACTION( sUNO_StyleName_objwithoutfill, "objectwithoutfill" );
76 SD_CONSTASCII_ACTION( sUNO_StyleName_text, "text" );
77 SD_CONSTASCII_ACTION( sUNO_StyleName_textbody, "textbody" );
78 SD_CONSTASCII_ACTION( sUNO_StyleName_textbodyjust, "textbodyjustfied" );
79 SD_CONSTASCII_ACTION( sUNO_StyleName_textbodyindent, "textbodyindent" );
80 SD_CONSTASCII_ACTION( sUNO_StyleName_title, "title" );
81 SD_CONSTASCII_ACTION( sUNO_StyleName_title1, "title1" );
82 SD_CONSTASCII_ACTION( sUNO_StyleName_title2, "title2" );
83 SD_CONSTASCII_ACTION( sUNO_StyleName_headline, "headline" );
84 SD_CONSTASCII_ACTION( sUNO_StyleName_headline1, "headline1" );
85 SD_CONSTASCII_ACTION( sUNO_StyleName_headline2, "headline2" );
86 SD_CONSTASCII_ACTION( sUNO_StyleName_measure, "measure" );
87 
88 // SdUnoGraphicStyle
89 SD_CONSTASCII_ACTION( sUNO_SdUnoGraphicStyle, "SdUnoGraphicStyle" );
90 
91 // SdUnoPageBackground
92 SD_CONSTASCII_ACTION( sUNO_SdUnoPageBackground, "SdUnoPageBackground" );
93 
94 // SdLayerManager
95 SD_CONSTASCII_ACTION( sUNO_SdLayerManager, "SdUnoLayerManager" );
96 
97 // SdLayer
98 SD_CONSTASCII_ACTION( sUNO_SdLayer, "SdUnoLayer" );
99 SD_CONSTASCII_ACTION( sUNO_LayerName_background,		 "background" );
100 SD_CONSTASCII_ACTION( sUNO_LayerName_background_objects, "backgroundobjects" );
101 SD_CONSTASCII_ACTION( sUNO_LayerName_layout,			 "layout" );
102 SD_CONSTASCII_ACTION( sUNO_LayerName_controls,			 "controls" );
103 SD_CONSTASCII_ACTION( sUNO_LayerName_measurelines,		 "measurelines" );
104 
105 // SdXShape
106 SD_CONSTASCII_ACTION( sUNO_shape_style, "Style" );
107 SD_CONSTASCII_ACTION( sUNO_shape_layername, "LayerName" );
108 SD_CONSTASCII_ACTION( sUNO_shape_zorder, "ZOrder" );
109 
110 // services
111 SD_CONSTASCII_ACTION( sUNO_Service_StyleFamily, UNO_PREFIX "style.StyleFamily" );
112 SD_CONSTASCII_ACTION( sUNO_Service_StyleFamilies, UNO_PREFIX "style.StyleFamilies" );
113 SD_CONSTASCII_ACTION( sUNO_Service_Style, UNO_PREFIX "style.Style" );
114 SD_CONSTASCII_ACTION( sUNO_Service_FillProperties, UNO_PREFIX "drawing.FillProperties" );
115 SD_CONSTASCII_ACTION( sUNO_Service_LineProperties, UNO_PREFIX "drawing.LineProperties" );
116 SD_CONSTASCII_ACTION( sUNO_Service_ParagraphProperties, UNO_PREFIX "style.ParagraphProperties" );
117 SD_CONSTASCII_ACTION( sUNO_Service_CharacterProperties, UNO_PREFIX "style.CharacterProperties" );
118 SD_CONSTASCII_ACTION( sUNO_Service_Text, UNO_PREFIX "drawing.Text" );
119 SD_CONSTASCII_ACTION( sUNO_Service_TextProperties, UNO_PREFIX "drawing.TextProperties" );
120 SD_CONSTASCII_ACTION( sUNO_Service_ShadowProperties, UNO_PREFIX "drawing.ShadowProperties" );
121 SD_CONSTASCII_ACTION( sUNO_Service_ConnectorProperties, UNO_PREFIX "drawing.ConnectorProperties" );
122 SD_CONSTASCII_ACTION( sUNO_Service_MeasureProperties, UNO_PREFIX "drawing.MeasureProperties" );
123 SD_CONSTASCII_ACTION( sUNO_Service_PageBackground, UNO_PREFIX "drawing.PageBackground" );
124 SD_CONSTASCII_ACTION( sUNO_Service_DrawingLayer, UNO_PREFIX "drawing.Layer" );
125 SD_CONSTASCII_ACTION( sUNO_Service_DrawingLayerManager, UNO_PREFIX "drawing.LayerManager" );
126 SD_CONSTASCII_ACTION( sUNO_Service_GraphicObjectShape, UNO_PREFIX "drawing.GraphicObjectShape" );
127 SD_CONSTASCII_ACTION( sUNO_Service_ImageMapRectangleObject, UNO_PREFIX "image.ImageMapRectangleObject" );
128 SD_CONSTASCII_ACTION( sUNO_Service_ImageMapCircleObject, UNO_PREFIX "image.ImageMapCircleObject" );
129 SD_CONSTASCII_ACTION( sUNO_Service_ImageMapPolygonObject, UNO_PREFIX "image.ImageMapPolygonObject" );
130 
131 // properties
132 SD_CONSTASCII_ACTION( sUNO_Prop_Background,				"Background" );
133 SD_CONSTASCII_ACTION( sUNO_Prop_ForbiddenCharacters,	"ForbiddenCharacters" );
134 SD_CONSTASCII_ACTION( sUNO_Prop_MapUnit,				"MapUnit" );
135 SD_CONSTASCII_ACTION( sUNO_Prop_VisibleArea,			"VisibleArea" );
136 SD_CONSTASCII_ACTION( sUNO_Prop_Aspect,					"Aspect" );
137 SD_CONSTASCII_ACTION( sUNO_Prop_TabStop,				"TabStop" );
138 SD_CONSTASCII_ACTION( sUNO_Prop_CharLocale,				"CharLocale" );
139 SD_CONSTASCII_ACTION( sUNO_Prop_AutomContFocus,			"AutomaticControlFocus" );
140 SD_CONSTASCII_ACTION( sUNO_Prop_ApplyFrmDsgnMode,		"ApplyFormDesignMode" );
141 SD_CONSTASCII_ACTION( sUNO_Prop_IsBackgroundVisible,	"IsBackgroundVisible" );
142 SD_CONSTASCII_ACTION( sUNO_Prop_IsBackgroundObjectsVisible,	"IsBackgroundObjectsVisible" );
143 SD_CONSTASCII_ACTION( sUNO_Prop_UserDefinedAttributes, "UserDefinedAttributes" );
144 SD_CONSTASCII_ACTION( sUNO_Prop_BookmarkURL,			"BookmarkURL" );
145 SD_CONSTASCII_ACTION( sUNO_Prop_RuntimeUID,             "RuntimeUID" );
146 SD_CONSTASCII_ACTION( sUNO_Prop_HasValidSignatures,     "HasValidSignatures" );
147 
148 // view settings
149 SD_CONSTASCII_ACTION( sUNO_View_ViewId,							"ViewId" );
150 SD_CONSTASCII_ACTION( sUNO_View_SnapLinesDrawing,				"SnapLinesDrawing" );
151 SD_CONSTASCII_ACTION( sUNO_View_SnapLinesNotes,					"SnapLinesNotes" );
152 SD_CONSTASCII_ACTION( sUNO_View_SnapLinesHandout,				"SnapLinesHandout" );
153 SD_CONSTASCII_ACTION( sUNO_View_RulerIsVisible,					"RulerIsVisible" );
154 SD_CONSTASCII_ACTION( sUNO_View_PageKind,						"PageKind" );
155 SD_CONSTASCII_ACTION( sUNO_View_SelectedPage,					"SelectedPage" );
156 SD_CONSTASCII_ACTION( sUNO_View_IsLayerMode,					"IsLayerMode" );
157 SD_CONSTASCII_ACTION( sUNO_View_IsQuickEdit,					"IsQuickEdit" );
158 SD_CONSTASCII_ACTION( sUNO_View_IsBigHandles,					"IsBigHandles" );
159 SD_CONSTASCII_ACTION( sUNO_View_IsDoubleClickTextEdit,			"IsDoubleClickTextEdit"	);
160 SD_CONSTASCII_ACTION( sUNO_View_IsClickChangeRotation,			"IsClickChangeRotation" );
161 SD_CONSTASCII_ACTION( sUNO_View_IsDragWithCopy,					"IsDragWithCopy" );
162 SD_CONSTASCII_ACTION( sUNO_View_SlidesPerRow,					"SlidesPerRow" );
163 SD_CONSTASCII_ACTION( sUNO_View_DrawMode,						"DrawMode" );
164 SD_CONSTASCII_ACTION( sUNO_View_PreviewDrawMode,				"PreviewDrawMode" );
165 SD_CONSTASCII_ACTION( sUNO_View_IsShowPreviewInPageMode,		"IsShowPreviewInPageMode" );
166 SD_CONSTASCII_ACTION( sUNO_View_IsShowPreviewInMasterPageMode,	"IsShowPreviewInMasterPageMode" );
167 SD_CONSTASCII_ACTION( sUNO_View_SetShowPreviewInOutlineMode,	"SetShowPreviewInOutlineMode" );
168 SD_CONSTASCII_ACTION( sUNO_View_EditModeStandard,				"EditModeStandard" );
169 SD_CONSTASCII_ACTION( sUNO_View_EditModeNotes,					"EditModeNotes" );
170 SD_CONSTASCII_ACTION( sUNO_View_EditModeHandout,				"EditModeHandout" );
171 SD_CONSTASCII_ACTION( sUNO_View_VisArea,						"VisArea" );
172 
173 SD_CONSTASCII_ACTION( sUNO_View_GridIsVisible,					"GridIsVisible" );
174 SD_CONSTASCII_ACTION( sUNO_View_GridIsFront,					"GridIsFront" );
175 SD_CONSTASCII_ACTION( sUNO_View_IsSnapToGrid,					"IsSnapToGrid" );
176 SD_CONSTASCII_ACTION( sUNO_View_IsSnapToPageMargins,			"IsSnapToPageMargins" );
177 SD_CONSTASCII_ACTION( sUNO_View_IsSnapToSnapLines,				"IsSnapToSnapLines" );
178 SD_CONSTASCII_ACTION( sUNO_View_IsSnapToObjectFrame,			"IsSnapToObjectFrame" );
179 SD_CONSTASCII_ACTION( sUNO_View_IsSnapToObjectPoints,			"IsSnapToObjectPoints" );
180 SD_CONSTASCII_ACTION( sUNO_View_IsSnapLinesVisible,				"IsSnapLinesVisible" );
181 SD_CONSTASCII_ACTION( sUNO_View_IsDragStripes,					"IsDragStripes" );
182 SD_CONSTASCII_ACTION( sUNO_View_IsPlusHandlesAlwaysVisible,		"IsPlusHandlesAlwaysVisible" );
183 SD_CONSTASCII_ACTION( sUNO_View_IsFrameDragSingles,				"IsFrameDragSingles" );
184 SD_CONSTASCII_ACTION( sUNO_View_IsMarkedHitMovesAlways,			"IsMarkedHitMovesAlways" );
185 SD_CONSTASCII_ACTION( sUNO_View_EliminatePolyPointLimitAngle,	"EliminatePolyPointLimitAngle" );
186 SD_CONSTASCII_ACTION( sUNO_View_IsEliminatePolyPoints,			"IsEliminatePolyPoints" );
187 SD_CONSTASCII_ACTION( sUNO_View_IsLineDraft,					"IsLineDraft" );
188 SD_CONSTASCII_ACTION( sUNO_View_IsFillDraft,					"IsFillDraft" );
189 SD_CONSTASCII_ACTION( sUNO_View_IsTextDraft,					"IsTextDraft" );
190 SD_CONSTASCII_ACTION( sUNO_View_IsGrafDraft,					"IsGrafDraft" );
191 SD_CONSTASCII_ACTION( sUNO_View_ActiveLayer,					"ActiveLayer" );
192 SD_CONSTASCII_ACTION( sUNO_View_NoAttribs,						"NoAttribs" );
193 SD_CONSTASCII_ACTION( sUNO_View_NoColors,						"NoColors" );
194 SD_CONSTASCII_ACTION( sUNO_View_GridCoarseWidth,				"GridCoarseWidth" );
195 SD_CONSTASCII_ACTION( sUNO_View_GridCoarseHeight,				"GridCoarseHeight" );
196 SD_CONSTASCII_ACTION( sUNO_View_GridFineWidth,					"GridFineWidth" );
197 SD_CONSTASCII_ACTION( sUNO_View_GridFineHeight,					"GridFineHeight" );
198 SD_CONSTASCII_ACTION( sUNO_View_IsAngleSnapEnabled,				"IsAngleSnapEnabled" );
199 SD_CONSTASCII_ACTION( sUNO_View_SnapAngle,						"SnapAngle" );
200 SD_CONSTASCII_ACTION( sUNO_View_GridSnapWidthXNumerator,		"GridSnapWidthXNumerator" );
201 SD_CONSTASCII_ACTION( sUNO_View_GridSnapWidthXDenominator,		"GridSnapWidthXDenominator" );
202 SD_CONSTASCII_ACTION( sUNO_View_GridSnapWidthYNumerator,		"GridSnapWidthYNumerator" );
203 SD_CONSTASCII_ACTION( sUNO_View_GridSnapWidthYDenominator,		"GridSnapWidthYDenominator" );
204 SD_CONSTASCII_ACTION( sUNO_View_VisibleLayers,					"VisibleLayers" );
205 SD_CONSTASCII_ACTION( sUNO_View_PrintableLayers,				"PrintableLayers" );
206 SD_CONSTASCII_ACTION( sUNO_View_LockedLayers,					"LockedLayers" );
207 
208 SD_CONSTASCII_ACTION( sUNO_View_VisibleAreaTop,					"VisibleAreaTop" );
209 SD_CONSTASCII_ACTION( sUNO_View_VisibleAreaLeft,				"VisibleAreaLeft" );
210 SD_CONSTASCII_ACTION( sUNO_View_VisibleAreaWidth,				"VisibleAreaWidth" );
211 SD_CONSTASCII_ACTION( sUNO_View_VisibleAreaHeight,				"VisibleAreaHeight" );
212 
213 SD_CONSTASCII_ACTION( sUNO_View_ZoomOnPage,						"ZoomOnPage" );
214 #endif
215 
216