LCOV - code coverage report
Current view: top level - reportdesign/source/core/inc - ReportComponent.hxx (source / functions) Hit Total Coverage
Test: commit 0e63ca4fde4e446f346e35849c756a30ca294aab Lines: 3 4 75.0 %
Date: 2014-04-11 Functions: 1 2 50.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             : #ifndef RPT_REPORTCOMPONENT_HXX
      21             : #define RPT_REPORTCOMPONENT_HXX
      22             : 
      23             : #include <com/sun/star/uno/XComponentContext.hpp>
      24             : #include <com/sun/star/container/XChild.hpp>
      25             : #include <com/sun/star/drawing/XShape.hpp>
      26             : #include <com/sun/star/lang/XServiceInfo.hpp>
      27             : #include <com/sun/star/lang/XTypeProvider.hpp>
      28             : #include <com/sun/star/lang/XUnoTunnel.hpp>
      29             : #include <com/sun/star/uno/XAggregation.hpp>
      30             : #include <com/sun/star/report/XReportComponent.hpp>
      31             : #include <com/sun/star/lang/XMultiServiceFactory.hpp>
      32             : #include <cppuhelper/weakref.hxx>
      33             : #include <comphelper/uno3.hxx>
      34             : 
      35             : namespace reportdesign
      36             : {
      37           0 :     class OReportComponentProperties
      38             :     {
      39             :     public:
      40             :         ::com::sun::star::uno::WeakReference< ::com::sun::star::container::XChild > m_xParent;
      41             :         ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext;
      42             :         ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >
      43             :                                                                                     m_xFactory;
      44             :         ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >       m_xShape;
      45             :         ::com::sun::star::uno::Reference< ::com::sun::star::uno::XAggregation >     m_xProxy;
      46             :         ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >   m_xProperty;
      47             :         ::com::sun::star::uno::Reference< ::com::sun::star::lang::XTypeProvider >   m_xTypeProvider;
      48             :         ::com::sun::star::uno::Reference< ::com::sun::star::lang::XUnoTunnel >      m_xUnoTunnel;
      49             :         ::com::sun::star::uno::Reference< ::com::sun::star::lang::XServiceInfo >    m_xServiceInfo;
      50             :         ::com::sun::star::uno::Sequence< OUString >                          m_aMasterFields;
      51             :         ::com::sun::star::uno::Sequence< OUString >                          m_aDetailFields;
      52             :         OUString                                                             m_sName;
      53             :         ::sal_Int32                                                                 m_nHeight;
      54             :         ::sal_Int32                                                                 m_nWidth;
      55             :         ::sal_Int32                                                                 m_nPosX;
      56             :         ::sal_Int32                                                                 m_nPosY;
      57             :         ::sal_Int32                                                                 m_nBorderColor;
      58             :         ::sal_Int16                                                                 m_nBorder;
      59             :         sal_Bool                                                                  m_bPrintRepeatedValues;
      60             : 
      61           6 :         OReportComponentProperties(::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & _xContext
      62             :             )
      63             :             :m_xContext(_xContext)
      64             :             ,m_nHeight(0)
      65             :             ,m_nWidth(0)
      66             :             ,m_nPosX(0)
      67             :             ,m_nPosY(0)
      68             :             ,m_nBorderColor(0)
      69             :             ,m_nBorder(2)
      70           6 :             ,m_bPrintRepeatedValues(sal_True)
      71           6 :         {}
      72             :         ~OReportComponentProperties();
      73             : 
      74             :         void setShape(::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& _xShape
      75             :                     ,const ::com::sun::star::uno::Reference< ::com::sun::star::report::XReportComponent>& _xTunnel
      76             :                     ,oslInterlockedCount& _rRefCount);
      77             :     };
      78             : }
      79             : #endif // RPT_REPORTCOMPONENT_HXX
      80             : 
      81             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10