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

Generated by: LCOV version 1.10