merge the formfield patch from ooo-build
[ooovba.git] / sw / source / core / access / accpreview.hxx
blob9ee980e72afcce7fabd9450a3a3b9b5eeebd55a7
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: accpreview.hxx,v $
10 * $Revision: 1.4 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef _ACCPREVIEW_HXX
31 #define _ACCPREVIEW_HXX
33 #include "accdoc.hxx"
35 /**
36 * accessibility implementation for the page preview.
37 * The children of the page preview are the pages that are visible in the
38 * preview.
40 * The vast majority of the implemention logic is inherited from
41 * SwAccessibleDocumentBase.
43 class SwAccessiblePreview : public SwAccessibleDocumentBase
45 virtual ~SwAccessiblePreview();
47 public:
49 SwAccessiblePreview( SwAccessibleMap *pMap );
53 //===== XServiceInfo ====================================================
55 /** Returns an identifier for the implementation of this object.
57 virtual ::rtl::OUString SAL_CALL
58 getImplementationName (void)
59 throw (::com::sun::star::uno::RuntimeException);
61 /** Return whether the specified service is supported by this class.
63 virtual sal_Bool SAL_CALL
64 supportsService (const ::rtl::OUString& sServiceName)
65 throw (::com::sun::star::uno::RuntimeException);
67 /** Returns a list of all supported services. In this case that is just
68 the AccessibleContext service.
70 virtual ::com::sun::star::uno::Sequence< ::rtl::OUString> SAL_CALL
71 getSupportedServiceNames (void)
72 throw (::com::sun::star::uno::RuntimeException);
74 //====== XTypeProvider ====================================================
75 virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException);
78 #endif