LCOV - code coverage report
Current view: top level - libreoffice/dbaccess/source/ui/misc - WExtendPages.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 21 0.0 %
Date: 2012-12-27 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             : 
      20             : #include "WExtendPages.hxx"
      21             : #include "RtfReader.hxx"
      22             : #include "HtmlReader.hxx"
      23             : #include "WCopyTable.hxx"
      24             : 
      25             : using namespace dbaui;
      26             : using namespace com::sun::star;
      27             : //========================================================================
      28           0 : SvParser* OWizHTMLExtend::createReader(sal_Int32 _nRows)
      29             : {
      30             :     return new OHTMLReader(*m_pParserStream,
      31             :                             _nRows,
      32             :                             m_pParent->GetColumnPositions(),
      33             :                             m_pParent->GetFormatter(),
      34             :                             m_pParent->GetComponentContext(),
      35           0 :                             m_pParent->getDestVector(),
      36           0 :                             m_pParent->getTypeInfo(),
      37           0 :                             m_pParent->shouldCreatePrimaryKey());
      38             : }
      39             : //========================================================================
      40           0 : SvParser* OWizRTFExtend::createReader(sal_Int32 _nRows)
      41             : {
      42             :     return new ORTFReader(*m_pParserStream,
      43             :                             _nRows,
      44             :                             m_pParent->GetColumnPositions(),
      45             :                             m_pParent->GetFormatter(),
      46             :                             m_pParent->GetComponentContext(),
      47           0 :                             m_pParent->getDestVector(),
      48           0 :                             m_pParent->getTypeInfo(),
      49           0 :                             m_pParent->shouldCreatePrimaryKey());
      50             : }
      51             : //========================================================================
      52           0 : OWizNormalExtend::OWizNormalExtend(Window* pParent) : OWizTypeSelect( pParent )
      53             : {
      54           0 :     EnableAuto(sal_False);
      55           0 :     Size aflSize( m_flColumns.GetSizePixel() );
      56           0 :     Point aPos(m_flColumns.GetPosPixel());
      57             : 
      58           0 :     m_flColumns.SetPosSizePixel(aPos, aflSize );
      59             : 
      60           0 :     sal_Int32 nHeight = m_lbColumnNames.GetSizePixel().Height() +6;
      61           0 :     aPos = m_aTypeControl.GetPosPixel();
      62           0 :     Size aNewSize(m_aTypeControl.GetSizePixel().Width(),nHeight - aPos.Y()-6);
      63             : 
      64           0 :     aflSize = m_aTypeControl.GetSizePixel();
      65           0 :     m_aTypeControl.SetPosSizePixel(aPos,aNewSize);
      66           0 : }
      67             : // -----------------------------------------------------------------------------
      68           0 : SvParser* OWizNormalExtend::createReader(sal_Int32 /*_nRows*/)
      69             : {
      70           0 :     return NULL;
      71             : }
      72             : // -----------------------------------------------------------------------------
      73             : 
      74             : 
      75             : 
      76             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10