LCOV - code coverage report
Current view: top level - dbaccess/source/ui/inc - WNameMatch.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_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             :         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( vcl::Window* pParent, WinBits nBits = WB_BORDER );
      40             : 
      41             :         void FillListBox( const ODatabaseExport::TColumnVector& _rList);
      42           0 :         void SetReadOnly(bool _bRo=true) { m_bReadOnly = _bRo; }
      43             :         virtual bool Select( SvTreeListEntry* pEntry, bool bSelect=true ) SAL_OVERRIDE;
      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_pTABLE_LEFT;
      54             :         FixedText           *m_pTABLE_RIGHT;
      55             :         OColumnTreeBox      *m_pCTRL_LEFT;    // left side
      56             :         OColumnTreeBox      *m_pCTRL_RIGHT;   // right side
      57             :         PushButton          *m_pColumn_up;
      58             :         PushButton          *m_pColumn_down;
      59             :         PushButton          *m_pColumn_up_right;
      60             :         PushButton          *m_pColumn_down_right;
      61             :         PushButton          *m_pAll;
      62             :         PushButton          *m_pNone;
      63             :         OUString            m_sSourceText;
      64             :         OUString            m_sDestText;
      65             :         Image               m_aImgUp;
      66             :         Image               m_aImgDown;
      67             : 
      68             :         DECL_LINK( ButtonClickHdl, Button * );
      69             :         DECL_LINK( RightButtonClickHdl, Button * );
      70             :         DECL_LINK( AllNoneClickHdl, Button * );
      71             :         DECL_LINK( TableListClickHdl, void* );
      72             :         DECL_LINK( TableListRightSelectHdl, void* );
      73             : 
      74             :     public:
      75             :         virtual void            Reset ( ) SAL_OVERRIDE;
      76             :         virtual void            ActivatePage() SAL_OVERRIDE;
      77             :         virtual bool            LeavePage() SAL_OVERRIDE;
      78             :         virtual OUString        GetTitle() const SAL_OVERRIDE ;
      79             : 
      80             :         OWizNameMatching(vcl::Window* pParent);
      81             :         virtual ~OWizNameMatching();
      82             : 
      83             :     };
      84             : }
      85             : #endif // INCLUDED_DBACCESS_SOURCE_UI_INC_WNAMEMATCH_HXX
      86             : 
      87             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10