/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */
 
#ifndef INCLUDED_SVX_XDEF_HXX
#define INCLUDED_SVX_XDEF_HXX
 
 
#include <svl/typedwhich.hxx>
 
/*************************************************************************
|*
|* Adding an attribute: Copy line, above which you want to add something,
|* change the label and add it at the end of the following line, too
|*
\************************************************************************/
 
class SfxMetricItem;
class XFillAttrSetItem;
class XFillBackgroundItem;
class XFillBitmapItem;
class XFillBmpPosItem;
class XFillBmpPosOffsetXItem;
class XFillBmpPosOffsetYItem;
class XFillBmpSizeLogItem;
class XFillBmpSizeYItem;
class XFillBmpStretchItem;
class XFillBmpTileItem;
class XFillBmpTileOffsetXItem;
class XFillBmpTileOffsetYItem;
class XFillColorItem;
class XFillFloatTransparenceItem;
class XFillGradientItem;
class XFillHatchItem;
class XFillStyleItem;
class XFillTransparenceItem;
class XFillUseSlideBackgroundItem;
class XFormTextAdjustItem;
class XFormTextDistanceItem;
class XFormTextHideFormItem;
class XFormTextMirrorItem;
class XFormTextOutlineItem;
class XFormTextShadowColorItem;
class XFormTextShadowItem;
class XFormTextShadowTranspItem;
class XFormTextShadowXValItem;
class XFormTextShadowYValItem;
class XFormTextStartItem;
class XFormTextStyleItem;
class XGradientStepCountItem;
class XLineAttrSetItem;
class XLineCapItem;
class XLineColorItem;
class XLineDashItem;
class XLineEndCenterItem;
class XLineEndItem;
class XLineEndWidthItem;
class XLineJointItem;
class XLineStartCenterItem;
class XLineStartItem;
class XLineStartWidthItem;
class XLineStyleItem;
class XLineTransparenceItem;
class XLineWidthItem;
class XSecondaryFillColorItem;
 
#define COL_DEFAULT_FONT          ::Color(0xC9211E)         // dark red 2
#define COL_DEFAULT_FRAMELINE     ::Color(0x2A6099)         // blue
#define COL_DEFAULT_HIGHLIGHT     ::Color(0xFFFF00)         // yellow
#define COL_DEFAULT_SHAPE_FILLING ::Color(0x729fcf)         // light blue 2
#define COL_DEFAULT_SHAPE_STROKE  ::Color(0x3465a4)         // dark blue 1
 
constexpr sal_uInt16 XATTR_START = 1000;
 
constexpr sal_uInt16                          XATTR_LINE_FIRST       (XATTR_START);           // 1000
constexpr TypedWhichId<XLineStyleItem>        XATTR_LINESTYLE        (XATTR_LINE_FIRST);      // 1000
constexpr TypedWhichId<XLineDashItem>         XATTR_LINEDASH         (XATTR_LINE_FIRST + 1);  // 1001
constexpr TypedWhichId<XLineWidthItem>        XATTR_LINEWIDTH        (XATTR_LINE_FIRST + 2);  // 1002
constexpr TypedWhichId<XLineColorItem>        XATTR_LINECOLOR        (XATTR_LINE_FIRST + 3);  // 1003
constexpr TypedWhichId<XLineStartItem>        XATTR_LINESTART        (XATTR_LINE_FIRST + 4);  // 1004
constexpr TypedWhichId<XLineEndItem>          XATTR_LINEEND          (XATTR_LINE_FIRST + 5);  // 1005
constexpr TypedWhichId<XLineStartWidthItem>   XATTR_LINESTARTWIDTH   (XATTR_LINE_FIRST + 6);  // 1006
constexpr TypedWhichId<XLineEndWidthItem>     XATTR_LINEENDWIDTH     (XATTR_LINE_FIRST + 7);  // 1007
constexpr TypedWhichId<XLineStartCenterItem>  XATTR_LINESTARTCENTER  (XATTR_LINE_FIRST + 8);  // 1008
constexpr TypedWhichId<XLineEndCenterItem>    XATTR_LINEENDCENTER    (XATTR_LINE_FIRST + 9);  // 1009
constexpr TypedWhichId<XLineTransparenceItem> XATTR_LINETRANSPARENCE (XATTR_LINE_FIRST + 10); // 1010
constexpr TypedWhichId<XLineJointItem>        XATTR_LINEJOINT        (XATTR_LINE_FIRST + 11); // 1011
constexpr TypedWhichId<XLineCapItem>          XATTR_LINECAP          (XATTR_LINE_FIRST + 12); // 1012
constexpr sal_uInt16                          XATTR_LINE_LAST        (XATTR_LINECAP);         // 1012
constexpr TypedWhichId<XLineAttrSetItem>      XATTRSET_LINE          (XATTR_LINE_LAST + 1);   // 1013
 
