LCOV - code coverage report
Current view: top level - sd/source/ui/inc - assclass.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 1 0.0 %
Date: 2012-08-25 Functions: 0 1 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2                 :            : /*************************************************************************
       3                 :            :  *
       4                 :            :  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       5                 :            :  *
       6                 :            :  * Copyright 2000, 2010 Oracle and/or its affiliates.
       7                 :            :  *
       8                 :            :  * OpenOffice.org - a multi-platform office productivity suite
       9                 :            :  *
      10                 :            :  * This file is part of OpenOffice.org.
      11                 :            :  *
      12                 :            :  * OpenOffice.org is free software: you can redistribute it and/or modify
      13                 :            :  * it under the terms of the GNU Lesser General Public License version 3
      14                 :            :  * only, as published by the Free Software Foundation.
      15                 :            :  *
      16                 :            :  * OpenOffice.org is distributed in the hope that it will be useful,
      17                 :            :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      18                 :            :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      19                 :            :  * GNU Lesser General Public License version 3 for more details
      20                 :            :  * (a copy is included in the LICENSE file that accompanied this code).
      21                 :            :  *
      22                 :            :  * You should have received a copy of the GNU Lesser General Public License
      23                 :            :  * version 3 along with OpenOffice.org.  If not, see
      24                 :            :  * <http://www.openoffice.org/license.html>
      25                 :            :  * for a copy of the LGPLv3 License.
      26                 :            :  *
      27                 :            :  ************************************************************************/
      28                 :            : 
      29                 :            : #ifndef INC_ASSCLASS
      30                 :            : #define INC_ASSCLASS
      31                 :            : 
      32                 :            : #include <vector>
      33                 :            : #include <boost/scoped_array.hpp>
      34                 :            : 
      35                 :            : #include <tools/solar.h>
      36                 :            : #include "sddllapi.h"
      37                 :            : 
      38                 :            : #define MAX_PAGES 10
      39                 :            : 
      40                 :            : class Control;
      41                 :            : 
      42                 :          0 : class SD_DLLPUBLIC Assistent
      43                 :            : {
      44                 :            :     std::vector<Control*> maPages[MAX_PAGES];
      45                 :            :         //enthaelt fuer jede Seite die Controls die
      46                 :            :         //korrekt geschaltet werden muessen
      47                 :            : 
      48                 :            :     int mnPages;
      49                 :            :         //gibt die Anzahl der Seiten an
      50                 :            : 
      51                 :            :     int mnCurrentPage;
      52                 :            :         //gibt die aktuelle Seite an
      53                 :            : 
      54                 :            :     boost::scoped_array<bool> mpPageStatus;
      55                 :            : 
      56                 :            : public:
      57                 :            : 
      58                 :            :     Assistent(int nNoOfPage);
      59                 :            : 
      60                 :            :     bool IsEnabled ( int nPage ) const;
      61                 :            :     void EnablePage( int nPage );
      62                 :            :     void DisablePage( int nPage );
      63                 :            : 
      64                 :            :     bool InsertControl(int nDestPage,Control* pUsedControl);
      65                 :            :         //fuegt einer spezifizierten Seite ein Control hinzu
      66                 :            : 
      67                 :            :     bool NextPage();
      68                 :            :         //springt zur naechsten Seite
      69                 :            : 
      70                 :            :     bool PreviousPage();
      71                 :            :         //springt zur vorherigen Seite
      72                 :            : 
      73                 :            :     bool GotoPage(const int nPageToGo);
      74                 :            :         //springt zu einer angegebenen Seite
      75                 :            : 
      76                 :            :     bool IsLastPage() const;
      77                 :            :         //gibt an ob die aktuelle Seite die letzte ist
      78                 :            : 
      79                 :            :     bool IsFirstPage() const;
      80                 :            :         //gibt an ob die aktuelle Seite die erste ist
      81                 :            : 
      82                 :            :     int  GetCurrentPage() const;
      83                 :            :         //gibt die aktuelle Seite zurueck
      84                 :            : };
      85                 :            : 
      86                 :            : 
      87                 :            : #endif
      88                 :            : 
      89                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10