1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: shellres.hxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
34 #include <tools/string.hxx>
36 #ifndef _BITMAP_HXX //autogen
37 #include <vcl/bitmap.hxx>
41 #define _SVSTDARR_STRINGSDTOR
42 #include <svtools/svstdarr.hxx>
45 struct SW_DLLPUBLIC ShellResource
: public Resource
57 String aCalc_Overflow
;
58 String aCalc_WrongTime
;
62 // fuers GetRefFeld - oben/unten
64 String aGetRefFld_Down
;
65 // --> OD 2007-09-13 #i81002#
66 // for GetRefField - referenced item not found
67 String aGetRefFld_RefItemNotFound
;
69 // fuer dynamisches Menu - String "alle"
70 String aStrAllPageHeadFoot
;
71 // fuer einige Listboxen - String "keine"
73 // fuer Felder, die Fixiert sind
79 String aTOXContentName
;
80 String aTOXIllustrationsName
;
81 String aTOXObjectsName
;
82 String aTOXTablesName
;
83 String aTOXAuthoritiesName
;
85 String aHyperlinkClick
;
87 SvStringsDtor aDocInfoLst
;
91 // Bitmap aDragAnchorBmp;
93 // die AutoFormat-Redline-Kommentare
94 inline const SvStringsDtor
& GetAutoFmtNameLst() const;
96 // returns for the specific filter the new names of pagedescs
97 // This method is for the old code of the specific filters with
98 // now localized names
99 String
GetPageDescName( USHORT nNo
, BOOL bFirst
= FALSE
,
100 BOOL bFollow
= FALSE
);
106 void _GetAutoFmtNameLst() const;
107 SvStringsDtor
*pAutoFmtNameLst
;
108 String sPageDescFirstName
;
109 String sPageDescFollowName
;
110 String sPageDescName
;
113 inline const SvStringsDtor
& ShellResource::GetAutoFmtNameLst() const
115 if( !pAutoFmtNameLst
)
116 _GetAutoFmtNameLst();
117 return *pAutoFmtNameLst
;
121 #endif //_SHELLRES_HXX