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