merged tag ooo/OOO330_m14
[LibreOffice.git] / sw / inc / shellres.hxx
blob3875c5b1c15ea3fc906d64bed2783b4be234257a
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #ifndef _SHELLRES_HXX
28 #define _SHELLRES_HXX
31 #include <tools/string.hxx>
33 #ifndef _BITMAP_HXX //autogen
34 #include <vcl/bitmap.hxx>
35 #endif
37 #ifndef _SVSTDARR_HXX
38 #define _SVSTDARR_STRINGSDTOR
39 #include <svl/svstdarr.hxx>
40 #endif
42 struct SW_DLLPUBLIC ShellResource : public Resource
44 String aPostItAuthor;
45 String aPostItPage;
46 String aPostItLine;
48 // Calc Fehlerstrings
49 String aCalc_Syntax;
50 String aCalc_ZeroDiv;
51 String aCalc_Brack;
52 String aCalc_Pow;
53 String aCalc_VarNFnd;
54 String aCalc_Overflow;
55 String aCalc_WrongTime;
56 String aCalc_Default;
57 String aCalc_Error;
59 // fuers GetRefFeld - oben/unten
60 String aGetRefFld_Up;
61 String aGetRefFld_Down;
62 // --> OD 2007-09-13 #i81002#
63 // for GetRefField - referenced item not found
64 String aGetRefFld_RefItemNotFound;
65 // <--
66 // fuer dynamisches Menu - String "alle"
67 String aStrAllPageHeadFoot;
68 // fuer einige Listboxen - String "keine"
69 String aStrNone;
70 // fuer Felder, die Fixiert sind
71 String aFixedStr;
72 // custom fields of type css::util::Duration
73 String sDurationFormat;
75 //names of TOXs
76 String aTOXIndexName;
77 String aTOXUserName;
78 String aTOXContentName;
79 String aTOXIllustrationsName;
80 String aTOXObjectsName;
81 String aTOXTablesName;
82 String aTOXAuthoritiesName;
84 String aHyperlinkClick;
86 SvStringsDtor aDocInfoLst;
88 // Fly-Anker Bmps
89 // Bitmap aAnchorBmp;
90 // Bitmap aDragAnchorBmp;
92 // die AutoFormat-Redline-Kommentare
93 inline const SvStringsDtor& GetAutoFmtNameLst() const;
95 // returns for the specific filter the new names of pagedescs
96 // This method is for the old code of the specific filters with
97 // now localized names
98 String GetPageDescName( USHORT nNo, BOOL bFirst = FALSE,
99 BOOL bFollow = FALSE );
101 ShellResource();
102 ~ShellResource();
104 private:
105 void _GetAutoFmtNameLst() const;
106 SvStringsDtor *pAutoFmtNameLst;
107 String sPageDescFirstName;
108 String sPageDescFollowName;
109 String sPageDescName;
112 inline const SvStringsDtor& ShellResource::GetAutoFmtNameLst() const
114 if( !pAutoFmtNameLst )
115 _GetAutoFmtNameLst();
116 return *pAutoFmtNameLst;
120 #endif //_SHELLRES_HXX