GPU-Calc: remove Alloc_Host_Ptr for clmem of NAN vector
[LibreOffice.git] / svtools / source / inc / unoiface.hxx
blob5fe6aab167d79e33f09ebf9c8e30dff315ea609d
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef INCLUDED_SVTOOLS_SOURCE_INC_UNOIFACE_HXX
21 #define INCLUDED_SVTOOLS_SOURCE_INC_UNOIFACE_HXX
23 #include <toolkit/awt/vclxwindow.hxx>
24 #include <toolkit/awt/vclxwindows.hxx>
25 #include <toolkit/helper/listenermultiplexer.hxx>
27 #include <cppuhelper/typeprovider.hxx>
29 #include <com/sun/star/awt/XTextArea.hpp>
30 #include <com/sun/star/awt/XTextComponent.hpp>
31 #include <com/sun/star/awt/XTextLayoutConstrains.hpp>
32 #include <svtools/svmedit.hxx>
33 #include <svtools/fmtfield.hxx>
36 #include <comphelper/uno3.hxx>
37 #include <cppuhelper/implbase2.hxx>
38 #include <cppuhelper/implbase3.hxx>
39 #include <com/sun/star/awt/XItemEventBroadcaster.hpp>
42 namespace com { namespace sun { namespace star { namespace util {
43 class XNumberFormatsSupplier;
44 } } } }
46 class SvNumberFormatsSupplierObj;
48 // ----------------------------------------------------
49 // class VCLXMultiLineEdit
50 // ----------------------------------------------------
51 class VCLXMultiLineEdit : public ::com::sun::star::awt::XTextComponent,
52 public ::com::sun::star::awt::XTextArea,
53 public ::com::sun::star::awt::XTextLayoutConstrains,
54 public VCLXWindow
56 private:
57 TextListenerMultiplexer maTextListeners;
58 LineEnd meLineEndType;
60 protected:
61 void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent );
63 public:
64 VCLXMultiLineEdit();
65 ~VCLXMultiLineEdit();
67 // ::com::sun::star::uno::XInterface
68 ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
69 void SAL_CALL acquire() throw() { VCLXWindow::acquire(); }
70 void SAL_CALL release() throw() { VCLXWindow::release(); }
72 // ::com::sun::star::lang::XTypeProvider
73 ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException);
74 ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException);
76 // ::com::sun::star::awt::XTextComponent
77 void SAL_CALL addTextListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTextListener >& l ) throw(::com::sun::star::uno::RuntimeException);
78 void SAL_CALL removeTextListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTextListener >& l ) throw(::com::sun::star::uno::RuntimeException);
79 void SAL_CALL setText( const OUString& aText ) throw(::com::sun::star::uno::RuntimeException);
80 void SAL_CALL insertText( const ::com::sun::star::awt::Selection& Sel, const OUString& Text ) throw(::com::sun::star::uno::RuntimeException);
81 OUString SAL_CALL getText( ) throw(::com::sun::star::uno::RuntimeException);
82 OUString SAL_CALL getSelectedText( ) throw(::com::sun::star::uno::RuntimeException);
83 void SAL_CALL setSelection( const ::com::sun::star::awt::Selection& aSelection ) throw(::com::sun::star::uno::RuntimeException);
84 ::com::sun::star::awt::Selection SAL_CALL getSelection( ) throw(::com::sun::star::uno::RuntimeException);
85 sal_Bool SAL_CALL isEditable( ) throw(::com::sun::star::uno::RuntimeException);
86 void SAL_CALL setEditable( sal_Bool bEditable ) throw(::com::sun::star::uno::RuntimeException);
87 void SAL_CALL setMaxTextLen( sal_Int16 nLen ) throw(::com::sun::star::uno::RuntimeException);
88 sal_Int16 SAL_CALL getMaxTextLen( ) throw(::com::sun::star::uno::RuntimeException);
90 //XTextArea
91 OUString SAL_CALL getTextLines( ) throw(::com::sun::star::uno::RuntimeException);
93 // ::com::sun::star::awt::XLayoutConstrains
94 ::com::sun::star::awt::Size SAL_CALL getMinimumSize( ) throw(::com::sun::star::uno::RuntimeException);
95 ::com::sun::star::awt::Size SAL_CALL getPreferredSize( ) throw(::com::sun::star::uno::RuntimeException);
96 ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) throw(::com::sun::star::uno::RuntimeException);
98 // ::com::sun::star::awt::XTextLayoutConstrains
99 ::com::sun::star::awt::Size SAL_CALL getMinimumSize( sal_Int16 nCols, sal_Int16 nLines ) throw(::com::sun::star::uno::RuntimeException);
100 void SAL_CALL getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) throw(::com::sun::star::uno::RuntimeException);
102 // ::com::sun::star::awt::XVclWindowPeer
103 void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException);
104 ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException);
106 // ::com::sun::star::awt::XWindow
107 void SAL_CALL setFocus( ) throw(::com::sun::star::uno::RuntimeException);
109 static void ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
110 virtual void GetPropertyIds( std::list< sal_uInt16 > &aIds ) { return ImplGetPropertyIds( aIds ); }
114 // ----------------------------------------------------
115 // class VCLXFileControl
116 // ----------------------------------------------------
117 class VCLXFileControl : ::com::sun::star::awt::XTextComponent, public ::com::sun::star::awt::XTextLayoutConstrains, public VCLXWindow
119 protected:
120 DECL_LINK(ModifyHdl, void *);
121 TextListenerMultiplexer maTextListeners;
123 public:
124 VCLXFileControl();
125 ~VCLXFileControl();
127 void SetWindow( Window* pWindow );
129 // ::com::sun::star::uno::XInterface
130 ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
131 void SAL_CALL acquire() throw() { VCLXWindow::acquire(); }
132 void SAL_CALL release() throw() { VCLXWindow::release(); }
134 // ::com::sun::star::lang::XTypeProvider
135 ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException);
136 ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException);
138 // ::com::sun::star::awt::XTextComponent
139 void SAL_CALL addTextListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTextListener >& l ) throw(::com::sun::star::uno::RuntimeException);
140 void SAL_CALL removeTextListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTextListener >& l ) throw(::com::sun::star::uno::RuntimeException);
141 void SAL_CALL setText( const OUString& aText ) throw(::com::sun::star::uno::RuntimeException);
142 void SAL_CALL insertText( const ::com::sun::star::awt::Selection& Sel, const OUString& Text ) throw(::com::sun::star::uno::RuntimeException);
143 OUString SAL_CALL getText( ) throw(::com::sun::star::uno::RuntimeException);
144 OUString SAL_CALL getSelectedText( ) throw(::com::sun::star::uno::RuntimeException);
145 void SAL_CALL setSelection( const ::com::sun::star::awt::Selection& aSelection ) throw(::com::sun::star::uno::RuntimeException);
146 ::com::sun::star::awt::Selection SAL_CALL getSelection( ) throw(::com::sun::star::uno::RuntimeException);
147 sal_Bool SAL_CALL isEditable( ) throw(::com::sun::star::uno::RuntimeException);
148 void SAL_CALL setEditable( sal_Bool bEditable ) throw(::com::sun::star::uno::RuntimeException);
149 void SAL_CALL setMaxTextLen( sal_Int16 nLen ) throw(::com::sun::star::uno::RuntimeException);
150 sal_Int16 SAL_CALL getMaxTextLen( ) throw(::com::sun::star::uno::RuntimeException);
152 // ::com::sun::star::awt::XLayoutConstrains
153 ::com::sun::star::awt::Size SAL_CALL getMinimumSize( ) throw(::com::sun::star::uno::RuntimeException);
154 ::com::sun::star::awt::Size SAL_CALL getPreferredSize( ) throw(::com::sun::star::uno::RuntimeException);
155 ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) throw(::com::sun::star::uno::RuntimeException);
157 // ::com::sun::star::awt::XTextLayoutConstrains
158 ::com::sun::star::awt::Size SAL_CALL getMinimumSize( sal_Int16 nCols, sal_Int16 nLines ) throw(::com::sun::star::uno::RuntimeException);
159 void SAL_CALL getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) throw(::com::sun::star::uno::RuntimeException);
161 void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value) throw(::com::sun::star::uno::RuntimeException);
163 static void ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
164 virtual void GetPropertyIds( std::list< sal_uInt16 > &aIds ) { return ImplGetPropertyIds( aIds ); }
167 // ----------------------------------------------------
168 // class SVTXFormattedField
169 // ----------------------------------------------------
171 class SVTXFormattedField : public VCLXSpinField
173 protected:
174 SvNumberFormatsSupplierObj* m_pCurrentSupplier;
175 sal_Bool bIsStandardSupplier;
177 sal_Int32 nKeyToSetDelayed;
179 FormattedField* GetFormattedField() const { return (FormattedField*)GetWindow(); }
181 public:
182 SVTXFormattedField();
183 ~SVTXFormattedField();
185 // ::com::sun::star::awt::XVclWindowPeer
186 void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException);
187 ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException);
189 protected:
190 ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier > getFormatsSupplier(void) const;
191 void setFormatsSupplier(const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier > & xSupplier);
192 sal_Int32 getFormatKey(void) const;
193 void setFormatKey(sal_Int32 nKey);
195 void SetValue(const ::com::sun::star::uno::Any& rValue);
196 ::com::sun::star::uno::Any GetValue();
198 void SetTreatAsNumber(sal_Bool bSet);
199 sal_Bool GetTreatAsNumber();
201 void SetDefaultValue(const ::com::sun::star::uno::Any& rValue);
202 ::com::sun::star::uno::Any GetDefaultValue();
204 void SetMinValue(const ::com::sun::star::uno::Any& rValue);
205 ::com::sun::star::uno::Any GetMinValue();
207 void SetMaxValue(const ::com::sun::star::uno::Any& rValue);
208 ::com::sun::star::uno::Any GetMaxValue();
210 void NotifyTextListeners();
211 ::com::sun::star::uno::Any convertEffectiveValue(const ::com::sun::star::uno::Any& rValue);
213 virtual void SetWindow(Window* _pWindow);
215 static void ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
216 virtual void GetPropertyIds( std::list< sal_uInt16 > &aIds ) { return ImplGetPropertyIds( aIds ); }
221 // ----------------------------------------------------
222 // class SVTXRoadmap
223 // ----------------------------------------------------
225 namespace svt
227 class ORoadmap;
230 struct RMItemData
232 sal_Bool b_Enabled;
233 sal_Int32 n_ID;
234 OUString Label;
237 typedef ::cppu::ImplInheritanceHelper3 < VCLXGraphicControl
238 , ::com::sun::star::container::XContainerListener
239 , ::com::sun::star::beans::XPropertyChangeListener
240 , ::com::sun::star::awt::XItemEventBroadcaster
241 > SVTXRoadmap_Base;
242 class SVTXRoadmap : public SVTXRoadmap_Base
246 private:
247 ItemListenerMultiplexer maItemListeners;
249 RMItemData CurRMItemData;
250 RMItemData GetRMItemData( const ::com::sun::star::container::ContainerEvent& _rEvent );
252 protected:
253 ::svt::ORoadmap* GetRoadmap() const { return (::svt::ORoadmap*)GetWindow(); }
254 void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent );
256 ~SVTXRoadmap();
258 public:
259 SVTXRoadmap();
261 void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException) { VCLXWindow::disposing( Source ); }
263 // ::com::sun::star::awt::XVclWindowPeer
264 void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException);
266 ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException);
268 // XContainerListener
269 void SAL_CALL elementInserted( const ::com::sun::star::container::ContainerEvent& rEvent )throw(::com::sun::star::uno::RuntimeException);
270 void SAL_CALL elementRemoved( const ::com::sun::star::container::ContainerEvent& rEvent )throw(::com::sun::star::uno::RuntimeException);
271 void SAL_CALL elementReplaced( const ::com::sun::star::container::ContainerEvent& rEvent )throw(::com::sun::star::uno::RuntimeException);
273 // XItemEventBroadcaster
274 virtual void SAL_CALL addItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw (::com::sun::star::uno::RuntimeException);
275 virtual void SAL_CALL removeItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw (::com::sun::star::uno::RuntimeException);
277 // XPropertyChangeListener
278 virtual void SAL_CALL propertyChange( const ::com::sun::star::beans::PropertyChangeEvent& evt ) throw (::com::sun::star::uno::RuntimeException);
280 protected:
282 // VCLXGraphicControl overridables
283 virtual void ImplSetNewImage();
285 static void ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
286 virtual void GetPropertyIds( std::list< sal_uInt16 > &aIds ) { return ImplGetPropertyIds( aIds ); }
291 // ----------------------------------------------------
292 // class SVTXNumericField
293 // ----------------------------------------------------
294 class SVTXNumericField : public ::com::sun::star::awt::XNumericField, public SVTXFormattedField
296 public:
297 SVTXNumericField();
298 ~SVTXNumericField();
300 // ::com::sun::star::uno::XInterface
301 ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
302 void SAL_CALL acquire() throw() { SVTXFormattedField::acquire(); }
303 void SAL_CALL release() throw() { SVTXFormattedField::release(); }
305 // ::com::sun::star::lang::XTypeProvider
306 ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException);
307 ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException);
309 // ::com::sun::star::awt::XNumericField
310 void SAL_CALL setValue( double Value ) throw(::com::sun::star::uno::RuntimeException);
311 double SAL_CALL getValue( ) throw(::com::sun::star::uno::RuntimeException);
312 void SAL_CALL setMin( double Value ) throw(::com::sun::star::uno::RuntimeException);
313 double SAL_CALL getMin( ) throw(::com::sun::star::uno::RuntimeException);
314 void SAL_CALL setMax( double Value ) throw(::com::sun::star::uno::RuntimeException);
315 double SAL_CALL getMax( ) throw(::com::sun::star::uno::RuntimeException);
316 void SAL_CALL setFirst( double Value ) throw(::com::sun::star::uno::RuntimeException);
317 double SAL_CALL getFirst( ) throw(::com::sun::star::uno::RuntimeException);
318 void SAL_CALL setLast( double Value ) throw(::com::sun::star::uno::RuntimeException);
319 double SAL_CALL getLast( ) throw(::com::sun::star::uno::RuntimeException);
320 void SAL_CALL setSpinSize( double Value ) throw(::com::sun::star::uno::RuntimeException);
321 double SAL_CALL getSpinSize( ) throw(::com::sun::star::uno::RuntimeException);
322 void SAL_CALL setDecimalDigits( sal_Int16 nDigits ) throw(::com::sun::star::uno::RuntimeException);
323 sal_Int16 SAL_CALL getDecimalDigits( ) throw(::com::sun::star::uno::RuntimeException);
324 void SAL_CALL setStrictFormat( sal_Bool bStrict ) throw(::com::sun::star::uno::RuntimeException);
325 sal_Bool SAL_CALL isStrictFormat( ) throw(::com::sun::star::uno::RuntimeException);
327 static void ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
328 virtual void GetPropertyIds( std::list< sal_uInt16 > &aIds ) { return ImplGetPropertyIds( aIds ); }
331 // ----------------------------------------------------
332 // class VCLXCurrencyField
333 // ----------------------------------------------------
334 class SVTXCurrencyField : public ::com::sun::star::awt::XCurrencyField, public SVTXFormattedField
336 public:
337 SVTXCurrencyField();
338 ~SVTXCurrencyField();
340 // ::com::sun::star::uno::XInterface
341 ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
342 void SAL_CALL acquire() throw() { SVTXFormattedField::acquire(); }
343 void SAL_CALL release() throw() { SVTXFormattedField::release(); }
345 // ::com::sun::star::lang::XTypeProvider
346 ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException);
347 ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException);
349 // ::com::sun::star::awt::XVclWindowPeer
350 void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException);
351 ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException);
353 // ::com::sun::star::awt::XCurrencyField
354 void SAL_CALL setValue( double Value ) throw(::com::sun::star::uno::RuntimeException);
355 double SAL_CALL getValue( ) throw(::com::sun::star::uno::RuntimeException);
356 void SAL_CALL setMin( double Value ) throw(::com::sun::star::uno::RuntimeException);
357 double SAL_CALL getMin( ) throw(::com::sun::star::uno::RuntimeException);
358 void SAL_CALL setMax( double Value ) throw(::com::sun::star::uno::RuntimeException);
359 double SAL_CALL getMax( ) throw(::com::sun::star::uno::RuntimeException);
360 void SAL_CALL setFirst( double Value ) throw(::com::sun::star::uno::RuntimeException);
361 double SAL_CALL getFirst( ) throw(::com::sun::star::uno::RuntimeException);
362 void SAL_CALL setLast( double Value ) throw(::com::sun::star::uno::RuntimeException);
363 double SAL_CALL getLast( ) throw(::com::sun::star::uno::RuntimeException);
364 void SAL_CALL setSpinSize( double Value ) throw(::com::sun::star::uno::RuntimeException);
365 double SAL_CALL getSpinSize( ) throw(::com::sun::star::uno::RuntimeException);
366 void SAL_CALL setDecimalDigits( sal_Int16 nDigits ) throw(::com::sun::star::uno::RuntimeException);
367 sal_Int16 SAL_CALL getDecimalDigits( ) throw(::com::sun::star::uno::RuntimeException);
368 void SAL_CALL setStrictFormat( sal_Bool bStrict ) throw(::com::sun::star::uno::RuntimeException);
369 sal_Bool SAL_CALL isStrictFormat( ) throw(::com::sun::star::uno::RuntimeException);
371 static void ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
372 virtual void GetPropertyIds( std::list< sal_uInt16 > &aIds ) { return ImplGetPropertyIds( aIds ); }
375 // ----------------------------------------------------
376 // class VCLXProgressBar
377 // ----------------------------------------------------
378 class VCLXProgressBar : public ::com::sun::star::awt::XProgressBar,
379 public VCLXWindow
381 private:
382 sal_Int32 m_nValue;
383 sal_Int32 m_nValueMin;
384 sal_Int32 m_nValueMax;
386 protected:
387 void ImplUpdateValue();
389 public:
390 VCLXProgressBar();
391 ~VCLXProgressBar();
393 // ::com::sun::star::uno::XInterface
394 ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
395 void SAL_CALL acquire() throw() { VCLXWindow::acquire(); }
396 void SAL_CALL release() throw() { VCLXWindow::release(); }
398 // ::com::sun::star::lang::XTypeProvider
399 ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException);
400 ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException);
402 // ::com::sun::star::awt::XProgressBar
403 void SAL_CALL setForegroundColor( sal_Int32 nColor ) throw(::com::sun::star::uno::RuntimeException);
404 void SAL_CALL setBackgroundColor( sal_Int32 nColor ) throw(::com::sun::star::uno::RuntimeException);
405 void SAL_CALL setValue( sal_Int32 nValue ) throw(::com::sun::star::uno::RuntimeException);
406 void SAL_CALL setRange( sal_Int32 nMin, sal_Int32 nMax ) throw(::com::sun::star::uno::RuntimeException );
407 sal_Int32 SAL_CALL getValue() throw(::com::sun::star::uno::RuntimeException);
409 // ::com::sun::star::awt::VclWindowPeer
410 void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException);
411 ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException);
413 static void ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
414 virtual void GetPropertyIds( std::list< sal_uInt16 > &aIds ) { return ImplGetPropertyIds( aIds ); }
417 // ----------------------------------------------------
418 // class SVTXDateField
419 // ----------------------------------------------------
420 class SVTXDateField : public VCLXDateField
422 public:
423 SVTXDateField();
424 ~SVTXDateField();
426 // ::com::sun::star::awt::VclWindowPeer
427 void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException);
429 static void ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
430 virtual void GetPropertyIds( std::list< sal_uInt16 > &aIds ) { return ImplGetPropertyIds( aIds ); }
433 #endif // INCLUDED_SVTOOLS_SOURCE_INC_UNOIFACE_HXX
435 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */