1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
23 #include <tools/string.hxx>
24 #include <tools/rc.hxx>
25 #include <vcl/bitmap.hxx>
27 struct SW_DLLPUBLIC ShellResource
: public Resource
33 // Calc error-strings.
39 String aCalc_Overflow
;
40 String aCalc_WrongTime
;
44 // For GetRefField - up/down.
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"
55 // Custom fields of type css::util::Duration.
56 String sDurationFormat
;
61 String aTOXContentName
;
62 String aTOXIllustrationsName
;
63 String aTOXObjectsName
;
64 String aTOXTablesName
;
65 String aTOXAuthoritiesName
;
67 String aHyperlinkClick
;
69 std::vector
<String
> aDocInfoLst
;
71 // The autoFormat-Redline comments.
72 inline const std::vector
<String
>& GetAutoFmtNameLst() const;
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
);
89 void _GetAutoFmtNameLst() const;
90 mutable std::vector
<String
> *pAutoFmtNameLst
;
91 String sPageDescFirstName
;
92 String sPageDescFollowName
;
96 inline const std::vector
<String
>& ShellResource::GetAutoFmtNameLst() const
98 if( !pAutoFmtNameLst
)
100 return *pAutoFmtNameLst
;
103 #endif //_SHELLRES_HXX
105 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */