xref: /aoo42x/main/toolkit/inc/layout/layout-pre.hxx (revision 50e6b072)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef _LAYOUT_PRE_HXX
25 #define _LAYOUT_PRE_HXX
26 
27 #if ENABLE_LAYOUT
28 
29 ///* Allow re-inclusion for next hxx file. */
30 #undef _LAYOUT_POST_HXX
31 
32 #define AdvancedButton layout::AdvancedButton
33 #define ApplyButton layout::ApplyButton
34 #define Box layout::Box
35 #define Button layout::Button
36 #define CancelButton layout::CancelButton
37 #define CheckBox layout::CheckBox
38 #define ComboBox layout::ComboBox
39 #define Container layout::Container
40 #define Control layout::Control
41 #define Dialog layout::Dialog
42 #define Edit layout::Edit
43 #define ErrorBox layout::ErrorBox
44 #define FixedImage layout::FixedImage
45 #define FixedInfo layout::FixedInfo
46 #define FixedLine layout::FixedLine
47 #define FixedText layout::FixedText
48 #define HBox layout::HBox
49 #define HelpButton layout::HelpButton
50 #define IgnoreButton layout::IgnoreButton
51 #define ImageButton layout::ImageButton
52 #define InfoBox layout::InfoBox
53 #define LocalizedString layout::LocalizedString
54 #define ListBox layout::ListBox
55 #define MessBox layout::MessBox
56 #define MessageBox layout::MessageBox
57 #define MetricField layout::MetricField
58 #define MetricFormatter layout::MetricFormatter
59 #define MoreButton layout::MoreButton
60 #define MultiLineEdit layout::MultiLineEdit
61 #define MultiListBox layout::MultiListBox
62 #define NoButton layout::NoButton
63 #define NumericField layout::NumericField
64 #define NumericFormatter layout::NumericFormatter
65 #define OKButton layout::OKButton
66 #define Plugin layout::Plugin
67 #define ProgressBar layout::ProgressBar
68 #define PushButton layout::PushButton
69 #define QueryBox layout::QueryBox
70 #define RadioButton layout::RadioButton
71 #define ResetButton layout::ResetButton
72 #define RetryButton layout::RetryButton
73 #define SfxTabDialog layout::SfxTabDialog
74 #define SfxTabPage layout::SfxTabPage
75 #if ENABLE_LAYOUT
76 #define SvxFontListBox layout::SvxFontListBox
77 #define SvxLanguageBox layout::SvxLanguageBox
78 #endif
79 #define SpinField layout::SpinField
80 #define TabControl layout::TabControl
81 #define TabPage layout::TabPage
82 #define Table layout::Table
83 #define VBox layout::VBox
84 #define WarningBox layout::WarningBox
85 #define YesButton layout::YesButton
86 
87 #define ModalDialog Dialog
88 #define ModelessDialog Dialog
89 #define ScExpandedFixedText FixedText
90 #define SfxDialog Dialog
91 #define SfxModalDialog Dialog
92 #define SfxModelessDialog Dialog
93 #define TabDialog Dialog
94 
95 #define Window ::Window
96 
97 #else
98 
99 #define LocalizedString String
100 
101 #endif /* ENABLE_LAYOUT */
102 
103 #endif /* _LAYOUT_PRE_HXX */
104