2010-10-14 08:30:41 +02:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-06-21 14:30:25 +01:00
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* This file incorporates work covered by the following license notice:
|
|
|
|
*
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
|
|
* with this work for additional information regarding copyright
|
|
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
|
|
*/
|
2013-03-20 18:29:12 +01:00
|
|
|
|
2013-11-05 02:17:53 +01:00
|
|
|
#ifndef INCLUDED_SW_SOURCE_CORE_ACCESS_ACCHEADERFOOTER_HXX
|
|
|
|
#define INCLUDED_SW_SOURCE_CORE_ACCESS_ACCHEADERFOOTER_HXX
|
2013-03-20 18:29:12 +01:00
|
|
|
|
2002-02-27 08:30:44 +00:00
|
|
|
#include "acccontext.hxx"
|
|
|
|
|
2015-11-25 06:03:10 -05:00
|
|
|
class SwHeaderFrame;
|
|
|
|
class SwFooterFrame;
|
2002-02-27 08:30:44 +00:00
|
|
|
|
|
|
|
class SwAccessibleHeaderFooter : public SwAccessibleContext
|
|
|
|
{
|
|
|
|
protected:
|
2016-09-13 13:09:01 +02:00
|
|
|
virtual ~SwAccessibleHeaderFooter() override;
|
2002-03-11 10:54:46 +00:00
|
|
|
|
2002-02-27 08:30:44 +00:00
|
|
|
public:
|
2017-03-24 13:04:32 +01:00
|
|
|
SwAccessibleHeaderFooter( std::shared_ptr<SwAccessibleMap> const& pInitMap,
|
2015-11-25 06:03:10 -05:00
|
|
|
const SwHeaderFrame* pHdFrame );
|
2017-03-24 13:04:32 +01:00
|
|
|
SwAccessibleHeaderFooter( std::shared_ptr<SwAccessibleMap> const& pInitMap,
|
2015-11-25 06:03:10 -05:00
|
|
|
const SwFooterFrame* pFtFrame );
|
2002-02-27 08:30:44 +00:00
|
|
|
|
2013-03-16 23:54:23 +01:00
|
|
|
// XAccessibleContext
|
2002-02-27 08:30:44 +00:00
|
|
|
|
|
|
|
/// Return this object's description.
|
2013-04-07 12:06:47 +02:00
|
|
|
virtual OUString SAL_CALL
|
2017-01-26 12:28:58 +01:00
|
|
|
getAccessibleDescription() override;
|
2002-02-27 08:30:44 +00:00
|
|
|
|
2013-03-16 23:54:23 +01:00
|
|
|
// XServiceInfo
|
2002-02-27 08:30:44 +00:00
|
|
|
|
2013-03-21 09:44:20 +00:00
|
|
|
/** Returns an identifier for the implementation of this object. */
|
2013-04-07 12:06:47 +02:00
|
|
|
virtual OUString SAL_CALL
|
2017-01-26 12:28:58 +01:00
|
|
|
getImplementationName() override;
|
2002-02-27 08:30:44 +00:00
|
|
|
|
2013-03-21 09:44:20 +00:00
|
|
|
/** Return whether the specified service is supported by this class. */
|
2002-02-27 08:30:44 +00:00
|
|
|
virtual sal_Bool SAL_CALL
|
2017-01-26 12:28:58 +01:00
|
|
|
supportsService (const OUString& sServiceName) override;
|
2002-02-27 08:30:44 +00:00
|
|
|
|
|
|
|
/** Returns a list of all supported services. In this case that is just
|
2013-03-21 09:44:20 +00:00
|
|
|
the AccessibleContext service. */
|
2015-11-06 10:51:51 +02:00
|
|
|
virtual css::uno::Sequence< OUString> SAL_CALL
|
2017-01-26 12:28:58 +01:00
|
|
|
getSupportedServiceNames() override;
|
2002-08-15 09:25:23 +00:00
|
|
|
|
2013-03-16 23:54:23 +01:00
|
|
|
// XTypeProvider
|
2017-01-26 12:28:58 +01:00
|
|
|
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) override;
|
2014-04-21 19:28:47 -04:00
|
|
|
// XAccessibleComponent
|
2017-01-26 12:28:58 +01:00
|
|
|
sal_Int32 SAL_CALL getBackground() override;
|
2002-02-27 08:30:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2010-10-14 08:30:41 +02:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|