LCOV - code coverage report
Current view: top level - solver/unxlngi6.pro/inc/oox/drawingml - textcharacterproperties.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 1 1 100.0 %
Date: 2012-08-25 Functions: 3 4 75.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 13 59 22.0 %

           Branch data     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_DRAWINGML_TEXTCHARACTERPROPERTIES_HXX
      21                 :            : #define OOX_DRAWINGML_TEXTCHARACTERPROPERTIES_HXX
      22                 :            : 
      23                 :            : #include "oox/helper/helper.hxx"
      24                 :            : #include "oox/helper/propertymap.hxx"
      25                 :            : #include "oox/drawingml/color.hxx"
      26                 :            : #include "oox/drawingml/textfont.hxx"
      27                 :            : 
      28                 :            : namespace oox { class PropertySet; }
      29                 :            : 
      30                 :            : namespace oox {
      31                 :            : namespace drawingml {
      32                 :            : 
      33                 :            : // ============================================================================
      34                 :            : 
      35   [ +  -  #  # ]:      32478 : struct TextCharacterProperties
           [ +  -  #  # ]
           [ +  -  #  # ]
           [ #  #  +  - ]
           [ #  #  +  - ]
           [ #  #  +  +  
                      - ]
           [ #  #  +  - ]
           [ #  #  +  - ]
           [ #  #  +  - ]
           [ #  #  +  - ]
         [ +  - ][ +  - ]
         [ #  # ][ #  # ]
         [ #  # ][ #  # ]
         [ #  # ][ #  # ]
                 [ #  # ]
      36                 :            : {
      37                 :            :     PropertyMap         maHyperlinkPropertyMap;
      38                 :            :     TextFont            maLatinFont;
      39                 :            :     TextFont            maAsianFont;
      40                 :            :     TextFont            maComplexFont;
      41                 :            :     TextFont            maSymbolFont;
      42                 :            :     Color               maCharColor;
      43                 :            :     Color               maUnderlineColor;
      44                 :            :     Color               maHighlightColor;
      45                 :            :     OptValue< ::rtl::OUString > moLang;
      46                 :            :     OptValue< sal_Int32 > moHeight;
      47                 :            :     OptValue< sal_Int32 > moSpacing;
      48                 :            :     OptValue< sal_Int32 > moUnderline;
      49                 :            :     OptValue< sal_Int32 > moStrikeout;
      50                 :            :     OptValue< sal_Int32 > moCaseMap;
      51                 :            :     OptValue< bool >    moBold;
      52                 :            :     OptValue< bool >    moItalic;
      53                 :            :     OptValue< bool >    moUnderlineLineFollowText;
      54                 :            :     OptValue< bool >    moUnderlineFillFollowText;
      55                 :            : 
      56                 :            :     /** Overwrites all members that are explicitly set in rSourceProps. */
      57                 :            :     void                assignUsed( const TextCharacterProperties& rSourceProps );
      58                 :            : 
      59                 :            :     /** Returns the current character size. If possible the masterstyle should
      60                 :            :         have been applied before, otherwise the character size can be zero and
      61                 :            :         the default value is returned. */
      62                 :            :     float               getCharHeightPoints( float fDefault ) const;
      63                 :            : 
      64                 :            :     /** Writes the properties to the passed property map. */
      65                 :            :     void                pushToPropMap(
      66                 :            :                             PropertyMap& rPropMap,
      67                 :            :                             const ::oox::core::XmlFilterBase& rFilter,
      68                 :            :                             bool bUseOptional = false ) const;
      69                 :            : 
      70                 :            :     /** Writes the properties to the passed property set. */
      71                 :            :     void                pushToPropSet(
      72                 :            :                             PropertySet& rPropSet,
      73                 :            :                             const ::oox::core::XmlFilterBase& rFilter,
      74                 :            :                             bool bUseOptional = false ) const;
      75                 :            : };
      76                 :            : 
      77                 :            : // ============================================================================
      78                 :            : 
      79                 :            : } // namespace drawingml
      80                 :            : } // namespace oox
      81                 :            : 
      82                 :            : #endif
      83                 :            : 
      84                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10