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