LCOV - code coverage report
Current view: top level - sw/inc - shellres.hxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 0 4 0.0 %
Date: 2014-11-03 Functions: 0 1 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             : #ifndef INCLUDED_SW_INC_SHELLRES_HXX
      20             : #define INCLUDED_SW_INC_SHELLRES_HXX
      21             : 
      22             : #include <swdllapi.h>
      23             : #include <rtl/ustring.hxx>
      24             : #include <tools/rc.hxx>
      25             : #include <vcl/bitmap.hxx>
      26             : 
      27             : struct SW_DLLPUBLIC ShellResource : public Resource
      28             : {
      29             :     OUString        aPostItAuthor;
      30             :     OUString        aPostItPage;
      31             :     OUString        aPostItLine;
      32             : 
      33             :     // Calc error-strings.
      34             :     OUString        aCalc_Syntax;
      35             :     OUString        aCalc_ZeroDiv;
      36             :     OUString        aCalc_Brack;
      37             :     OUString        aCalc_Pow;
      38             :     OUString        aCalc_VarNFnd;
      39             :     OUString        aCalc_Overflow;
      40             :     OUString        aCalc_WrongTime;
      41             :     OUString        aCalc_Default;
      42             :     OUString        aCalc_Error;
      43             : 
      44             :     // For GetRefField - up/down.
      45             :     OUString        aGetRefFld_Up;
      46             :     OUString        aGetRefFld_Down;
      47             :     // For GetRefField - referenced item not found.
      48             :     OUString        aGetRefFld_RefItemNotFound;
      49             :     // For dynamic menu - string "all".
      50             :     OUString        aStrAllPageHeadFoot;
      51             :     // For some list boxes - string "none"
      52             :     OUString        aStrNone;
      53             :     // For fixed fields.
      54             :     OUString        aFixedStr;
      55             :     // Custom fields of type css::util::Duration.
      56             :     OUString        sDurationFormat;
      57             : 
      58             :     //Names of TOXs.
      59             :     OUString        aTOXIndexName;
      60             :     OUString        aTOXUserName;
      61             :     OUString        aTOXContentName;
      62             :     OUString        aTOXIllustrationsName;
      63             :     OUString        aTOXObjectsName;
      64             :     OUString        aTOXTablesName;
      65             :     OUString        aTOXAuthoritiesName;
      66             :     OUString        aTOXCitationName;
      67             : 
      68             :     OUString        aLinkCtrlClick;
      69             :     OUString        aLinkClick;
      70             : 
      71             :     std::vector<OUString> aDocInfoLst;
      72             : 
      73             :     // The autoFormat-Redline comments.
      74             :     inline const std::vector<OUString>& GetAutoFmtNameLst() const;
      75             : 
      76             :     enum PageNameMode
      77             :     {
      78             :         NORMAL_PAGE,
      79             :         FIRST_PAGE,
      80             :         FOLLOW_PAGE
      81             :     };
      82             :     // Returns for the specific filter the new names of pagedescs
      83             :     // This method is for the old code of the specific filters with
      84             :     // now localized names.
      85             :     OUString GetPageDescName(sal_uInt16 nNo, PageNameMode eMode);
      86             : 
      87             :     ShellResource();
      88             :     ~ShellResource();
      89             : 
      90             : private:
      91             :     void _GetAutoFmtNameLst() const;
      92             :     mutable std::vector<OUString> *pAutoFmtNameLst;
      93             :     OUString        sPageDescFirstName;
      94             :     OUString        sPageDescFollowName;
      95             :     OUString        sPageDescName;
      96             : };
      97             : 
      98           0 : inline const std::vector<OUString>& ShellResource::GetAutoFmtNameLst() const
      99             : {
     100           0 :     if( !pAutoFmtNameLst )
     101           0 :         _GetAutoFmtNameLst();
     102           0 :     return *pAutoFmtNameLst;
     103             : }
     104             : 
     105             : #endif // INCLUDED_SW_INC_SHELLRES_HXX
     106             : 
     107             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10