LCOV - code coverage report
Current view: top level - sw/inc - pvprtdat.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 21 0.0 %
Date: 2015-06-13 12:38:46 Functions: 0 19 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 INCLUDED_SW_INC_PVPRTDAT_HXX
      21             : #define INCLUDED_SW_INC_PVPRTDAT_HXX
      22             : 
      23             : #include <tools/solar.h>
      24             : 
      25             : class SwPagePreviewPrtData
      26             : {
      27             :     sal_uLong nLeftSpace, nRightSpace, nTopSpace, nBottomSpace,
      28             :             nHorzSpace, nVertSpace;
      29             :     sal_uInt8 nRow, nCol;
      30             :     bool bLandscape : 1;
      31             : public:
      32           0 :     SwPagePreviewPrtData()
      33             :         : nLeftSpace(0), nRightSpace(0), nTopSpace(0), nBottomSpace(0),
      34             :             nHorzSpace(0), nVertSpace(0), nRow(1), nCol(1),
      35           0 :             bLandscape(false)
      36           0 :     {}
      37             : 
      38           0 :     sal_uLong GetLeftSpace() const          { return nLeftSpace; }
      39           0 :     void SetLeftSpace( sal_uLong n )        { nLeftSpace = n; }
      40             : 
      41           0 :     sal_uLong GetRightSpace() const         { return nRightSpace; }
      42           0 :     void SetRightSpace( sal_uLong n )       { nRightSpace = n; }
      43             : 
      44           0 :     sal_uLong GetTopSpace() const           { return nTopSpace; }
      45           0 :     void SetTopSpace( sal_uLong n )         { nTopSpace = n; }
      46             : 
      47           0 :     sal_uLong GetBottomSpace() const        { return nBottomSpace; }
      48           0 :     void SetBottomSpace( sal_uLong n )      { nBottomSpace = n; }
      49             : 
      50           0 :     sal_uLong GetHorzSpace() const          { return nHorzSpace; }
      51           0 :     void SetHorzSpace( sal_uLong n )        { nHorzSpace = n; }
      52             : 
      53           0 :     sal_uLong GetVertSpace() const          { return nVertSpace; }
      54           0 :     void SetVertSpace( sal_uLong n )        { nVertSpace = n; }
      55             : 
      56           0 :     sal_uInt8 GetRow() const                { return nRow; }
      57           0 :     void SetRow(sal_uInt8 n )               { nRow = n; }
      58             : 
      59           0 :     sal_uInt8 GetCol() const                { return nCol; }
      60           0 :     void SetCol( sal_uInt8 n )              { nCol = n; }
      61             : 
      62           0 :     bool GetLandscape() const               { return bLandscape; }
      63           0 :     void SetLandscape( bool b )         { bLandscape = b; }
      64             : };
      65             : 
      66             : #endif
      67             : 
      68             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11