Commits

Ivo Hinkelmann  committed ed51658

masterfix DEV300: #i10000# drafts removed

  • Participants
  • Parent commits dfc73c0

Comments (0)

Files changed (3)

File binfilter/bf_xmloff/source/forms/formcellbinding.hxx

 #ifndef _COM_SUN_STAR_TABLE_CELLRANGEADDRESS_HPP_
 #include <com/sun/star/table/CellRangeAddress.hpp>
 #endif
-#ifndef _DRAFTS_COM_SUN_STAR_FORM_XVALUEBINDING_HPP_
-#include <drafts/com/sun/star/form/XValueBinding.hpp>
+#ifndef _COM_SUN_STAR_FORM_BINDING_XVALUEBINDING_HPP_
+//#include <drafts/com/sun/star/form/XValueBinding.hpp>
+#include <com/sun/star/form/binding/XValueBinding.hpp>
 #endif
-#ifndef _DRAFTS_COM_SUN_STAR_FORM_XLISTENTRYSOURCE_HPP_
-#include <drafts/com/sun/star/form/XListEntrySource.hpp>
+#ifndef _COM_SUN_STAR_FORM_XLISTENTRYSOURCE_HPP_
+#include <com/sun/star/form/binding/XListEntrySource.hpp>
+//#include <drafts/com/sun/star/form/XListEntrySource.hpp>
 #endif
 #ifndef _COM_SUN_STAR_FRAME_XMODEL_HPP_
 #include <com/sun/star/frame/XModel.hpp>
             @precond
                 isCellBindingAllowed returns <TRUE/>
         */
-        ::com::sun::star::uno::Reference< ::drafts::com::sun::star::form::XValueBinding >
-                        createCellBindingFromStringAddress(
+//        ::com::sun::star::uno::Reference< ::drafts::com::sun::star::form::XValueBinding >
+        ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XValueBinding >
+        createCellBindingFromStringAddress(
+
                             const ::rtl::OUString& _rAddress,
                             bool _bUseIntegerBinding
                         ) const;
 
         /** gets a cell range list source binding for the given address
         */
-        ::com::sun::star::uno::Reference< ::drafts::com::sun::star::form::XListEntrySource >
+        ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XListEntrySource >
+
+        //        ::com::sun::star::uno::Reference< ::drafts::com::sun::star::form::XListEntrySource >
                         createCellListSourceFromStringAddress( const ::rtl::OUString& _rAddress ) const;
 
         /** creates a string representation for the given value binding's address
             @see isCellBinding
         */
         ::rtl::OUString getStringAddressFromCellBinding(
-                            const ::com::sun::star::uno::Reference< ::drafts::com::sun::star::form::XValueBinding >& _rxBinding
-                        ) const;
+//                            const ::com::sun::star::uno::Reference< ::drafts::com::sun::star::form::XValueBinding >& _rxBinding
+                            const ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XValueBinding >& _rxBinding
+
+                ) const;
 
         /** creates a string representation for the given list source's range address
 
             @see isCellRangeListSource
         */
         ::rtl::OUString getStringAddressFromCellListSource(
-                            const ::com::sun::star::uno::Reference< ::drafts::com::sun::star::form::XListEntrySource >& _rxSource
-                        ) const;
+        //                    const ::com::sun::star::uno::Reference< ::drafts::com::sun::star::form::XListEntrySource >& _rxSource
+                            const ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XListEntrySource >& _rxSource
+
+                ) const;
 
         /** returns the current binding of our control model, if any.
         */
-        ::com::sun::star::uno::Reference< ::drafts::com::sun::star::form::XValueBinding >
-                        getCurrentBinding( ) const;
+        ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XValueBinding >
+        //::com::sun::star::uno::Reference< ::drafts::com::sun::star::form::XValueBinding >
+
+            getCurrentBinding( ) const;
 
         /** returns the current external list source of the control model, if any
         */