constexpr sal_uInt16                               XATTR_FILL_FIRST            (XATTRSET_LINE + 1);      // 1014
constexpr TypedWhichId<XFillStyleItem>             XATTR_FILLSTYLE             (XATTR_FILL_FIRST);       // 1014
constexpr TypedWhichId<XFillColorItem>             XATTR_FILLCOLOR             (XATTR_FILL_FIRST + 1);   // 1015
constexpr TypedWhichId<XFillGradientItem>          XATTR_FILLGRADIENT          (XATTR_FILL_FIRST + 2);   // 1016
constexpr TypedWhichId<XFillHatchItem>             XATTR_FILLHATCH             (XATTR_FILL_FIRST + 3);   // 1017
constexpr TypedWhichId<XFillBitmapItem>            XATTR_FILLBITMAP            (XATTR_FILL_FIRST + 4);   // 1018
constexpr TypedWhichId<XFillTransparenceItem>      XATTR_FILLTRANSPARENCE      (XATTR_FILL_FIRST + 5);   // 1019
constexpr TypedWhichId<XGradientStepCountItem>     XATTR_GRADIENTSTEPCOUNT     (XATTR_FILL_FIRST + 6);   // 1020
constexpr TypedWhichId<XFillBmpTileItem>           XATTR_FILLBMP_TILE          (XATTR_FILL_FIRST + 7);   // 1021
constexpr TypedWhichId<XFillBmpPosItem>            XATTR_FILLBMP_POS           (XATTR_FILL_FIRST + 8);   // 1022
constexpr TypedWhichId<SfxMetricItem>              XATTR_FILLBMP_SIZEX         (XATTR_FILL_FIRST + 9);   // 1023
constexpr TypedWhichId<XFillBmpSizeYItem>          XATTR_FILLBMP_SIZEY         (XATTR_FILL_FIRST + 10);  // 1024
constexpr TypedWhichId<XFillFloatTransparenceItem> XATTR_FILLFLOATTRANSPARENCE (XATTR_FILL_FIRST + 11);  // 1025
constexpr TypedWhichId<XSecondaryFillColorItem>    XATTR_SECONDARYFILLCOLOR    (XATTR_FILL_FIRST + 12);  // 1026
constexpr TypedWhichId<XFillBmpSizeLogItem>        XATTR_FILLBMP_SIZELOG       (XATTR_FILL_FIRST + 13);  // 1027
constexpr TypedWhichId<XFillBmpTileOffsetXItem>    XATTR_FILLBMP_TILEOFFSETX   (XATTR_FILL_FIRST + 14);  // 1028
constexpr TypedWhichId<XFillBmpTileOffsetYItem>    XATTR_FILLBMP_TILEOFFSETY   (XATTR_FILL_FIRST + 15);  // 1029
constexpr TypedWhichId<XFillBmpStretchItem>        XATTR_FILLBMP_STRETCH       (XATTR_FILL_FIRST + 16);  // 1030
constexpr TypedWhichId<XFillBmpPosOffsetXItem>     XATTR_FILLBMP_POSOFFSETX    (XATTR_FILL_FIRST + 17);  // 1031
constexpr TypedWhichId<XFillBmpPosOffsetYItem>     XATTR_FILLBMP_POSOFFSETY    (XATTR_FILL_FIRST + 18);  // 1032
constexpr TypedWhichId<XFillBackgroundItem>        XATTR_FILLBACKGROUND        (XATTR_FILL_FIRST + 19);  // 1033
constexpr TypedWhichId<XFillUseSlideBackgroundItem> XATTR_FILLUSESLIDEBACKGROUND (XATTR_FILL_FIRST + 20);// 1034
constexpr sal_uInt16                               XATTR_FILL_LAST             (XATTR_FILLUSESLIDEBACKGROUND); // 1034
constexpr TypedWhichId<XFillAttrSetItem>           XATTRSET_FILL               (XATTR_FILL_LAST + 1);    // 1035
 
