LCOV - code coverage report
Current view: top level - include/svx - contdlg.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 3 0.0 %
Date: 2014-04-14 Functions: 0 5 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             : 
      20             : #ifndef INCLUDED_SVX_CONTDLG_HXX
      21             : #define INCLUDED_SVX_CONTDLG_HXX
      22             : 
      23             : #include <sfx2/basedlgs.hxx>
      24             : #include <sfx2/ctrlitem.hxx>
      25             : #include <sfx2/childwin.hxx>
      26             : #include <svx/svxdllapi.h>
      27             : 
      28             : /*************************************************************************
      29             : |*
      30             : |* Derivation from SfxChildWindow as "container" for Float
      31             : |*
      32             : \************************************************************************/
      33             : 
      34             : class Graphic;
      35             : 
      36           0 : class SVX_DLLPUBLIC SvxContourDlgChildWindow : public SfxChildWindow
      37             : {
      38             :  public:
      39             : 
      40             :     SvxContourDlgChildWindow( Window*, sal_uInt16, SfxBindings*, SfxChildWinInfo* );
      41             : 
      42             :     SFX_DECL_CHILDWINDOW_WITHID( SvxContourDlgChildWindow );
      43             : };
      44             : 
      45             : #ifndef _REDUCED_ContourDlg_HXX_
      46             : #define _REDUCED INCLUDED_SVX_CONTDLG_HXX
      47             : 
      48             : class SvxSuperContourDlg;
      49             : 
      50           0 : class SvxContourDlgItem : public SfxControllerItem
      51             : {
      52             :     SvxSuperContourDlg& rDlg;
      53             : 
      54             : protected:
      55             : 
      56             :     virtual void        StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE;
      57             : 
      58             : public:
      59             : 
      60             :                         SvxContourDlgItem( sal_uInt16 nId, SvxSuperContourDlg& rDlg, SfxBindings& rBindings );
      61             : };
      62             : 
      63             : class SVX_DLLPUBLIC SvxContourDlg : public SfxFloatingWindow
      64             : {
      65             :     using Window::Update;
      66             : 
      67             :     SvxSuperContourDlg* pSuperClass;
      68             : 
      69             : 
      70             : protected:
      71             : 
      72           0 :     void                SetSuperClass( SvxSuperContourDlg& rSuperClass ) { pSuperClass = &rSuperClass; }
      73             : 
      74             : public:
      75             : 
      76             :                         SvxContourDlg( SfxBindings *pBindings, SfxChildWindow *pCW,
      77             :                                        Window* pParent, const ResId& rResId );
      78             :                         virtual ~SvxContourDlg();
      79             : 
      80             :     const Graphic&      GetGraphic() const;
      81             :     bool                IsGraphicChanged() const;
      82             : 
      83             :     PolyPolygon         GetPolyPolygon();
      84             : 
      85             :     const void*         GetEditingObject() const;
      86             : 
      87             :     void                Update( const Graphic& rGraphic, bool bGraphicLinked,
      88             :                                 const PolyPolygon* pPolyPoly = NULL, void* pEditingObj = NULL );
      89             : 
      90             :     static PolyPolygon  CreateAutoContour(  const Graphic& rGraphic,
      91             :                                             const Rectangle* pRect = NULL,
      92             :                                             const sal_uIntPtr nFlags = 0L );
      93             : };
      94             : 
      95             : #endif // _REDUCED INCLUDED_SVX_CONTDLG_HXX
      96             : #endif // INCLUDED_SVX_CONTDLG_HXX
      97             : 
      98             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10