-        ::com::sun::star::uno::Reference< ::drafts::com::sun::star::form::XListEntrySource >
-                        getCurrentListSource( ) const;
+        //::com::sun::star::uno::Reference< ::drafts::com::sun::star::form::XListEntrySource >
+        ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XListEntrySource >
+
+        getCurrentListSource( ) const;
 
         /** sets a new binding for our control model
             @precond
                 returning <TRUE/>)
         */
         void            setBinding(
-                            const ::com::sun::star::uno::Reference< ::drafts::com::sun::star::form::XValueBinding >& _rxBinding
-                        );
+//                            const ::com::sun::star::uno::Reference< ::drafts::com::sun::star::form::XValueBinding >& _rxBinding
+                            const ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XValueBinding >& _rxBinding
+
+                );
 
         /** sets a list source for our control model
             @precond
                 returning <TRUE/>)
         */
         void            setListSource(
-                            const ::com::sun::star::uno::Reference< ::drafts::com::sun::star::form::XListEntrySource >& _rxSource
-                        );
+//                            const ::com::sun::star::uno::Reference< ::drafts::com::sun::star::form::XListEntrySource >& _rxSource
+                            const ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XListEntrySource >& _rxSource
+
+                );
 
         /** checks whether it's possible to bind the control model to a spreadsheet cell
         */
         /** checks whether a given binding is a spreadsheet cell binding
         */
         bool            isCellBinding(
-                            const ::com::sun::star::uno::Reference< ::drafts::com::sun::star::form::XValueBinding >& _rxBinding
+                //const ::com::sun::star::uno::Reference< ::drafts::com::sun::star::form::XValueBinding >& _rxBinding
+
+                const ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XValueBinding >& _rxBinding
                         ) const;
 
         /** checks whether a given binding is a spreadsheet cell binding, exchanging
             integer values
         */
         bool            isCellIntegerBinding(
-                            const ::com::sun::star::uno::Reference< ::drafts::com::sun::star::form::XValueBinding >& _rxBinding
-                        ) const;
+                            const ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XValueBinding >& _rxBinding
+                            //const ::com::sun::star::uno::Reference< ::drafts::com::sun::star::form::XValueBinding >& _rxBinding
+
+                            ) const;
 
         /** checks whether a given list source is a spreadsheet cell list source
         */
         bool            isCellRangeListSource(
-                            const ::com::sun::star::uno::Reference< ::drafts::com::sun::star::form::XListEntrySource >& _rxSource
-                        ) const;
+//                            const ::com::sun::star::uno::Reference< ::drafts::com::sun::star::form::XListEntrySource >& _rxSource
+                            const ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XListEntrySource >& _rxSource
+
+                ) const;
 
     protected:
         /** creates an address object from a string representation of a cell address

File binfilter/bf_xmloff/source/forms/xmloff_elementexport.cxx

 #include "formcellbinding.hxx"
 #endif
 
+#include <com/sun/star/form/binding/XValueBinding.hpp>
+
 #ifndef _DRAFTS_COM_SUN_STAR_FORM_XLISTENTRYSINK_HPP_
-#include <drafts/com/sun/star/form/XListEntrySink.hpp>
+//#include <drafts/com/sun/star/form/XListEntrySink.hpp>
+#include <com/sun/star/form/binding/XListEntrySink.hpp>
 #endif
 
 #include <algorithm>
 	using namespace ::com::sun::star::script;
 	using namespace ::com::sun::star::io;
 	using namespace ::com::sun::star::table;
-    using namespace ::drafts::com::sun::star::form;
+    using namespace ::com::sun::star::form::binding;
 
 	//=====================================================================
 	//= OElementExport

File binfilter/bf_xmloff/source/forms/xmloff_formcellbinding.cxx

 #include "formcellbinding.hxx"
 #endif
 
-#ifndef _DRAFTS_COM_SUN_STAR_FORM_XBINDABLEVALUE_HPP_
-#include <drafts/com/sun/star/form/XBindableValue.hpp>
+#ifndef _COM_SUN_STAR_FORM_BINDING_XBINDABLEVALUE_HPP_
+//#include <drafts/com/sun/star/form/XBindableValue.hpp>
+#include <com/sun/star/form/binding/XBindableValue.hpp>
 #endif
-#ifndef _DRAFTS_COM_SUN_STAR_FORM_XLISTENTRYSINK_HPP_
-#include <drafts/com/sun/star/form/XListEntrySink.hpp>
+#ifndef _COM_SUN_STAR_FORM_BINDING_XLISTENTRYSINK_HPP_
+//#include <drafts/com/sun/star/form/XListEntrySink.hpp>
+#include <com/sun/star/form/binding/XListEntrySink.hpp>
 #endif
 #ifndef _COM_SUN_STAR_DRAWING_XDRAWPAGESUPPLIER_HPP_
 #include <com/sun/star/drawing/XDrawPageSupplier.hpp>
     using namespace ::com::sun::star::table;
     using namespace ::com::sun::star::form;
     using namespace ::com::sun::star::lang;
-    using namespace ::drafts::com::sun::star::form;
+    using namespace ::com::sun::star::form::binding;
 
     namespace
     {