1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 .
22 #include <ucbhelper/macros.hxx>
23 #include <cppuhelper/weak.hxx>
24 #include <com/sun/star/beans/XPropertySetInfo.hpp>
25 #include <com/sun/star/ucb/XContentProvider.hpp>
26 #include <com/sun/star/lang/XTypeProvider.hpp>
29 namespace fileaccess
{
33 class XPropertySetInfo_impl
34 : public cppu::OWeakObject
,
35 public com::sun::star::lang::XTypeProvider
,
36 public com::sun::star::beans::XPropertySetInfo
39 XPropertySetInfo_impl( shell
* pMyShell
,const OUString
& aUnqPath
);
40 XPropertySetInfo_impl( shell
* pMyShell
,const com::sun::star::uno::Sequence
< com::sun::star::beans::Property
>& seq
);
42 virtual ~XPropertySetInfo_impl();
45 virtual com::sun::star::uno::Any SAL_CALL
47 const com::sun::star::uno::Type
& aType
)
48 throw( com::sun::star::uno::RuntimeException
);
65 virtual com::sun::star::uno::Sequence
< com::sun::star::beans::Property
> SAL_CALL
68 throw( com::sun::star::uno::RuntimeException
);
70 virtual com::sun::star::beans::Property SAL_CALL
72 const OUString
& aName
)
73 throw( com::sun::star::beans::UnknownPropertyException
,
74 com::sun::star::uno::RuntimeException
);
76 virtual sal_Bool SAL_CALL
77 hasPropertyByName( const OUString
& Name
)
78 throw( com::sun::star::uno::RuntimeException
);
82 com::sun::star::uno::Reference
< com::sun::star::ucb::XContentProvider
> m_xProvider
;
84 com::sun::star::uno::Sequence
< com::sun::star::beans::Property
> m_seq
;
90 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */