merge the formfield patch from ooo-build
[ooovba.git] / svtools / source / config / itemholderbase.hxx
blob9632ce7773c34d168b089c5cdc07db3ecd097384
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: itemholderbase.hxx,v $
10 * $Revision: 1.7 $
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 ************************************************************************/
31 #ifndef INCLUDED_SVTOOLS_ITEMHOLDERBASE_HXX_
32 #define INCLUDED_SVTOOLS_ITEMHOLDERBASE_HXX_
34 //-----------------------------------------------
35 // includes
37 #include <vector>
38 #include <osl/mutex.hxx>
40 namespace svt { namespace detail { class Options; } }
42 //-----------------------------------------------
43 // definitions
45 struct ItemHolderMutexBase
47 ::osl::Mutex m_aLock;
50 enum EItem
52 E_ACCELCFG , //
53 E_ACCESSIBILITYOPTIONS , // 2
54 E_ADDXMLTOSTORAGEOPTIONS , //
55 E_APEARCFG , // 2
57 E_CJKOPTIONS , // 2
58 E_CMDOPTIONS , //
59 E_COLORCFG , // 2
60 E_COMPATIBILITY , //
61 E_CTLOPTIONS , // 2
63 E_DEFAULTOPTIONS , //
64 E_DYNAMICMENUOPTIONS , //
66 E_EVENTCFG , //
67 E_EXTENDEDSECURITYOPTIONS , //
69 E_FLTRCFG , //
70 E_FONTOPTIONS , //
71 E_FONTSUBSTCONFIG , // 2
73 E_HELPOPTIONS , // 2
74 E_HISTORYOPTIONS , //
76 E_INETOPTIONS , //
77 E_INTERNALOPTIONS , //
79 E_JAVAOPTIONS , //
81 E_LANGUAGEOPTIONS , // 2
82 E_LINGUCFG , //
83 E_LOCALISATIONOPTIONS , //
85 E_MENUOPTIONS , //
86 E_MISCCFG , // 2
87 E_MISCOPTIONS , //
88 E_MODULEOPTIONS , //
90 E_OPTIONSDLGOPTIONS , //
92 E_PATHOPTIONS , //
93 E_PRINTOPTIONS , // 2
94 E_PRINTFILEOPTIONS , // 2
95 E_PRINTWARNINGOPTIONS , //
97 E_REGOPTIONS , //
99 E_SAVEOPTIONS , //
100 E_SEARCHOPT , //
101 E_SECURITYOPTIONS , //
102 E_SOURCEVIEWCONFIG , //
103 E_STARTOPTIONS , //
104 E_SYSLOCALEOPTIONS , // 2
106 E_UNDOOPTIONS , // 2
107 E_USEROPTIONS , // 2
109 E_VIEWOPTIONS_DIALOG , //
110 E_VIEWOPTIONS_TABDIALOG , //
111 E_VIEWOPTIONS_TABPAGE , //
112 E_VIEWOPTIONS_WINDOW , //
114 E_WORKINGSETOPTIONS , //
116 E_XMLACCELCFG //
119 struct TItemInfo
121 TItemInfo()
122 : pItem(0)
125 svt::detail::Options * pItem;
126 EItem eItem;
129 typedef ::std::vector< TItemInfo > TItems;
131 #endif // INCLUDED_SVTOOLS_ITEMHOLDERBASE_HXX_