constexpr sal_uInt16                              XATTR_TEXT_FIRST        (XATTRSET_FILL + 1);      // 1036
constexpr TypedWhichId<XFormTextStyleItem>        XATTR_FORMTXTSTYLE      (XATTR_TEXT_FIRST);       // 1036
constexpr TypedWhichId<XFormTextAdjustItem>       XATTR_FORMTXTADJUST     (XATTR_TEXT_FIRST + 1);   // 1037
constexpr TypedWhichId<XFormTextDistanceItem>     XATTR_FORMTXTDISTANCE   (XATTR_TEXT_FIRST + 2);   // 1038
constexpr TypedWhichId<XFormTextStartItem>        XATTR_FORMTXTSTART      (XATTR_TEXT_FIRST + 3);   // 1039
constexpr TypedWhichId<XFormTextMirrorItem>       XATTR_FORMTXTMIRROR     (XATTR_TEXT_FIRST + 4);   // 1040
constexpr TypedWhichId<XFormTextOutlineItem>      XATTR_FORMTXTOUTLINE    (XATTR_TEXT_FIRST + 5);   // 1041
constexpr TypedWhichId<XFormTextShadowItem>       XATTR_FORMTXTSHADOW     (XATTR_TEXT_FIRST + 6);   // 1042
constexpr TypedWhichId<XFormTextShadowColorItem>  XATTR_FORMTXTSHDWCOLOR  (XATTR_TEXT_FIRST + 7);   // 1043
constexpr TypedWhichId<XFormTextShadowXValItem>   XATTR_FORMTXTSHDWXVAL   (XATTR_TEXT_FIRST + 8);   // 1044
constexpr TypedWhichId<XFormTextShadowYValItem>   XATTR_FORMTXTSHDWYVAL   (XATTR_TEXT_FIRST + 9);   // 1045
constexpr TypedWhichId<XFormTextHideFormItem>     XATTR_FORMTXTHIDEFORM   (XATTR_TEXT_FIRST + 10);  // 1046
constexpr TypedWhichId<XFormTextShadowTranspItem> XATTR_FORMTXTSHDWTRANSP (XATTR_TEXT_FIRST + 11);  // 1047
constexpr sal_uInt16                              XATTR_TEXT_LAST         (XATTR_FORMTXTSHDWTRANSP);// 1047
 
constexpr sal_uInt16 XATTR_END = XATTR_TEXT_LAST;                                                   // 1047
 
#endif
 
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

V1043 A global object variable 'XATTR_LINEDASH' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_LINEWIDTH' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_LINECOLOR' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_LINESTART' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_LINEEND' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_LINESTARTWIDTH' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_LINEENDWIDTH' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_LINESTARTCENTER' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_LINEENDCENTER' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_LINETRANSPARENCE' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_LINEJOINT' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_LINECAP' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTRSET_LINE' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FILLCOLOR' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FILLGRADIENT' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FILLHATCH' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FILLBITMAP' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FILLTRANSPARENCE' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_GRADIENTSTEPCOUNT' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FILLBMP_TILE' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FILLBMP_POS' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FILLBMP_SIZEX' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FILLBMP_SIZEY' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FILLFLOATTRANSPARENCE' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_SECONDARYFILLCOLOR' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FILLBMP_SIZELOG' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FILLBMP_TILEOFFSETX' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FILLBMP_TILEOFFSETY' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FILLBMP_STRETCH' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FILLBMP_POSOFFSETX' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FILLBMP_POSOFFSETY' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FILLBACKGROUND' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FILLUSESLIDEBACKGROUND' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTRSET_FILL' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FORMTXTADJUST' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FORMTXTDISTANCE' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FORMTXTSTART' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FORMTXTMIRROR' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FORMTXTOUTLINE' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FORMTXTSHADOW' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FORMTXTSHDWCOLOR' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FORMTXTSHDWXVAL' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FORMTXTSHDWYVAL' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FORMTXTHIDEFORM' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.

V1043 A global object variable 'XATTR_FORMTXTSHDWTRANSP' is declared in the header. Multiple copies of it will be created in all translation units that include this header file.