LCOV - code coverage report
Current view: top level - sw/inc - frmatr.hxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 52 54 96.3 %
Date: 2014-11-03 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         130 : inline const SvxPaperBinItem &SwAttrSet::GetPaperBin(bool bInP) const
      29         130 :     { return (const SvxPaperBinItem&)Get( RES_PAPER_BIN,bInP); }
      30     1219094 : inline const SvxLRSpaceItem &SwAttrSet::GetLRSpace(bool bInP) const
      31     1219094 :     { return (const SvxLRSpaceItem&)Get( RES_LR_SPACE,bInP); }
      32      292955 : inline const SvxULSpaceItem &SwAttrSet::GetULSpace(bool bInP) const
      33      292955 :     { return (const SvxULSpaceItem&)Get( RES_UL_SPACE,bInP); }
      34        6679 : inline const SvxPrintItem &SwAttrSet::GetPrint(bool bInP) const
      35        6679 :     { return (const SvxPrintItem&)Get( RES_PRINT,bInP); }
      36        5058 : inline const SvxOpaqueItem &SwAttrSet::GetOpaque(bool bInP) const
      37        5058 :     { return (const SvxOpaqueItem&)Get( RES_OPAQUE,bInP); }
      38      117433 : inline const SvxProtectItem &SwAttrSet::GetProtect(bool bInP) const
      39      117433 :     { return (const SvxProtectItem&)Get( RES_PROTECT,bInP); }
      40      498983 : inline const SvxBoxItem &SwAttrSet::GetBox(bool bInP) const
      41      498983 :     { return (const SvxBoxItem&)Get( RES_BOX,bInP); }
      42      324078 : inline const SvxFmtKeepItem &SwAttrSet::GetKeep(bool bInP) const
      43      324078 :     { return (const SvxFmtKeepItem&)Get( RES_KEEP,bInP); }
      44      480111 : inline const SvxBrushItem &SwAttrSet::GetBackground(bool bInP) const
      45      480111 :     { return (const SvxBrushItem&)Get( RES_BACKGROUND,bInP); }
      46      160899 : inline const SvxShadowItem &SwAttrSet::GetShadow(bool bInP) const
      47      160899 :     { return (const SvxShadowItem&)Get( RES_SHADOW,bInP); }
      48      236324 : inline const SvxFmtBreakItem &SwAttrSet::GetBreak(bool bInP) const
      49      236324 :     { return (const SvxFmtBreakItem&)Get( RES_BREAK,bInP); }
      50          12 : inline const SvxMacroItem &SwAttrSet::GetMacro(bool bInP) const
      51          12 :     { return (const SvxMacroItem&)Get( RES_FRMMACRO,bInP); }
      52      137829 : inline const SvxFrameDirectionItem &SwAttrSet::GetFrmDir(bool bInP) const
      53      137829 :     { return (const SvxFrameDirectionItem&)Get( RES_FRAMEDIR,bInP); }
      54       16434 : inline const SdrTextVertAdjustItem &SwAttrSet::GetTextVertAdjust(bool bInP) const
      55       16434 :     { return (const SdrTextVertAdjustItem&)Get( RES_TEXT_VERT_ADJUST,bInP); }
      56             : 
      57             : // Implementation of FrameAttribute methods of SwFmt.
      58         130 : inline const SvxPaperBinItem &SwFmt::GetPaperBin(bool bInP) const
      59         130 :     { return aSet.GetPaperBin(bInP); }
      60       68465 : inline const SvxLRSpaceItem &SwFmt::GetLRSpace(bool bInP) const
      61       68465 :     { return aSet.GetLRSpace(bInP); }
      62       49369 : inline const SvxULSpaceItem &SwFmt::GetULSpace(bool bInP) const
      63       49369 :     { return aSet.GetULSpace(bInP); }
      64        6679 : inline const SvxPrintItem &SwFmt::GetPrint(bool bInP) const
      65        6679 :     { return aSet.GetPrint(bInP); }
      66        5058 : inline const SvxOpaqueItem &SwFmt::GetOpaque(bool bInP) const
      67        5058 :     { return aSet.GetOpaque(bInP); }
      68      117433 : inline const SvxProtectItem &SwFmt::GetProtect(bool bInP) const
      69      117433 :     { return aSet.GetProtect(bInP); }
      70       25244 : inline const SvxBoxItem &SwFmt::GetBox(bool bInP) const
      71       25244 :     { return aSet.GetBox(bInP); }
      72           0 : inline const SvxFmtKeepItem &SwFmt::GetKeep(bool bInP) const
      73           0 :     { return aSet.GetKeep(bInP); }
      74        1392 : inline const SvxShadowItem &SwFmt::GetShadow(bool bInP) const
      75        1392 :     { return aSet.GetShadow(bInP); }
      76         314 : inline const SvxFmtBreakItem &SwFmt::GetBreak(bool bInP) const
      77         314 :     { return aSet.GetBreak(bInP); }
      78          12 : inline const SvxMacroItem &SwFmt::GetMacro(bool bInP) const
      79          12 :     { return aSet.GetMacro(bInP); }
      80       20673 : inline const SvxFrameDirectionItem  &SwFmt::GetFrmDir(bool bInP) const
      81       20673 :     { return aSet.GetFrmDir(bInP); }
      82       16434 : inline const SdrTextVertAdjustItem &SwFmt::GetTextVertAdjust(bool bInP) const
      83       16434 :     { return aSet.GetTextVertAdjust(bInP); }
      84             : 
      85             : #endif // INCLUDED_SW_INC_FRMATR_HXX
      86             : 
      87             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10