LCOV - code coverage report
Current view: top level - sc/source/ui/inc - scuiautofmt.hxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 0 2 0.0 %
Date: 2014-11-03 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             : #ifndef INCLUDED_SC_SOURCE_UI_INC_SCUIAUTOFMT_HXX
      20             : #define INCLUDED_SC_SOURCE_UI_INC_SCUIAUTOFMT_HXX
      21             : #include "autofmt.hxx"
      22             : 
      23           0 : class ScAutoFormatDlg : public ModalDialog
      24             : {
      25             : public:
      26             :     ScAutoFormatDlg(vcl::Window* pParent,
      27             :                     ScAutoFormat* pAutoFormat,
      28             :                     const ScAutoFormatData* pSelFormatData,
      29             :                     ScViewData *pViewData);
      30             : 
      31           0 :     sal_uInt16 GetIndex() const { return nIndex; }
      32             :     OUString GetCurrFormatName();
      33             : 
      34             : private:
      35             :     ListBox*        m_pLbFormat;
      36             :     ScAutoFmtPreview* m_pWndPreview;
      37             :     OKButton*       m_pBtnOk;
      38             :     CancelButton*   m_pBtnCancel;
      39             :     PushButton*     m_pBtnAdd;
      40             :     PushButton*     m_pBtnRemove;
      41             :     PushButton*     m_pBtnRename;
      42             :     CheckBox*       m_pBtnNumFormat;
      43             :     CheckBox*       m_pBtnBorder;
      44             :     CheckBox*       m_pBtnFont;
      45             :     CheckBox*       m_pBtnPattern;
      46             :     CheckBox*       m_pBtnAlignment;
      47             :     CheckBox*       m_pBtnAdjust;
      48             :     OUString        aStrTitle;
      49             :     OUString        aStrLabel;
      50             :     OUString        aStrClose;
      51             :     OUString        aStrDelMsg;
      52             :     OUString        aStrRename;
      53             : 
      54             :     ScAutoFormat*           pFormat;
      55             :     const ScAutoFormatData* pSelFmtData;
      56             :     sal_uInt16                  nIndex;
      57             :     bool                    bCoreDataChanged;
      58             :     bool                    bFmtInserted;
      59             : 
      60             :     void Init           ();
      61             :     void UpdateChecks   ();
      62             : 
      63             :     DECL_LINK( CheckHdl, Button * );
      64             :     DECL_LINK( AddHdl, void * );
      65             :     DECL_LINK( RemoveHdl, void * );
      66             :     DECL_LINK( SelFmtHdl, void * );
      67             :     DECL_LINK( CloseHdl, PushButton * );
      68             :     DECL_LINK( DblClkHdl, void * );
      69             :     DECL_LINK( RenameHdl, void *);
      70             : 
      71             : };
      72             : #endif
      73             : 
      74             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10