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

Generated by: LCOV version 1.10