LCOV - code coverage report
Current view: top level - dbaccess/source/ui/inc - WNameMatch.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 2 0.0 %
Date: 2014-04-14 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_DBACCESS_SOURCE_UI_INC_WNAMEMATCH_HXX
      20             : #define INCLUDED_DBACCESS_SOURCE_UI_INC_WNAMEMATCH_HXX
      21             : 
      22             : #include "WTabPage.hxx"
      23             : #include "marktree.hxx"
      24             : #include "DExport.hxx"
      25             : #include <vcl/fixed.hxx>
      26             : #include <vcl/button.hxx>
      27             : #include "WCopyTable.hxx"
      28             : 
      29             : namespace dbaui
      30             : {
      31             :     // columns are at root only no children
      32           0 :     class OColumnTreeBox : public OMarkableTreeListBox
      33             :     {
      34             :         sal_Bool m_bReadOnly;
      35             :     protected:
      36             :         virtual void InitEntry(SvTreeListEntry* pEntry, const OUString& rStr, const Image& rImg1, const Image& rImg2, SvLBoxButtonKind eButtonKind) SAL_OVERRIDE;
      37             : 
      38             :     public:
      39             :         OColumnTreeBox( Window* pParent, const ResId& rResId );
      40             : 
      41             :         void FillListBox( const ODatabaseExport::TColumnVector& _rList);
      42           0 :         void SetReadOnly(sal_Bool _bRo=sal_True) { m_bReadOnly = _bRo; }
      43             :         virtual sal_Bool Select( SvTreeListEntry* pEntry, sal_Bool bSelect=sal_True );
      44             : 
      45             :     private:
      46             :         using OMarkableTreeListBox::Select;
      47             :     };
      48             : 
      49             :     // Wizard Page: OWizNameMatching
      50             :     // Name matching for data appending
      51             :     class OWizNameMatching : public OWizardPage
      52             :     {
      53             :         FixedText           m_FT_TABLE_LEFT;
      54             :         FixedText           m_FT_TABLE_RIGHT;
      55             :         OColumnTreeBox      m_CTRL_LEFT;    // left side
      56             :         OColumnTreeBox      m_CTRL_RIGHT;   // right side
      57             :         ImageButton         m_ibColumn_up;
      58             :         ImageButton         m_ibColumn_down;
      59             :         ImageButton         m_ibColumn_up_right;
      60             :         ImageButton         m_ibColumn_down_right;
      61             :         PushButton          m_pbAll;
      62             :         PushButton          m_pbNone;
      63             :         OUString            m_sSourceText;
      64             :         OUString            m_sDestText;
      65             : 
      66             :         DECL_LINK( ButtonClickHdl, Button * );
      67             :         DECL_LINK( RightButtonClickHdl, Button * );
      68             :         DECL_LINK( AllNoneClickHdl, Button * );
      69             :         DECL_LINK( TableListClickHdl, void* );
      70             :         DECL_LINK( TableListRightSelectHdl, void* );
      71             : 
      72             :     public:
      73             :         virtual void            Reset ( ) SAL_OVERRIDE;
      74             :         virtual void            ActivatePage() SAL_OVERRIDE;
      75             :         virtual sal_Bool        LeavePage() SAL_OVERRIDE;
      76             :         virtual OUString        GetTitle() const SAL_OVERRIDE ;
      77             : 
      78             :         OWizNameMatching(Window* pParent);
      79             :         virtual ~OWizNameMatching();
      80             : 
      81             :     };
      82             : }
      83             : #endif // INCLUDED_DBACCESS_SOURCE_UI_INC_WNAMEMATCH_HXX
      84             : 
      85             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10