fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / sax / source / expatwrap / attrlistimpl.hxx
bloba03985e0c66991b46b93f49a91a72aa958488f7d
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_SAX_SOURCE_EXPATWRAP_ATTRLISTIMPL_HXX
21 #define INCLUDED_SAX_SOURCE_EXPATWRAP_ATTRLISTIMPL_HXX
23 #include "sal/config.h"
24 #include <cppuhelper/implbase2.hxx>
25 #include <com/sun/star/uno/RuntimeException.hpp>
26 #include <com/sun/star/util/XCloneable.hpp>
27 #include <com/sun/star/xml/sax/XAttributeList.hpp>
29 namespace sax_expatwrap
32 struct AttributeList_impl;
34 //FIXME
35 class AttributeList :
36 public ::cppu::WeakImplHelper2<
37 ::com::sun::star::xml::sax::XAttributeList,
38 ::com::sun::star::util::XCloneable >
40 public:
41 AttributeList();
42 AttributeList( const AttributeList & );
43 virtual ~AttributeList();
45 void addAttribute( const OUString &sName ,
46 const OUString &sType , const OUString &sValue );
47 void clear();
48 public:
49 // XAttributeList
50 virtual sal_Int16 SAL_CALL getLength()
51 throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
52 virtual OUString SAL_CALL getNameByIndex(sal_Int16 i)
53 throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
54 virtual OUString SAL_CALL getTypeByIndex(sal_Int16 i)
55 throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
56 virtual OUString SAL_CALL getTypeByName(const OUString& aName)
57 throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
58 virtual OUString SAL_CALL getValueByIndex(sal_Int16 i)
59 throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
60 virtual OUString SAL_CALL getValueByName(const OUString& aName)
61 throw( ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
63 // XCloneable
64 virtual ::com::sun::star::uno::Reference< XCloneable > SAL_CALL
65 createClone() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
67 private:
68 struct AttributeList_impl *m_pImpl;
73 #endif
75 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */