diff options
Diffstat (limited to '')
-rw-r--r-- | svx/source/inc/fmservs.hxx | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/svx/source/inc/fmservs.hxx b/svx/source/inc/fmservs.hxx new file mode 100644 index 000000000..d575f8652 --- /dev/null +++ b/svx/source/inc/fmservs.hxx @@ -0,0 +1,110 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ +#ifndef INCLUDED_SVX_SOURCE_INC_FMSERVS_HXX +#define INCLUDED_SVX_SOURCE_INC_FMSERVS_HXX + +#include <sal/config.h> + +#include <com/sun/star/uno/Reference.hxx> +#include <svx/svxdllapi.h> + +namespace com::sun::star::lang { class XMultiServiceFactory; } + +#define FM_COMPONENT_EDIT "stardiv.one.form.component.Edit" +#define FM_COMPONENT_TEXTFIELD "stardiv.one.form.component.TextField" +#define FM_COMPONENT_LISTBOX "stardiv.one.form.component.ListBox" +#define FM_COMPONENT_COMBOBOX "stardiv.one.form.component.ComboBox" +#define FM_COMPONENT_RADIOBUTTON "stardiv.one.form.component.RadioButton" +#define FM_COMPONENT_GROUPBOX "stardiv.one.form.component.GroupBox" +#define FM_COMPONENT_FIXEDTEXT "stardiv.one.form.component.FixedText" +#define FM_COMPONENT_COMMANDBUTTON "stardiv.one.form.component.CommandButton" +#define FM_COMPONENT_CHECKBOX "stardiv.one.form.component.CheckBox" +#define FM_COMPONENT_GRID "stardiv.one.form.component.Grid" +#define FM_COMPONENT_GRIDCONTROL "stardiv.one.form.component.GridControl" +#define FM_COMPONENT_IMAGEBUTTON "stardiv.one.form.component.ImageButton" +#define FM_COMPONENT_FILECONTROL "stardiv.one.form.component.FileControl" +#define FM_COMPONENT_TIMEFIELD "stardiv.one.form.component.TimeField" +#define FM_COMPONENT_DATEFIELD "stardiv.one.form.component.DateField" +#define FM_COMPONENT_NUMERICFIELD "stardiv.one.form.component.NumericField" +#define FM_COMPONENT_CURRENCYFIELD "stardiv.one.form.component.CurrencyField" +#define FM_COMPONENT_PATTERNFIELD "stardiv.one.form.component.PatternField" +#define FM_COMPONENT_FORMATTEDFIELD "stardiv.one.form.component.FormattedField" +#define FM_COMPONENT_HIDDEN "stardiv.one.form.component.Hidden" +#define FM_COMPONENT_HIDDENCONTROL "stardiv.one.form.component.HiddenControl" +#define FM_COMPONENT_IMAGECONTROL "stardiv.one.form.component.ImageControl" +#define FM_CONTROL_GRID "stardiv.one.form.control.Grid" +#define FM_CONTROL_GRIDCONTROL "stardiv.one.form.control.GridControl" +#define SRV_SDB_CONNECTION "com.sun.star.sdb.Connection" +#define FM_SUN_COMPONENT_FORM "com.sun.star.form.component.Form" +#define FM_SUN_COMPONENT_TEXTFIELD "com.sun.star.form.component.TextField" +#define FM_SUN_COMPONENT_LISTBOX "com.sun.star.form.component.ListBox" +#define FM_SUN_COMPONENT_COMBOBOX "com.sun.star.form.component.ComboBox" +#define FM_SUN_COMPONENT_RADIOBUTTON "com.sun.star.form.component.RadioButton" +#define FM_SUN_COMPONENT_GROUPBOX "com.sun.star.form.component.GroupBox" +#define FM_SUN_COMPONENT_FIXEDTEXT "com.sun.star.form.component.FixedText" +#define FM_SUN_COMPONENT_COMMANDBUTTON "com.sun.star.form.component.CommandButton" +#define FM_SUN_COMPONENT_CHECKBOX "com.sun.star.form.component.CheckBox" +#define FM_SUN_COMPONENT_GRIDCONTROL "com.sun.star.form.component.GridControl" +#define FM_SUN_COMPONENT_IMAGEBUTTON "com.sun.star.form.component.ImageButton" +#define FM_SUN_COMPONENT_FILECONTROL "com.sun.star.form.component.FileControl" +#define FM_SUN_COMPONENT_TIMEFIELD "com.sun.star.form.component.TimeField" +#define FM_SUN_COMPONENT_DATEFIELD "com.sun.star.form.component.DateField" +#define FM_SUN_COMPONENT_NUMERICFIELD "com.sun.star.form.component.NumericField" +#define FM_SUN_COMPONENT_CURRENCYFIELD "com.sun.star.form.component.CurrencyField" +#define FM_SUN_COMPONENT_PATTERNFIELD "com.sun.star.form.component.PatternField" +#define FM_SUN_COMPONENT_HIDDENCONTROL "com.sun.star.form.component.HiddenControl" +#define FM_SUN_COMPONENT_IMAGECONTROL "com.sun.star.form.component.DatabaseImageControl" +#define FM_SUN_COMPONENT_FORMATTEDFIELD "com.sun.star.form.component.FormattedField" +#define FM_SUN_COMPONENT_SCROLLBAR "com.sun.star.form.component.ScrollBar" +#define FM_SUN_COMPONENT_SPINBUTTON "com.sun.star.form.component.SpinButton" +#define FM_SUN_COMPONENT_NAVIGATIONBAR "com.sun.star.form.component.NavigationToolBar" +#define FM_SUN_CONTROL_GRIDCONTROL "com.sun.star.form.control.GridControl" + +namespace svxform +{ + SVXCORE_DLLPUBLIC void ImplSmartRegisterUnoServices(); + + css::uno::Reference<css::uno::XInterface> + OAddConditionDialog_Create( + css::uno::Reference<css::lang::XMultiServiceFactory> const &); + + OUString OAddConditionDialog_GetImplementationName(); + + css::uno::Sequence<OUString> + OAddConditionDialog_GetSupportedServiceNames(); +} + +/// @throws css::uno::Exception +css::uno::Reference<css::uno::XInterface> +FmXGridControl_NewInstance_Impl( + css::uno::Reference<css::lang::XMultiServiceFactory> const &); + +/// @throws css::uno::Exception +css::uno::Reference<css::uno::XInterface> +FormController_NewInstance_Impl( + css::uno::Reference<css::lang::XMultiServiceFactory> const &); + +/// @throws css::uno::Exception +css::uno::Reference<css::uno::XInterface> +LegacyFormController_NewInstance_Impl( + css::uno::Reference<css::lang::XMultiServiceFactory> const &); + +#endif // INCLUDED_SVX_SOURCE_INC_FMSERVS_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |