LCOV - code coverage report
Current view: top level - usr/local/src/libreoffice/sc/source/ui/inc - scuiautofmt.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 1 0.0 %
Date: 2013-07-09 Functions: 0 1 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             : #ifndef SCUI_AUTOFMT_HXX
      20             : #define SCUI_AUTOFMT_HXX
      21             : #include "autofmt.hxx"
      22             : 
      23             : class ScAutoFormatDlg : public ModalDialog
      24             : {
      25             : public:
      26             :             ScAutoFormatDlg( Window*                    pParent,
      27             :                              ScAutoFormat*              pAutoFormat,
      28             :                              const ScAutoFormatData*    pSelFormatData,
      29             :                              ScDocument*                pDoc );
      30             :             ~ScAutoFormatDlg();
      31             : 
      32           0 :     sal_uInt16 GetIndex() const { return nIndex; }
      33             :     OUString GetCurrFormatName();
      34             : 
      35             : private:
      36             :     FixedLine       aFlFormat;
      37             :     ListBox         aLbFormat;
      38             :     ScAutoFmtPreview*   pWndPreview;
      39             :     OKButton        aBtnOk;
      40             :     CancelButton    aBtnCancel;
      41             :     HelpButton      aBtnHelp;
      42             :     PushButton      aBtnAdd;
      43             :     PushButton      aBtnRemove;
      44             :     MoreButton      aBtnMore;
      45             :     FixedLine       aFlFormatting;
      46             :     CheckBox        aBtnNumFormat;
      47             :     CheckBox        aBtnBorder;
      48             :     CheckBox        aBtnFont;
      49             :     CheckBox        aBtnPattern;
      50             :     CheckBox        aBtnAlignment;
      51             :     CheckBox        aBtnAdjust;
      52             :     PushButton      aBtnRename;
      53             :     String          aStrTitle;
      54             :     String          aStrLabel;
      55             :     String          aStrClose;
      56             :     String          aStrDelTitle;
      57             :     String          aStrDelMsg;
      58             :     String          aStrRename;
      59             : 
      60             :     //------------------------
      61             :     ScAutoFormat*           pFormat;
      62             :     const ScAutoFormatData* pSelFmtData;
      63             :     sal_uInt16                  nIndex;
      64             :     bool                    bCoreDataChanged;
      65             :     bool                    bFmtInserted;
      66             : 
      67             :     void Init           ();
      68             :     void UpdateChecks   ();
      69             :     //------------------------
      70             :     DECL_LINK( CheckHdl, Button * );
      71             :     DECL_LINK( AddHdl, void * );
      72             :     DECL_LINK( RemoveHdl, void * );
      73             :     DECL_LINK( SelFmtHdl, void * );
      74             :     DECL_LINK( CloseHdl, PushButton * );
      75             :     DECL_LINK( DblClkHdl, void * );
      76             :     DECL_LINK( RenameHdl, void *);
      77             : 
      78             : };
      79             : #endif
      80             : 
      81             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10