LCOV - code coverage report
Current view: top level - dbaccess/source/ui/tabledesign - TableFieldControl.hxx (source / functions) Hit Total Coverage
Test: commit 0e63ca4fde4e446f346e35849c756a30ca294aab Lines: 0 3 0.0 %
Date: 2014-04-11 Functions: 0 4 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_TABLEDESIGN_TABLEFIELDCONTROL_HXX
      20             : #define INCLUDED_DBACCESS_SOURCE_UI_TABLEDESIGN_TABLEFIELDCONTROL_HXX
      21             : 
      22             : #include "FieldDescControl.hxx"
      23             : 
      24             : namespace dbaui
      25             : {
      26             :     class OTableEditorCtrl;
      27             :     class OTableDesignHelpBar;
      28             :     // OTableFieldControl
      29           0 :     class OTableFieldControl : public OFieldDescControl
      30             :     {
      31             :         OTableEditorCtrl*   GetCtrl() const;
      32             :     protected:
      33             :         virtual void        ActivateAggregate( EControlType eType ) SAL_OVERRIDE;
      34             :         virtual void        DeactivateAggregate( EControlType eType ) SAL_OVERRIDE;
      35             :         // are to be implemented by the derived classes
      36             :         virtual void        CellModified(long nRow, sal_uInt16 nColId ) SAL_OVERRIDE;
      37             :         virtual sal_Bool        IsReadOnly() SAL_OVERRIDE;
      38             :         virtual void        SetModified(sal_Bool bModified) SAL_OVERRIDE;
      39             :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatter >    GetFormatter() const SAL_OVERRIDE;
      40             : 
      41             :         virtual ::com::sun::star::lang::Locale  GetLocale() const SAL_OVERRIDE;
      42             : 
      43             :         virtual TOTypeInfoSP                    getTypeInfo(sal_Int32 _nPos) SAL_OVERRIDE;
      44             :         virtual const OTypeInfoMap*             getTypeInfo() const SAL_OVERRIDE;
      45             :         virtual sal_Bool                        isAutoIncrementValueEnabled() const SAL_OVERRIDE;
      46             :         virtual OUString                 getAutoIncrementValue() const SAL_OVERRIDE;
      47             : 
      48             :     public:
      49             :         OTableFieldControl( Window* pParent, OTableDesignHelpBar* pHelpBar);
      50             : 
      51           0 :         OUString BoolStringPersistent(const OUString& rUIString) const { return OFieldDescControl::BoolStringPersistent(rUIString); }
      52           0 :         OUString BoolStringUI(const OUString& rPersistentString) const { return OFieldDescControl::BoolStringUI(rPersistentString); }
      53             : 
      54             :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData> getMetaData() SAL_OVERRIDE;
      55             :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection> getConnection() SAL_OVERRIDE;
      56             :     };
      57             : }
      58             : #endif // INCLUDED_DBACCESS_SOURCE_UI_TABLEDESIGN_TABLEFIELDCONTROL_HXX
      59             : 
      60             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10