LCOV - code coverage report
Current view: top level - include/svx - svx3ditems.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 56 0.0 %
Date: 2014-04-14 Functions: 0 119 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  *
       9             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : #ifndef INCLUDED_SVX_SVX3DITEMS_HXX
      20             : #define INCLUDED_SVX_SVX3DITEMS_HXX
      21             : 
      22             : #include <svl/intitem.hxx>
      23             : #include <svl/eitem.hxx>
      24             : 
      25             : 
      26             : #include <editeng/colritem.hxx>
      27             : #include <svx/e3ditem.hxx>
      28             : #include <svx/viewpt3d.hxx>
      29             : #include <svx/svddef.hxx>
      30             : #include <svx/svxdllapi.h>
      31             : 
      32             : // Svx3D _3DOBJ_ Items
      33           0 : class SVX_DLLPUBLIC Svx3DPercentDiagonalItem : public SfxUInt16Item {
      34             : public:
      35             :     Svx3DPercentDiagonalItem(sal_uInt16 nVal = 10);
      36             : };
      37             : 
      38           0 : class Svx3DBackscaleItem : public SfxUInt16Item {
      39             : public:
      40             :     SVX_DLLPUBLIC Svx3DBackscaleItem(sal_uInt16 nVal = 100);
      41             : };
      42             : 
      43           0 : class Svx3DDepthItem : public SfxUInt32Item {
      44             : public:
      45             :     SVX_DLLPUBLIC Svx3DDepthItem(sal_uInt32 nVal = 1000);
      46             : };
      47             : 
      48           0 : class SVX_DLLPUBLIC Svx3DHorizontalSegmentsItem : public SfxUInt32Item {
      49             : public:
      50             :     Svx3DHorizontalSegmentsItem(sal_uInt32 nVal = 24);
      51             : };
      52             : 
      53           0 : class Svx3DVerticalSegmentsItem : public SfxUInt32Item {
      54             : public:
      55             :     SVX_DLLPUBLIC Svx3DVerticalSegmentsItem(sal_uInt32 nVal = 24);
      56             : };
      57             : 
      58           0 : class Svx3DEndAngleItem : public SfxUInt32Item {
      59             : public:
      60             :     SVX_DLLPUBLIC Svx3DEndAngleItem(sal_uInt32 nVal = 3600);
      61             : };
      62             : 
      63           0 : class SVX_DLLPUBLIC Svx3DDoubleSidedItem : public SfxBoolItem {
      64             : public:
      65             :     Svx3DDoubleSidedItem(bool bVal = false);
      66             : };
      67             : 
      68             : // #i28528#
      69             : // Added extra Item (Bool) for chart2 to be able to show reduced line geometry
      70           0 : class Svx3DReducedLineGeometryItem : public SfxBoolItem {
      71             : public:
      72             :     Svx3DReducedLineGeometryItem(bool bVal = false);
      73             :     virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const SAL_OVERRIDE;
      74             :     virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const SAL_OVERRIDE;
      75             : };
      76             : 
      77           0 : class SVX_DLLPUBLIC Svx3DNormalsKindItem : public SfxUInt16Item {
      78             : public:
      79             :     Svx3DNormalsKindItem(sal_uInt16 nVal = 0);
      80             : 
      81             :     // use drawing::NormalsKind
      82             :     SVX_DLLPRIVATE virtual  bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const SAL_OVERRIDE;
      83             :     SVX_DLLPRIVATE virtual  bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) SAL_OVERRIDE;
      84             :     SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const SAL_OVERRIDE;
      85             : };
      86             : 
      87           0 : class Svx3DNormalsInvertItem : public SfxBoolItem {
      88             : public:
      89             :     SVX_DLLPUBLIC Svx3DNormalsInvertItem(bool bVal = false);
      90             : };
      91             : 
      92           0 : class SVX_DLLPUBLIC Svx3DTextureProjectionXItem : public SfxUInt16Item {
      93             : public:
      94             :     Svx3DTextureProjectionXItem(sal_uInt16 nVal = 0);
      95             : 
      96             :     // use drawing::TextureProjectionMode
      97             :     SVX_DLLPRIVATE virtual  bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const SAL_OVERRIDE;
      98             :     SVX_DLLPRIVATE virtual  bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) SAL_OVERRIDE;
      99             :     SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const SAL_OVERRIDE;
     100             : };
     101             : 
     102           0 : class SVX_DLLPUBLIC Svx3DTextureProjectionYItem : public SfxUInt16Item {
     103             : public:
     104             :     Svx3DTextureProjectionYItem(sal_uInt16 nVal = 0);
     105             : 
     106             :     // use drawing::TextureProjectionMode
     107             :     virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const SAL_OVERRIDE;
     108             :     virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) SAL_OVERRIDE;
     109             :     virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const SAL_OVERRIDE;
     110             : };
     111             : 
     112           0 : class Svx3DShadow3DItem : public SfxBoolItem {
     113             : public:
     114             :     SVX_DLLPUBLIC Svx3DShadow3DItem(bool bVal = false);
     115             : };
     116             : 
     117           0 : class Svx3DMaterialColorItem : public SvxColorItem {
     118             : public:
     119             :     Svx3DMaterialColorItem(const Color& rCol = Color(0x0000b8ff));
     120             : };
     121             : 
     122           0 : class Svx3DMaterialEmissionItem : public SvxColorItem {
     123             : public:
     124             :     SVX_DLLPUBLIC Svx3DMaterialEmissionItem(const Color& rCol = Color(0x00000000));
     125             : };
     126             : 
     127           0 : class Svx3DMaterialSpecularItem : public SvxColorItem {
     128             : public:
     129             :     SVX_DLLPUBLIC Svx3DMaterialSpecularItem(const Color& rCol = Color(0x00ffffff));
     130             : };
     131             : 
     132           0 : class Svx3DMaterialSpecularIntensityItem : public SfxUInt16Item {
     133             : public:
     134             :     SVX_DLLPUBLIC Svx3DMaterialSpecularIntensityItem(sal_uInt16 nVal = 15);
     135             : };
     136             : 
     137           0 : class SVX_DLLPUBLIC Svx3DTextureKindItem : public SfxUInt16Item {
     138             : public:
     139             :     Svx3DTextureKindItem(sal_uInt16 nVal = 3);
     140             : 
     141             :     // use drawing::TextureKind
     142             :     SVX_DLLPRIVATE virtual  bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const SAL_OVERRIDE;
     143             :     SVX_DLLPRIVATE virtual  bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) SAL_OVERRIDE;
     144             :     SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const SAL_OVERRIDE;
     145             : };
     146             : 
     147           0 : class SVX_DLLPUBLIC Svx3DTextureModeItem : public SfxUInt16Item {
     148             : public:
     149             :     Svx3DTextureModeItem(sal_uInt16 nVal = 2);
     150             : 
     151             :     // use drawing:TextureMode
     152             :     SVX_DLLPRIVATE virtual  bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const SAL_OVERRIDE;
     153             :     SVX_DLLPRIVATE virtual  bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) SAL_OVERRIDE;
     154             :     SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const SAL_OVERRIDE;
     155             : };
     156             : 
     157           0 : class Svx3DTextureFilterItem : public SfxBoolItem {
     158             : public:
     159             :     SVX_DLLPUBLIC Svx3DTextureFilterItem(bool bVal = false);
     160             : };
     161             : 
     162             : // Svx3D _3DSCENE_ Items
     163           0 : class SVX_DLLPUBLIC Svx3DPerspectiveItem : public SfxUInt16Item {
     164             : public:
     165             :     Svx3DPerspectiveItem(sal_uInt16 nVal = (sal_uInt16)PR_PERSPECTIVE);
     166             : 
     167             :     // use drawing::ProjectionMode
     168             :     SVX_DLLPRIVATE virtual  bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const SAL_OVERRIDE;
     169             :     SVX_DLLPRIVATE virtual  bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) SAL_OVERRIDE;
     170             :     SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const SAL_OVERRIDE;
     171             : };
     172             : 
     173           0 : class Svx3DDistanceItem : public SfxUInt32Item {
     174             : public:
     175             :     SVX_DLLPUBLIC Svx3DDistanceItem(sal_uInt32 nVal = 100);
     176             : };
     177             : 
     178           0 : class Svx3DFocalLengthItem : public SfxUInt32Item {
     179             : public:
     180             :     SVX_DLLPUBLIC Svx3DFocalLengthItem(sal_uInt32 nVal = 100);
     181             : };
     182             : 
     183           0 : class Svx3DTwoSidedLightingItem : public SfxBoolItem {
     184             : public:
     185             :     SVX_DLLPUBLIC Svx3DTwoSidedLightingItem(bool bVal = false);
     186             : };
     187             : 
     188           0 : class SVX_DLLPUBLIC Svx3DLightcolor1Item : public SvxColorItem {
     189             : public:
     190             :     Svx3DLightcolor1Item(const Color& rCol = Color(0xffcccccc));
     191             : };
     192             : 
     193           0 : class SVX_DLLPUBLIC Svx3DLightcolor2Item : public SvxColorItem {
     194             : public:
     195             :     Svx3DLightcolor2Item(const Color& rCol = Color(0x00000000));
     196             : };
     197             : 
     198           0 : class SVX_DLLPUBLIC Svx3DLightcolor3Item : public SvxColorItem {
     199             : public:
     200             :     Svx3DLightcolor3Item(const Color& rCol = Color(0x00000000));
     201             : };
     202             : 
     203           0 : class SVX_DLLPUBLIC Svx3DLightcolor4Item : public SvxColorItem {
     204             : public:
     205             :     Svx3DLightcolor4Item(const Color& rCol = Color(0x00000000));
     206             : };
     207             : 
     208           0 : class SVX_DLLPUBLIC Svx3DLightcolor5Item : public SvxColorItem {
     209             : public:
     210             :     Svx3DLightcolor5Item(const Color& rCol = Color(0x00000000));
     211             : };
     212             : 
     213           0 : class SVX_DLLPUBLIC Svx3DLightcolor6Item : public SvxColorItem {
     214             : public:
     215             :     Svx3DLightcolor6Item(const Color& rCol = Color(0x00000000));
     216             : };
     217             : 
     218           0 : class SVX_DLLPUBLIC Svx3DLightcolor7Item : public SvxColorItem {
     219             : public:
     220             :     Svx3DLightcolor7Item(const Color& rCol = Color(0x00000000));
     221             : };
     222             : 
     223           0 : class SVX_DLLPUBLIC Svx3DLightcolor8Item : public SvxColorItem {
     224             : public:
     225             :     Svx3DLightcolor8Item(const Color& rCol = Color(0x00000000));
     226             : };
     227             : 
     228           0 : class SVX_DLLPUBLIC Svx3DAmbientcolorItem : public SvxColorItem {
     229             : public:
     230             :     Svx3DAmbientcolorItem(const Color& rCol = Color(0x00666666));
     231             : };
     232             : 
     233           0 : class SVX_DLLPUBLIC Svx3DLightOnOff1Item : public SfxBoolItem {
     234             : public:
     235             :     Svx3DLightOnOff1Item(bool bVal = true);
     236             : };
     237             : 
     238           0 : class SVX_DLLPUBLIC Svx3DLightOnOff2Item : public SfxBoolItem {
     239             : public:
     240             :     Svx3DLightOnOff2Item(bool bVal = false);
     241             : };
     242             : 
     243           0 : class SVX_DLLPUBLIC Svx3DLightOnOff3Item : public SfxBoolItem {
     244             : public:
     245             :     Svx3DLightOnOff3Item(bool bVal = false);
     246             : };
     247             : 
     248           0 : class SVX_DLLPUBLIC Svx3DLightOnOff4Item : public SfxBoolItem {
     249             : public:
     250             :     Svx3DLightOnOff4Item(bool bVal = false);
     251             : };
     252             : 
     253           0 : class SVX_DLLPUBLIC Svx3DLightOnOff5Item : public SfxBoolItem {
     254             : public:
     255             :     Svx3DLightOnOff5Item(bool bVal = false);
     256             : };
     257             : 
     258           0 : class SVX_DLLPUBLIC Svx3DLightOnOff6Item : public SfxBoolItem {
     259             : public:
     260             :     Svx3DLightOnOff6Item(bool bVal = false);
     261             : };
     262             : 
     263           0 : class SVX_DLLPUBLIC Svx3DLightOnOff7Item : public SfxBoolItem {
     264             : public:
     265             :     Svx3DLightOnOff7Item(bool bVal = false);
     266             : };
     267             : 
     268           0 : class SVX_DLLPUBLIC Svx3DLightOnOff8Item : public SfxBoolItem {
     269             : public:
     270             :     Svx3DLightOnOff8Item(bool bVal = false);
     271             : };
     272             : 
     273           0 : class SVX_DLLPUBLIC Svx3DLightDirection1Item : public SvxB3DVectorItem {
     274             : public:
     275             :     Svx3DLightDirection1Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.57735026918963, 0.57735026918963, 0.57735026918963));
     276             : };
     277             : 
     278           0 : class SVX_DLLPUBLIC Svx3DLightDirection2Item : public SvxB3DVectorItem {
     279             : public:
     280             :     Svx3DLightDirection2Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.0,0.0,1.0));
     281             : };
     282             : 
     283           0 : class SVX_DLLPUBLIC Svx3DLightDirection3Item : public SvxB3DVectorItem {
     284             : public:
     285             :     Svx3DLightDirection3Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.0,0.0,1.0));
     286             : };
     287             : 
     288           0 : class SVX_DLLPUBLIC Svx3DLightDirection4Item : public SvxB3DVectorItem {
     289             : public:
     290             :     Svx3DLightDirection4Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.0,0.0,1.0));
     291             : };
     292             : 
     293           0 : class SVX_DLLPUBLIC Svx3DLightDirection5Item : public SvxB3DVectorItem {
     294             : public:
     295             :     Svx3DLightDirection5Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.0,0.0,1.0));
     296             : };
     297             : 
     298           0 : class SVX_DLLPUBLIC Svx3DLightDirection6Item : public SvxB3DVectorItem {
     299             : public:
     300             :     Svx3DLightDirection6Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.0,0.0,1.0));
     301             : };
     302             : 
     303           0 : class SVX_DLLPUBLIC Svx3DLightDirection7Item : public SvxB3DVectorItem {
     304             : public:
     305             :     Svx3DLightDirection7Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.0,0.0,1.0));
     306             : };
     307             : 
     308           0 : class SVX_DLLPUBLIC Svx3DLightDirection8Item : public SvxB3DVectorItem {
     309             : public:
     310             :     Svx3DLightDirection8Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.0,0.0,1.0));
     311             : };
     312             : 
     313           0 : class Svx3DShadowSlantItem : public SfxUInt16Item {
     314             : public:
     315             :     SVX_DLLPUBLIC Svx3DShadowSlantItem(sal_uInt16 nVal = 0);
     316             : };
     317             : 
     318           0 : class SVX_DLLPUBLIC Svx3DShadeModeItem : public SfxUInt16Item {
     319             : public:
     320             :     Svx3DShadeModeItem(sal_uInt16 nVal = 2);
     321             : 
     322             :     // use drawing::ShadeMode
     323             :     SVX_DLLPRIVATE virtual  bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const SAL_OVERRIDE;
     324             :     SVX_DLLPRIVATE virtual  bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) SAL_OVERRIDE;
     325             :     SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const SAL_OVERRIDE;
     326             : };
     327             : 
     328             : 
     329             : // #107245# Item to replace bExtrudeSmoothed and bLatheSmoothed
     330           0 : class Svx3DSmoothNormalsItem : public SfxBoolItem {
     331             : public:
     332             :     Svx3DSmoothNormalsItem(bool bVal = true);
     333             :     virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const SAL_OVERRIDE;
     334             :     virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const SAL_OVERRIDE;
     335             : };
     336             : 
     337             : // #107245# Item to replace bExtrudeSmoothFrontBack and bLatheSmoothFrontBack
     338           0 : class Svx3DSmoothLidsItem : public SfxBoolItem {
     339             : public:
     340             :     Svx3DSmoothLidsItem(bool bVal = false);
     341             :     virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const SAL_OVERRIDE;
     342             :     virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const SAL_OVERRIDE;
     343             : };
     344             : 
     345             : // #107245# Item to replace bExtrudeCharacterMode and bLatheCharacterMode
     346           0 : class Svx3DCharacterModeItem : public SfxBoolItem {
     347             : public:
     348             :     Svx3DCharacterModeItem(bool bVal = false);
     349             :     virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const SAL_OVERRIDE;
     350             :     virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const SAL_OVERRIDE;
     351             : };
     352             : 
     353             : // #107245# Item to replace bExtrudeCloseFront and bLatheCloseFront
     354           0 : class SVX_DLLPUBLIC Svx3DCloseFrontItem : public SfxBoolItem {
     355             : public:
     356             :     Svx3DCloseFrontItem(bool bVal = true);
     357             :     SVX_DLLPRIVATE virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const SAL_OVERRIDE;
     358             :     SVX_DLLPRIVATE virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const SAL_OVERRIDE;
     359             : };
     360             : 
     361             : // #107245# Item to replace bExtrudeCloseBack and bLatheCloseBack
     362           0 : class SVX_DLLPUBLIC Svx3DCloseBackItem : public SfxBoolItem {
     363             : public:
     364             :     Svx3DCloseBackItem(bool bVal = true);
     365             :     SVX_DLLPRIVATE virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const SAL_OVERRIDE;
     366             :     SVX_DLLPRIVATE virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const SAL_OVERRIDE;
     367             : };
     368             : 
     369             : #endif // INCLUDED_SVX_SVX3DITEMS_HXX
     370             : 
     371             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10