fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / filter / source / flash / swfdialog.hxx
blob86c08642d229824b9ec505d1b3e3f4c1aec69a22
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 SWFDIALOG_HXX
21 #define SWFDIALOG_HXX
23 #include <com/sun/star/beans/XPropertyAccess.hpp>
24 #include <com/sun/star/document/XExporter.hpp>
26 #include <svtools/genericunodialog.hxx>
28 // -------------
29 // - SWFDialog -
30 // -------------
32 class Window;
33 class ResMgr;
35 class SWFDialog : public ::svt::OGenericUnoDialog,
36 public ::comphelper::OPropertyArrayUsageHelper< SWFDialog >,
37 public ::com::sun::star::beans::XPropertyAccess,
38 public ::com::sun::star::document::XExporter
40 private:
42 ResMgr* mpResMgr;
43 com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > maMediaDescriptor;
44 com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > maFilterData;
45 com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > mxSrcDoc;
47 protected:
49 // XInterface
50 virtual com::sun::star::uno::Any SAL_CALL queryInterface( const com::sun::star::uno::Type& aType ) throw (com::sun::star::uno::RuntimeException);
51 virtual void SAL_CALL acquire() throw ();
52 virtual void SAL_CALL release() throw ();
54 // OGenericUnoDialog
55 virtual com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(com::sun::star::uno::RuntimeException);
56 virtual OUString SAL_CALL getImplementationName() throw (com::sun::star::uno::RuntimeException);
57 virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (com::sun::star::uno::RuntimeException);
58 virtual Dialog* createDialog( Window* pParent );
59 virtual void executedDialog( sal_Int16 nExecutionResult );
60 virtual com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() throw(com::sun::star::uno::RuntimeException);
61 virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper();
62 virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const;
64 // XPropertyAccess
65 using ::cppu::OPropertySetHelper::getPropertyValues;
66 using ::cppu::OPropertySetHelper::setPropertyValues;
67 virtual com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getPropertyValues( ) throw (com::sun::star::uno::RuntimeException);
68 virtual void SAL_CALL setPropertyValues( const com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aProps ) throw (com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException, com::sun::star::uno::RuntimeException);
70 // XExporter
71 virtual void SAL_CALL setSourceDocument( const com::sun::star::uno::Reference< com::sun::star::lang::XComponent >& xDoc ) throw(com::sun::star::lang::IllegalArgumentException, com::sun::star::uno::RuntimeException);
73 public:
75 SWFDialog( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxContext );
76 virtual ~SWFDialog();
79 // -----------------------------------------------------------------------------
81 #endif // SWFDialog_HXX
83 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */