LCOV - code coverage report
Current view: top level - sw/inc - frmatr.hxx (source / functions) Hit Total Coverage
Test: commit 0e63ca4fde4e446f346e35849c756a30ca294aab Lines: 52 54 96.3 %
Date: 2014-04-11 Functions: 26 27 96.3 %
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_SW_INC_FRMATR_HXX
      20             : #define INCLUDED_SW_INC_FRMATR_HXX
      21             : 
      22             : #include <hintids.hxx>
      23             : #include <format.hxx>
      24             : 
      25             : // Inlines
      26             : 
      27             : // Implementation of FrameAttribute methods of SwAttrSet.
      28          59 : inline const SvxPaperBinItem &SwAttrSet::GetPaperBin(sal_Bool bInP) const
      29          59 :     { return (const SvxPaperBinItem&)Get( RES_PAPER_BIN,bInP); }
      30      430190 : inline const SvxLRSpaceItem &SwAttrSet::GetLRSpace(sal_Bool bInP) const
      31      430190 :     { return (const SvxLRSpaceItem&)Get( RES_LR_SPACE,bInP); }
      32      107583 : inline const SvxULSpaceItem &SwAttrSet::GetULSpace(sal_Bool bInP) const
      33      107583 :     { return (const SvxULSpaceItem&)Get( RES_UL_SPACE,bInP); }
      34        1530 : inline const SvxPrintItem &SwAttrSet::GetPrint(sal_Bool bInP) const
      35        1530 :     { return (const SvxPrintItem&)Get( RES_PRINT,bInP); }
      36        1772 : inline const SvxOpaqueItem &SwAttrSet::GetOpaque(sal_Bool bInP) const
      37        1772 :     { return (const SvxOpaqueItem&)Get( RES_OPAQUE,bInP); }
      38       52442 : inline const SvxProtectItem &SwAttrSet::GetProtect(sal_Bool bInP) const
      39       52442 :     { return (const SvxProtectItem&)Get( RES_PROTECT,bInP); }
      40      209196 : inline const SvxBoxItem &SwAttrSet::GetBox(sal_Bool bInP) const
      41      209196 :     { return (const SvxBoxItem&)Get( RES_BOX,bInP); }
      42      126564 : inline const SvxFmtKeepItem &SwAttrSet::GetKeep(sal_Bool bInP) const
      43      126564 :     { return (const SvxFmtKeepItem&)Get( RES_KEEP,bInP); }
      44      184580 : inline const SvxBrushItem &SwAttrSet::GetBackground(sal_Bool bInP) const
      45      184580 :     { return (const SvxBrushItem&)Get( RES_BACKGROUND,bInP); }
      46       59691 : inline const SvxShadowItem &SwAttrSet::GetShadow(sal_Bool bInP) const
      47       59691 :     { return (const SvxShadowItem&)Get( RES_SHADOW,bInP); }
      48       99062 : inline const SvxFmtBreakItem &SwAttrSet::GetBreak(sal_Bool bInP) const
      49       99062 :     { return (const SvxFmtBreakItem&)Get( RES_BREAK,bInP); }
      50           6 : inline const SvxMacroItem &SwAttrSet::GetMacro(sal_Bool bInP) const
      51           6 :     { return (const SvxMacroItem&)Get( RES_FRMMACRO,bInP); }
      52       61893 : inline const SvxFrameDirectionItem &SwAttrSet::GetFrmDir(sal_Bool bInP) const
      53       61893 :     { return (const SvxFrameDirectionItem&)Get( RES_FRAMEDIR,bInP); }
      54        5928 : inline const SdrTextVertAdjustItem &SwAttrSet::GetTextVertAdjust(sal_Bool bInP) const
      55        5928 :     { return (const SdrTextVertAdjustItem&)Get( RES_TEXT_VERT_ADJUST,bInP); }
      56             : 
      57             : // Implementation of FrameAttribute methods of SwFmt.
      58          59 : inline const SvxPaperBinItem &SwFmt::GetPaperBin(sal_Bool bInP) const
      59          59 :     { return aSet.GetPaperBin(bInP); }
      60       20756 : inline const SvxLRSpaceItem &SwFmt::GetLRSpace(sal_Bool bInP) const
      61       20756 :     { return aSet.GetLRSpace(bInP); }
      62       15047 : inline const SvxULSpaceItem &SwFmt::GetULSpace(sal_Bool bInP) const
      63       15047 :     { return aSet.GetULSpace(bInP); }
      64        1530 : inline const SvxPrintItem &SwFmt::GetPrint(sal_Bool bInP) const
      65        1530 :     { return aSet.GetPrint(bInP); }
      66        1772 : inline const SvxOpaqueItem &SwFmt::GetOpaque(sal_Bool bInP) const
      67        1772 :     { return aSet.GetOpaque(bInP); }
      68       52442 : inline const SvxProtectItem &SwFmt::GetProtect(sal_Bool bInP) const
      69       52442 :     { return aSet.GetProtect(bInP); }
      70       11151 : inline const SvxBoxItem &SwFmt::GetBox(sal_Bool bInP) const
      71       11151 :     { return aSet.GetBox(bInP); }
      72           0 : inline const SvxFmtKeepItem &SwFmt::GetKeep(sal_Bool bInP) const
      73           0 :     { return aSet.GetKeep(bInP); }
      74             : //UUUUinline const SvxBrushItem &SwFmt::GetBackground(sal_Bool bInP) const
      75             : //UUUU  { return aSet.GetBackground(bInP); }
      76         674 : inline const SvxShadowItem &SwFmt::GetShadow(sal_Bool bInP) const
      77         674 :     { return aSet.GetShadow(bInP); }
      78         107 : inline const SvxFmtBreakItem &SwFmt::GetBreak(sal_Bool bInP) const
      79         107 :     { return aSet.GetBreak(bInP); }
      80           6 : inline const SvxMacroItem &SwFmt::GetMacro(sal_Bool bInP) const
      81           6 :     { return aSet.GetMacro(bInP); }
      82        8935 : inline const SvxFrameDirectionItem  &SwFmt::GetFrmDir(sal_Bool bInP) const
      83        8935 :     { return aSet.GetFrmDir(bInP); }
      84        5928 : inline const SdrTextVertAdjustItem &SwFmt::GetTextVertAdjust(sal_Bool bInP) const
      85        5928 :     { return aSet.GetTextVertAdjust(bInP); }
      86             : 
      87             : #endif // INCLUDED_SW_INC_FRMATR_HXX
      88             : 
      89             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10