summaryrefslogtreecommitdiff
path: root/toolkit/inc/layout/layout-pre.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/inc/layout/layout-pre.hxx')
-rw-r--r--toolkit/inc/layout/layout-pre.hxx107
1 files changed, 107 insertions, 0 deletions
diff --git a/toolkit/inc/layout/layout-pre.hxx b/toolkit/inc/layout/layout-pre.hxx
new file mode 100644
index 000000000000..09605ad440d5
--- /dev/null
+++ b/toolkit/inc/layout/layout-pre.hxx
@@ -0,0 +1,107 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#ifndef _LAYOUT_PRE_HXX
+#define _LAYOUT_PRE_HXX
+
+#if ENABLE_LAYOUT
+
+///* Allow re-inclusion for next hxx file. */
+#undef _LAYOUT_POST_HXX
+
+#define AdvancedButton layout::AdvancedButton
+#define ApplyButton layout::ApplyButton
+#define Box layout::Box
+#define Button layout::Button
+#define CancelButton layout::CancelButton
+#define CheckBox layout::CheckBox
+#define ComboBox layout::ComboBox
+#define Container layout::Container
+#define Control layout::Control
+#define Dialog layout::Dialog
+#define Edit layout::Edit
+#define ErrorBox layout::ErrorBox
+#define FixedImage layout::FixedImage
+#define FixedInfo layout::FixedInfo
+#define FixedLine layout::FixedLine
+#define FixedText layout::FixedText
+#define HBox layout::HBox
+#define HelpButton layout::HelpButton
+#define IgnoreButton layout::IgnoreButton
+#define ImageButton layout::ImageButton
+#define InfoBox layout::InfoBox
+#define LocalizedString layout::LocalizedString
+#define ListBox layout::ListBox
+#define MessBox layout::MessBox
+#define MessageBox layout::MessageBox
+#define MetricField layout::MetricField
+#define MetricFormatter layout::MetricFormatter
+#define MoreButton layout::MoreButton
+#define MultiLineEdit layout::MultiLineEdit
+#define MultiListBox layout::MultiListBox
+#define NoButton layout::NoButton
+#define NumericField layout::NumericField
+#define NumericFormatter layout::NumericFormatter
+#define OKButton layout::OKButton
+#define Plugin layout::Plugin
+#define ProgressBar layout::ProgressBar
+#define PushButton layout::PushButton
+#define QueryBox layout::QueryBox
+#define RadioButton layout::RadioButton
+#define ResetButton layout::ResetButton
+#define RetryButton layout::RetryButton
+#define SfxTabDialog layout::SfxTabDialog
+#define SfxTabPage layout::SfxTabPage
+#if ENABLE_LAYOUT
+#define SvxFontListBox layout::SvxFontListBox
+#define SvxLanguageBox layout::SvxLanguageBox
+#endif
+#define SpinField layout::SpinField
+#define TabControl layout::TabControl
+#define TabPage layout::TabPage
+#define Table layout::Table
+#define VBox layout::VBox
+#define WarningBox layout::WarningBox
+#define YesButton layout::YesButton
+
+#define ModalDialog Dialog
+#define ModelessDialog Dialog
+#define ScExpandedFixedText FixedText
+#define SfxDialog Dialog
+#define SfxModalDialog Dialog
+#define SfxModelessDialog Dialog
+#define TabDialog Dialog
+
+#define Window ::Window
+
+#else
+
+#define LocalizedString String
+
+#endif /* ENABLE_LAYOUT */
+
+#endif /* _LAYOUT_PRE_HXX */