xref: /aoo42x/main/sd/source/ui/inc/unokywds.hxx (revision 67e470da)
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 _SD_UNOKYWDS_HXX_
25 #define _SD_UNOKYWDS_HXX_
26 
27 #include <tools/string.hxx>
28 #include <tools/solar.h>
29 
30 #ifndef SD_DEFINE_KEYWORDS
31 #define SD_CONSTASCII_ACTION( n, s ) extern sal_Char __FAR_DATA n[sizeof(s)]
32 #else
33 #define SD_CONSTASCII_ACTION( n, s ) sal_Char __FAR_DATA n[sizeof(s)] = s
34 #endif
35 
36 #define UNO_PREFIX "com.sun.star."
37 
38 // SdXImpressDocument
39 SD_CONSTASCII_ACTION( sUNO_Service_DrawingDocument, UNO_PREFIX "drawing.DrawingDocument" );
40 SD_CONSTASCII_ACTION( sUNO_Service_PresentationDocument, UNO_PREFIX "drawing.PresentationDocument" );
41 
42 // SdUnoStyleFamilies
43 SD_CONSTASCII_ACTION( sUNO_SdUnoStyleFamilies, "SdUnoStyleFamilies" );
44 SD_CONSTASCII_ACTION( sUNO_Graphic_Style_Family_Name, "graphics" );
45 
46 // SdUnoPseudoStyleFamily
47 SD_CONSTASCII_ACTION( sUNO_SdUnoPseudoStyleFamily, "SdUnoPseudoStyleFamily" );
48 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Title, "title" );
49 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_SubTitle, "subtitle" );
50 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Background, "background" );
51 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Background_Objects, "backgroundobjects" );
52 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Notes, "notes" );
53 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Outline1, "outline1" );
54 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Outline2, "outline2" );
55 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Outline3, "outline3" );
56 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Outline4, "outline4" );
57 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Outline5, "outline5" );
58 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Outline6, "outline6" );
59 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Outline7, "outline7" );
60 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Outline8, "outline8" );
61 SD_CONSTASCII_ACTION( sUNO_PseudoSheet_Outline9, "outline9" );
62 
63 // SdUnoPseudoStyle
64 SD_CONSTASCII_ACTION( sUNO_SdUnoPseudoStyle, "SdUnoPseudoStyle" );
65 
66 // SdUnoGraphicStyleFamily
67 SD_CONSTASCII_ACTION( sUNO_SdUnoGraphicStyleFamily, "SdUnoGraphicStyleFamily" );
68 SD_CONSTASCII_ACTION( sUNO_StyleName_standard, "standard" );
69 SD_CONSTASCII_ACTION( sUNO_StyleName_objwitharrow, "objectwitharrow" );
70 SD_CONSTASCII_ACTION( sUNO_StyleName_objwithshadow, "objectwithshadow" );
71 SD_CONSTASCII_ACTION( sUNO_StyleName_objwithoutfill, "objectwithoutfill" );
72 SD_CONSTASCII_ACTION( sUNO_StyleName_text, "text" );
73 SD_CONSTASCII_ACTION( sUNO_StyleName_textbody, "textbody" );
74 SD_CONSTASCII_ACTION( sUNO_StyleName_textbodyjust, "textbodyjustfied" );
75 SD_CONSTASCII_ACTION( sUNO_StyleName_textbodyindent, "textbodyindent" );
76 SD_CONSTASCII_ACTION( sUNO_StyleName_title, "title" );
77 SD_CONSTASCII_ACTION( sUNO_StyleName_title1, "title1" );
78 SD_CONSTASCII_ACTION( sUNO_StyleName_title2, "title2" );
79 SD_CONSTASCII_ACTION( sUNO_StyleName_headline, "headline" );
80 SD_CONSTASCII_ACTION( sUNO_StyleName_headline1, "headline1" );
81 SD_CONSTASCII_ACTION( sUNO_StyleName_headline2, "headline2" );
82 SD_CONSTASCII_ACTION( sUNO_StyleName_measure, "measure" );
83 
84 // SdUnoGraphicStyle
85 SD_CONSTASCII_ACTION( sUNO_SdUnoGraphicStyle, "SdUnoGraphicStyle" );
86 
87 // SdUnoPageBackground
88 SD_CONSTASCII_ACTION( sUNO_SdUnoPageBackground, "SdUnoPageBackground" );
89 
90 // SdLayerManager
91 SD_CONSTASCII_ACTION( sUNO_SdLayerManager, "SdUnoLayerManager" );
92 
93 // SdLayer
94 SD_CONSTASCII_ACTION( sUNO_SdLayer, "SdUnoLayer" );
95 SD_CONSTASCII_ACTION( sUNO_LayerName_background,		 "background" );
96 SD_CONSTASCII_ACTION( sUNO_LayerName_background_objects, "backgroundobjects" );
97 SD_CONSTASCII_ACTION( sUNO_LayerName_layout,			 "layout" );
98 SD_CONSTASCII_ACTION( sUNO_LayerName_controls,			 "controls" );
99 SD_CONSTASCII_ACTION( sUNO_LayerName_measurelines,		 "measurelines" );
100 
101 // SdXShape
102 SD_CONSTASCII_ACTION( sUNO_shape_style, "Style" );
103 SD_CONSTASCII_ACTION( sUNO_shape_layername, "LayerName" );
104 SD_CONSTASCII_ACTION( sUNO_shape_zorder, "ZOrder" );
105 
106 // services
107 SD_CONSTASCII_ACTION( sUNO_Service_StyleFamily, UNO_PREFIX "style.StyleFamily" );
108 SD_CONSTASCII_ACTION( sUNO_Service_StyleFamilies, UNO_PREFIX "style.StyleFamilies" );
109 SD_CONSTASCII_ACTION( sUNO_Service_Style, UNO_PREFIX "style.Style" );
110 SD_CONSTASCII_ACTION( sUNO_Service_FillProperties, UNO_PREFIX "drawing.FillProperties" );
111 SD_CONSTASCII_ACTION( sUNO_Service_LineProperties, UNO_PREFIX "drawing.LineProperties" );
112 SD_CONSTASCII_ACTION( sUNO_Service_ParagraphProperties, UNO_PREFIX "style.ParagraphProperties" );
113 SD_CONSTASCII_ACTION( sUNO_Service_CharacterProperties, UNO_PREFIX "style.CharacterProperties" );
114 SD_CONSTASCII_ACTION( sUNO_Service_Text, UNO_PREFIX "drawing.Text" );
115 SD_CONSTASCII_ACTION( sUNO_Service_TextProperties, UNO_PREFIX "drawing.TextProperties" );
116 SD_CONSTASCII_ACTION( sUNO_Service_ShadowProperties, UNO_PREFIX "drawing.ShadowProperties" );
117 SD_CONSTASCII_ACTION( sUNO_Service_ConnectorProperties, UNO_PREFIX "drawing.ConnectorProperties" );
118 SD_CONSTASCII_ACTION( sUNO_Service_MeasureProperties, UNO_PREFIX "drawing.MeasureProperties" );
119 SD_CONSTASCII_ACTION( sUNO_Service_PageBackground, UNO_PREFIX "drawing.PageBackground" );
120 SD_CONSTASCII_ACTION( sUNO_Service_DrawingLayer, UNO_PREFIX "drawing.Layer" );
121 SD_CONSTASCII_ACTION( sUNO_Service_DrawingLayerManager, UNO_PREFIX "drawing.LayerManager" );
122 SD_CONSTASCII_ACTION( sUNO_Service_GraphicObjectShape, UNO_PREFIX "drawing.GraphicObjectShape" );
123 SD_CONSTASCII_ACTION( sUNO_Service_ImageMapRectangleObject, UNO_PREFIX "image.ImageMapRectangleObject" );
124 SD_CONSTASCII_ACTION( sUNO_Service_ImageMapCircleObject, UNO_PREFIX "image.ImageMapCircleObject" );
125 SD_CONSTASCII_ACTION( sUNO_Service_ImageMapPolygonObject, UNO_PREFIX "image.ImageMapPolygonObject" );
126 
127 // properties
128 SD_CONSTASCII_ACTION( sUNO_Prop_Background,				"Background" );
129 SD_CONSTASCII_ACTION( sUNO_Prop_ForbiddenCharacters,	"ForbiddenCharacters" );
130 SD_CONSTASCII_ACTION( sUNO_Prop_MapUnit,				"MapUnit" );
131 SD_CONSTASCII_ACTION( sUNO_Prop_VisibleArea,			"VisibleArea" );
132 SD_CONSTASCII_ACTION( sUNO_Prop_Aspect,					"Aspect" );
133 SD_CONSTASCII_ACTION( sUNO_Prop_TabStop,				"TabStop" );
134 SD_CONSTASCII_ACTION( sUNO_Prop_CharLocale,				"CharLocale" );
135 SD_CONSTASCII_ACTION( sUNO_Prop_AutomContFocus,			"AutomaticControlFocus" );
136 SD_CONSTASCII_ACTION( sUNO_Prop_ApplyFrmDsgnMode,		"ApplyFormDesignMode" );
137 SD_CONSTASCII_ACTION( sUNO_Prop_IsBackgroundVisible,	"IsBackgroundVisible" );
138 SD_CONSTASCII_ACTION( sUNO_Prop_IsBackgroundObjectsVisible,	"IsBackgroundObjectsVisible" );
139 SD_CONSTASCII_ACTION( sUNO_Prop_UserDefinedAttributes, "UserDefinedAttributes" );
140 SD_CONSTASCII_ACTION( sUNO_Prop_BookmarkURL,			"BookmarkURL" );
141 SD_CONSTASCII_ACTION( sUNO_Prop_RuntimeUID,             "RuntimeUID" );
142 SD_CONSTASCII_ACTION( sUNO_Prop_HasValidSignatures,     "HasValidSignatures" );
143 
144 // view settings
145 SD_CONSTASCII_ACTION( sUNO_View_ViewId,							"ViewId" );
146 SD_CONSTASCII_ACTION( sUNO_View_SnapLinesDrawing,				"SnapLinesDrawing" );
147 SD_CONSTASCII_ACTION( sUNO_View_SnapLinesNotes,					"SnapLinesNotes" );
148 SD_CONSTASCII_ACTION( sUNO_View_SnapLinesHandout,				"SnapLinesHandout" );
149 SD_CONSTASCII_ACTION( sUNO_View_RulerIsVisible,					"RulerIsVisible" );
150 SD_CONSTASCII_ACTION( sUNO_View_PageKind,						"PageKind" );
151 SD_CONSTASCII_ACTION( sUNO_View_SelectedPage,					"SelectedPage" );
152 SD_CONSTASCII_ACTION( sUNO_View_IsLayerMode,					"IsLayerMode" );
153 SD_CONSTASCII_ACTION( sUNO_View_IsQuickEdit,					"IsQuickEdit" );
154 SD_CONSTASCII_ACTION( sUNO_View_IsBigHandles,					"IsBigHandles" );
155 SD_CONSTASCII_ACTION( sUNO_View_IsDoubleClickTextEdit,			"IsDoubleClickTextEdit"	);
156 SD_CONSTASCII_ACTION( sUNO_View_IsClickChangeRotation,			"IsClickChangeRotation" );
157 SD_CONSTASCII_ACTION( sUNO_View_IsDragWithCopy,					"IsDragWithCopy" );
158 SD_CONSTASCII_ACTION( sUNO_View_SlidesPerRow,					"SlidesPerRow" );
159 SD_CONSTASCII_ACTION( sUNO_View_DrawMode,						"DrawMode" );
160 SD_CONSTASCII_ACTION( sUNO_View_PreviewDrawMode,				"PreviewDrawMode" );
161 SD_CONSTASCII_ACTION( sUNO_View_IsShowPreviewInPageMode,		"IsShowPreviewInPageMode" );
162 SD_CONSTASCII_ACTION( sUNO_View_IsShowPreviewInMasterPageMode,	"IsShowPreviewInMasterPageMode" );
163 SD_CONSTASCII_ACTION( sUNO_View_SetShowPreviewInOutlineMode,	"SetShowPreviewInOutlineMode" );
164 SD_CONSTASCII_ACTION( sUNO_View_EditModeStandard,				"EditModeStandard" );
165 SD_CONSTASCII_ACTION( sUNO_View_EditModeNotes,					"EditModeNotes" );
166 SD_CONSTASCII_ACTION( sUNO_View_EditModeHandout,				"EditModeHandout" );
167 SD_CONSTASCII_ACTION( sUNO_View_VisArea,						"VisArea" );
168 
169 SD_CONSTASCII_ACTION( sUNO_View_GridIsVisible,					"GridIsVisible" );
170 SD_CONSTASCII_ACTION( sUNO_View_GridIsFront,					"GridIsFront" );
171 SD_CONSTASCII_ACTION( sUNO_View_IsSnapToGrid,					"IsSnapToGrid" );
172 SD_CONSTASCII_ACTION( sUNO_View_IsSnapToPageMargins,			"IsSnapToPageMargins" );
173 SD_CONSTASCII_ACTION( sUNO_View_IsSnapToSnapLines,				"IsSnapToSnapLines" );
174 SD_CONSTASCII_ACTION( sUNO_View_IsSnapToObjectFrame,			"IsSnapToObjectFrame" );
175 SD_CONSTASCII_ACTION( sUNO_View_IsSnapToObjectPoints,			"IsSnapToObjectPoints" );
176 SD_CONSTASCII_ACTION( sUNO_View_IsSnapLinesVisible,				"IsSnapLinesVisible" );
177 SD_CONSTASCII_ACTION( sUNO_View_IsDragStripes,					"IsDragStripes" );
178 SD_CONSTASCII_ACTION( sUNO_View_IsPlusHandlesAlwaysVisible,		"IsPlusHandlesAlwaysVisible" );
179 SD_CONSTASCII_ACTION( sUNO_View_IsFrameDragSingles,				"IsFrameDragSingles" );
180 SD_CONSTASCII_ACTION( sUNO_View_IsMarkedHitMovesAlways,			"IsMarkedHitMovesAlways" );
181 SD_CONSTASCII_ACTION( sUNO_View_EliminatePolyPointLimitAngle,	"EliminatePolyPointLimitAngle" );
182 SD_CONSTASCII_ACTION( sUNO_View_IsEliminatePolyPoints,			"IsEliminatePolyPoints" );
183 SD_CONSTASCII_ACTION( sUNO_View_IsLineDraft,					"IsLineDraft" );
184 SD_CONSTASCII_ACTION( sUNO_View_IsFillDraft,					"IsFillDraft" );
185 SD_CONSTASCII_ACTION( sUNO_View_IsTextDraft,					"IsTextDraft" );
186 SD_CONSTASCII_ACTION( sUNO_View_IsGrafDraft,					"IsGrafDraft" );
187 SD_CONSTASCII_ACTION( sUNO_View_ActiveLayer,					"ActiveLayer" );
188 SD_CONSTASCII_ACTION( sUNO_View_NoAttribs,						"NoAttribs" );
189 SD_CONSTASCII_ACTION( sUNO_View_NoColors,						"NoColors" );
190 SD_CONSTASCII_ACTION( sUNO_View_GridCoarseWidth,				"GridCoarseWidth" );
191 SD_CONSTASCII_ACTION( sUNO_View_GridCoarseHeight,				"GridCoarseHeight" );
192 SD_CONSTASCII_ACTION( sUNO_View_GridFineWidth,					"GridFineWidth" );
193 SD_CONSTASCII_ACTION( sUNO_View_GridFineHeight,					"GridFineHeight" );
194 SD_CONSTASCII_ACTION( sUNO_View_IsAngleSnapEnabled,				"IsAngleSnapEnabled" );
195 SD_CONSTASCII_ACTION( sUNO_View_SnapAngle,						"SnapAngle" );
196 SD_CONSTASCII_ACTION( sUNO_View_GridSnapWidthXNumerator,		"GridSnapWidthXNumerator" );
197 SD_CONSTASCII_ACTION( sUNO_View_GridSnapWidthXDenominator,		"GridSnapWidthXDenominator" );
198 SD_CONSTASCII_ACTION( sUNO_View_GridSnapWidthYNumerator,		"GridSnapWidthYNumerator" );
199 SD_CONSTASCII_ACTION( sUNO_View_GridSnapWidthYDenominator,		"GridSnapWidthYDenominator" );
200 SD_CONSTASCII_ACTION( sUNO_View_VisibleLayers,					"VisibleLayers" );
201 SD_CONSTASCII_ACTION( sUNO_View_PrintableLayers,				"PrintableLayers" );
202 SD_CONSTASCII_ACTION( sUNO_View_LockedLayers,					"LockedLayers" );
203 
204 SD_CONSTASCII_ACTION( sUNO_View_VisibleAreaTop,					"VisibleAreaTop" );
205 SD_CONSTASCII_ACTION( sUNO_View_VisibleAreaLeft,				"VisibleAreaLeft" );
206 SD_CONSTASCII_ACTION( sUNO_View_VisibleAreaWidth,				"VisibleAreaWidth" );
207 SD_CONSTASCII_ACTION( sUNO_View_VisibleAreaHeight,				"VisibleAreaHeight" );
208 
209 SD_CONSTASCII_ACTION( sUNO_View_ZoomOnPage,						"ZoomOnPage" );
210 #endif
211 
212