xref: /aoo41x/main/toolkit/inc/layout/layout-pre.hxx (revision cdf0e10c)
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * Copyright 2000, 2010 Oracle and/or its affiliates.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * This file is part of OpenOffice.org.
10  *
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.
14  *
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).
20  *
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.
25  *
26  ************************************************************************/
27 
28 #ifndef _LAYOUT_PRE_HXX
29 #define _LAYOUT_PRE_HXX
30 
31 #if ENABLE_LAYOUT
32 
33 ///* Allow re-inclusion for next hxx file. */
34 #undef _LAYOUT_POST_HXX
35 
36 #define AdvancedButton layout::AdvancedButton
37 #define ApplyButton layout::ApplyButton
38 #define Box layout::Box
39 #define Button layout::Button
40 #define CancelButton layout::CancelButton
41 #define CheckBox layout::CheckBox
42 #define ComboBox layout::ComboBox
43 #define Container layout::Container
44 #define Control layout::Control
45 #define Dialog layout::Dialog
46 #define Edit layout::Edit
47 #define ErrorBox layout::ErrorBox
48 #define FixedImage layout::FixedImage
49 #define FixedInfo layout::FixedInfo
50 #define FixedLine layout::FixedLine
51 #define FixedText layout::FixedText
52 #define HBox layout::HBox
53 #define HelpButton layout::HelpButton
54 #define IgnoreButton layout::IgnoreButton
55 #define ImageButton layout::ImageButton
56 #define InfoBox layout::InfoBox
57 #define LocalizedString layout::LocalizedString
58 #define ListBox layout::ListBox
59 #define MessBox layout::MessBox
60 #define MessageBox layout::MessageBox
61 #define MetricField layout::MetricField
62 #define MetricFormatter layout::MetricFormatter
63 #define MoreButton layout::MoreButton
64 #define MultiLineEdit layout::MultiLineEdit
65 #define MultiListBox layout::MultiListBox
66 #define NoButton layout::NoButton
67 #define NumericField layout::NumericField
68 #define NumericFormatter layout::NumericFormatter
69 #define OKButton layout::OKButton
70 #define Plugin layout::Plugin
71 #define ProgressBar layout::ProgressBar
72 #define PushButton layout::PushButton
73 #define QueryBox layout::QueryBox
74 #define RadioButton layout::RadioButton
75 #define ResetButton layout::ResetButton
76 #define RetryButton layout::RetryButton
77 #define SfxTabDialog layout::SfxTabDialog
78 #define SfxTabPage layout::SfxTabPage
79 #if ENABLE_LAYOUT
80 #define SvxFontListBox layout::SvxFontListBox
81 #define SvxLanguageBox layout::SvxLanguageBox
82 #endif
83 #define SpinField layout::SpinField
84 #define TabControl layout::TabControl
85 #define TabPage layout::TabPage
86 #define Table layout::Table
87 #define VBox layout::VBox
88 #define WarningBox layout::WarningBox
89 #define YesButton layout::YesButton
90 
91 #define ModalDialog Dialog
92 #define ModelessDialog Dialog
93 #define ScExpandedFixedText FixedText
94 #define SfxDialog Dialog
95 #define SfxModalDialog Dialog
96 #define SfxModelessDialog Dialog
97 #define TabDialog Dialog
98 
99 #define Window ::Window
100 
101 #else
102 
103 #define LocalizedString String
104 
105 #endif /* ENABLE_LAYOUT */
106 
107 #endif /* _LAYOUT_PRE_HXX */
108