LCOV - code coverage report
Current view: top level - libreoffice/sd/source/ui/inc - custsdlg.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 2 0.0 %
Date: 2012-12-27 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 _SD_CUSTSDLG_HXX
      22             : #define _SD_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         aLbCustomShows;
      41             :     CheckBox        aCbxUseCustomShow;
      42             :     PushButton      aBtnNew;
      43             :     PushButton      aBtnEdit;
      44             :     PushButton      aBtnRemove;
      45             :     PushButton      aBtnCopy;
      46             :     HelpButton      aBtnHelp;
      47             :     PushButton      aBtnStartShow;
      48             :     OKButton        aBtnOK;
      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             :                 ~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             :     FixedText       aFtName;
      75             :     Edit            aEdtName;
      76             :     FixedText       aFtPages;
      77             :     MultiListBox    aLbPages;
      78             :     PushButton      aBtnAdd;
      79             :     PushButton      aBtnRemove;
      80             :     FixedText       aFtCustomPages;
      81             :     SvTreeListBox   aLbCustomPages;
      82             :     OKButton        aBtnOK;
      83             :     CancelButton    aBtnCancel;
      84             :     HelpButton      aBtnHelp;
      85             : 
      86             :     SdDrawDocument& rDoc;
      87             :     SdCustomShow*&  rpCustomShow;
      88             :     sal_Bool            bModified;
      89             :     String          aOldName;
      90             : 
      91             :     void            CheckState();
      92             :     void            CheckCustomShow();
      93             : 
      94             :     DECL_LINK( ClickButtonHdl, void * );
      95             :     DECL_LINK( OKHdl, void * );
      96             : 
      97             : public:
      98             : 
      99             :                     SdDefineCustomShowDlg( Window* pWindow,
     100             :                             SdDrawDocument& rDrawDoc, SdCustomShow*& rpCS );
     101             :                     ~SdDefineCustomShowDlg();
     102             : 
     103           0 :     sal_Bool            IsModified() const { return( bModified ); }
     104             : };
     105             : 
     106             : #endif // _SD_CUSTSDLG_HXX
     107             : 
     108             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10