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_ACCPREVIEW_HXX
|
|
|
|
#define INCLUDED_SW_SOURCE_CORE_ACCESS_ACCPREVIEW_HXX
|
2002-05-22 10:48:43 +00:00
|
|
|
|
|
|
|
#include "accdoc.hxx"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* accessibility implementation for the page preview.
|
|
|
|
* The children of the page preview are the pages that are visible in the
|
|
|
|
* preview.
|
|
|
|
*
|
2014-04-11 08:54:01 +02:00
|
|
|
* The vast majority of the implementation logic is inherited from
|
2002-05-22 10:48:43 +00:00
|
|
|
* SwAccessibleDocumentBase.
|
|
|
|
*/
|
|
|
|
class SwAccessiblePreview : public SwAccessibleDocumentBase
|
|
|
|
{
|
2016-09-13 13:09:01 +02:00
|
|
|
virtual ~SwAccessiblePreview() override;
|
2002-05-22 10:48:43 +00:00
|
|
|
|
|
|
|
public:
|
2017-03-24 13:04:32 +01:00
|
|
|
SwAccessiblePreview(std::shared_ptr<SwAccessibleMap> const& pMap);
|
2002-05-22 10:48:43 +00:00
|
|
|
|
2014-04-21 19:28:47 -04:00
|
|
|
// XServiceInfo
|
2002-05-22 10:48:43 +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-05-22 10:48:43 +00:00
|
|
|
|
|
|
|
/** Return whether the specified service is supported by this class.
|
|
|
|
*/
|
|
|
|
virtual sal_Bool SAL_CALL
|
2017-01-26 12:28:58 +01:00
|
|
|
supportsService (const OUString& sServiceName) override;
|
2002-05-22 10:48:43 +00:00
|
|
|
|
|
|
|
/** Returns a list of all supported services. In this case that is just
|
|
|
|
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
|
|
|
|
2014-04-21 19:28:47 -04:00
|
|
|
// XTypeProvider
|
2017-01-26 12:28:58 +01:00
|
|
|
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) override;
|
2013-11-29 13:03:27 +00:00
|
|
|
|
2017-01-26 12:28:58 +01:00
|
|
|
OUString SAL_CALL getAccessibleDescription() override;
|
|
|
|
OUString SAL_CALL getAccessibleName() override;
|
2016-04-22 10:08:07 +02:00
|
|
|
virtual void InvalidateFocus_() override;
|
2002-05-22 10:48:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2010-10-14 08:30:41 +02:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|