LCOV - code coverage report
Current view: top level - libreoffice/sc/source/ui/inc - inscodlg.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 3 0.0 %
Date: 2012-12-27 Functions: 0 3 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 SC_INSCODLG_HXX
      21             : #define SC_INSCODLG_HXX
      22             : 
      23             : #include <vcl/dialog.hxx>
      24             : #include <vcl/button.hxx>
      25             : #include <vcl/fixed.hxx>
      26             : #include "global.hxx"
      27             : 
      28             : //------------------------------------------------------------------------
      29             : #include "scui_def.hxx"
      30             : 
      31             : class ScInsertContentsDlg : public ModalDialog
      32             : {
      33             : public:
      34             :             ScInsertContentsDlg( Window*        pParent,
      35             :                                  sal_uInt16         nCheckDefaults = 0,
      36             :                                  const String*  pStrTitle = NULL );
      37             :             ~ScInsertContentsDlg();
      38             : 
      39             :     sal_uInt16      GetInsContentsCmdBits() const;
      40             :     sal_uInt16      GetFormulaCmdBits() const;
      41           0 :     sal_Bool        IsSkipEmptyCells() const {return aBtnSkipEmptyCells.IsChecked();}
      42           0 :     sal_Bool        IsTranspose() const {return aBtnTranspose.IsChecked();}
      43           0 :     sal_Bool        IsLink() const {return aBtnLink.IsChecked();}
      44             :     InsCellCmd  GetMoveMode();
      45             : 
      46             :     void    SetOtherDoc( sal_Bool bSet );
      47             :     void    SetFillMode( sal_Bool bSet );
      48             :     void    SetChangeTrack( sal_Bool bSet );
      49             :     void    SetCellShiftDisabled( int nDisable );
      50             : 
      51             : private:
      52             :     FixedLine       aFlFrame;
      53             :     CheckBox        aBtnInsAll;
      54             :     CheckBox        aBtnInsStrings;
      55             :     CheckBox        aBtnInsNumbers;
      56             :     CheckBox        aBtnInsDateTime;
      57             :     CheckBox        aBtnInsFormulas;
      58             :     CheckBox        aBtnInsNotes;
      59             :     CheckBox        aBtnInsAttrs;
      60             :     CheckBox        aBtnInsObjects;
      61             : 
      62             :     FixedLine       aFlSep1;
      63             :     FixedLine       aFlOptions;
      64             :     CheckBox        aBtnSkipEmptyCells;
      65             :     CheckBox        aBtnTranspose;
      66             :     CheckBox        aBtnLink;
      67             : 
      68             :     FixedLine       aFlOperation;
      69             :     RadioButton     aRbNoOp;
      70             :     RadioButton     aRbAdd;
      71             :     RadioButton     aRbSub;
      72             :     RadioButton     aRbMul;
      73             :     RadioButton     aRbDiv;
      74             : 
      75             :     FixedLine       aFlSep2;
      76             :     FixedLine       aFlMove;
      77             :     RadioButton     aRbMoveNone;
      78             :     RadioButton     aRbMoveDown;
      79             :     RadioButton     aRbMoveRight;
      80             : 
      81             :     OKButton        aBtnOk;
      82             :     CancelButton    aBtnCancel;
      83             :     HelpButton      aBtnHelp;
      84             : 
      85             :     sal_Bool            bOtherDoc;
      86             :     sal_Bool            bFillMode;
      87             :     sal_Bool            bChangeTrack;
      88             :     sal_Bool            bMoveDownDisabled;
      89             :     sal_Bool            bMoveRightDisabled;
      90             : 
      91             :     static sal_Bool     bPreviousAllCheck;
      92             :     static sal_uInt16   nPreviousChecks;
      93             :     static sal_uInt16   nPreviousChecks2;
      94             :     static sal_uInt16   nPreviousFormulaChecks;
      95             :     static sal_uInt16   nPreviousMoveMode;          // enum InsCellCmd
      96             : 
      97             :     void DisableChecks( sal_Bool bInsAllChecked = sal_True );
      98             :     void TestModes();
      99             : 
     100             :     // Handler
     101             :     DECL_LINK( InsAllHdl, void* );
     102             :     DECL_LINK( LinkBtnHdl, void* );
     103             : };
     104             : 
     105             : 
     106             : #endif // SC_INSCODLG_HXX
     107             : 
     108             : 
     109             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10