LCOV - code coverage report
Current view: top level - sc/source/filter/inc - condformatcontext.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 4 0.0 %
Date: 2014-04-14 Functions: 0 8 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             : #ifndef OOX_XLS_CONDFORMATCONTEXT_HXX
      21             : #define OOX_XLS_CONDFORMATCONTEXT_HXX
      22             : 
      23             : #include "condformatbuffer.hxx"
      24             : #include "excelhandlers.hxx"
      25             : 
      26             : namespace oox {
      27             : namespace xls {
      28             : 
      29             : class CondFormatContext;
      30             : 
      31           0 : class ColorScaleContext : public WorksheetContextBase
      32             : {
      33             : public:
      34             :     explicit ColorScaleContext( CondFormatContext& rFragment, CondFormatRuleRef xRule );
      35             : 
      36             :     virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) SAL_OVERRIDE;
      37             :     virtual void        onStartElement( const AttributeList& rAttribs ) SAL_OVERRIDE;
      38             : 
      39             : private:
      40             :     CondFormatRuleRef mxRule;
      41             : };
      42             : 
      43           0 : class DataBarContext : public WorksheetContextBase
      44             : {
      45             : public:
      46             :     explicit DataBarContext( CondFormatContext& rFormat, CondFormatRuleRef xRule );
      47             : 
      48             :     virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) SAL_OVERRIDE;
      49             :     virtual void        onStartElement( const AttributeList& rAttribs ) SAL_OVERRIDE;
      50             : 
      51             : private:
      52             :     CondFormatRuleRef mxRule;
      53             : };
      54             : 
      55           0 : class IconSetContext : public WorksheetContextBase
      56             : {
      57             : public:
      58             :     explicit IconSetContext( CondFormatContext& rFormat, CondFormatRuleRef xRule );
      59             : 
      60             :     virtual oox::core::ContextHandlerRef onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) SAL_OVERRIDE;
      61             :     virtual void onStartElement( const AttributeList& rAttribs ) SAL_OVERRIDE;
      62             : private:
      63             :     CondFormatRuleRef mxRule;
      64             : };
      65             : 
      66           0 : class CondFormatContext : public WorksheetContextBase
      67             : {
      68             : public:
      69             :     explicit            CondFormatContext( WorksheetFragmentBase& rFragment );
      70             : 
      71             : protected:
      72             :     virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) SAL_OVERRIDE;
      73             :     virtual void        onStartElement( const AttributeList& rAttribs ) SAL_OVERRIDE;
      74             :     virtual void        onCharacters( const OUString& rChars ) SAL_OVERRIDE;
      75             :     virtual void        onEndElement() SAL_OVERRIDE;
      76             : 
      77             :     virtual ::oox::core::ContextHandlerRef onCreateRecordContext( sal_Int32 nRecId, SequenceInputStream& rStrm ) SAL_OVERRIDE;
      78             :     virtual void        onStartRecord( SequenceInputStream& rStrm ) SAL_OVERRIDE;
      79             :     virtual void        onEndRecord() SAL_OVERRIDE;
      80             : 
      81             : private:
      82             :     CondFormatRef       mxCondFmt;
      83             :     CondFormatRuleRef   mxRule;
      84             : };
      85             : 
      86             : } // namespace xls
      87             : } // namespace oox
      88             : 
      89             : #endif
      90             : 
      91             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10