LCOV - code coverage report
Current view: top level - sd/source/ui/inc - custsdlg.hxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 0 2 0.0 %
Date: 2014-11-03 Functions: 0 2 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_SD_SOURCE_UI_INC_CUSTSDLG_HXX
      21             : #define INCLUDED_SD_SOURCE_UI_INC_CUSTSDLG_HXX
      22             : 
      23             : #include <vcl/button.hxx>
      24             : #include <vcl/lstbox.hxx>
      25             : #include <vcl/fixed.hxx>
      26             : #include <vcl/edit.hxx>
      27             : #include <svtools/treelistbox.hxx>
      28             : #include <vcl/dialog.hxx>
      29             : 
      30             : class SdDrawDocument;
      31             : class SdCustomShow;
      32             : class SdCustomShowList;
      33             : 
      34             : class SdCustomShowDlg : public ModalDialog
      35             : {
      36             : private:
      37             :     ListBox*         m_pLbCustomShows;
      38             :     CheckBox*        m_pCbxUseCustomShow;
      39             :     PushButton*      m_pBtnNew;
      40             :     PushButton*      m_pBtnEdit;
      41             :     PushButton*      m_pBtnRemove;
      42             :     PushButton*      m_pBtnCopy;
      43             :     HelpButton*      m_pBtnHelp;
      44             :     PushButton*      m_pBtnStartShow;
      45             :     OKButton*        m_pBtnOK;
      46             : 
      47             :     SdDrawDocument& rDoc;
      48             :     SdCustomShowList* pCustomShowList;
      49             :     SdCustomShow*   pCustomShow;
      50             :     bool            bModified;
      51             : 
      52             :     void            CheckState();
      53             : 
      54             :     DECL_LINK( ClickButtonHdl, void * );
      55             :     DECL_LINK( StartShowHdl, void* );
      56             : 
      57             : public:
      58             :                 SdCustomShowDlg( vcl::Window* pWindow, SdDrawDocument& rDrawDoc );
      59             :                 virtual ~SdCustomShowDlg();
      60             : 
      61           0 :     bool        IsModified() const { return( bModified ); }
      62             :     bool        IsCustomShow() const;
      63             : };
      64             : 
      65             : class SdDefineCustomShowDlg : public ModalDialog
      66             : {
      67             : private:
      68             :     Edit*            m_pEdtName;
      69             :     ListBox*         m_pLbPages;
      70             :     PushButton*      m_pBtnAdd;
      71             :     PushButton*      m_pBtnRemove;
      72             :     SvTreeListBox*   m_pLbCustomPages;
      73             :     OKButton*        m_pBtnOK;
      74             :     CancelButton*    m_pBtnCancel;
      75             :     HelpButton*      m_pBtnHelp;
      76             : 
      77             :     SdDrawDocument& rDoc;
      78             :     SdCustomShow*&  rpCustomShow;
      79             :     bool            bModified;
      80             :     OUString        aOldName;
      81             : 
      82             :     void            CheckState();
      83             :     void            CheckCustomShow();
      84             : 
      85             :     DECL_LINK( ClickButtonHdl, void * );
      86             :     DECL_LINK( OKHdl, void * );
      87             : 
      88             : public:
      89             : 
      90             :                     SdDefineCustomShowDlg( vcl::Window* pWindow,
      91             :                             SdDrawDocument& rDrawDoc, SdCustomShow*& rpCS );
      92             :                     virtual ~SdDefineCustomShowDlg();
      93             : 
      94           0 :     bool            IsModified() const { return( bModified ); }
      95             : };
      96             : 
      97             : #endif // INCLUDED_SD_SOURCE_UI_INC_CUSTSDLG_HXX
      98             : 
      99             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10