Version 3.6.0.4, tag libreoffice-3.6.0.4
[LibreOffice.git] / svx / source / accessibility / AccessibleShapeInfo.cxx
blob8f288aab4329a951367aab9a329336a8d691ff64
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
31 #include <svx/AccessibleShapeInfo.hxx>
34 namespace accessibility {
36 AccessibleShapeInfo::AccessibleShapeInfo (
37 const ::com::sun::star::uno::Reference<
38 ::com::sun::star::drawing::XShape>& rxShape,
39 const ::com::sun::star::uno::Reference<
40 ::com::sun::star::accessibility::XAccessible>& rxParent,
41 IAccessibleParent* pChildrenManager,
42 sal_Int32 nIndex)
43 : mxShape (rxShape),
44 mxParent (rxParent),
45 mpChildrenManager (pChildrenManager),
46 mnIndex (nIndex)
48 // empty.
54 AccessibleShapeInfo::AccessibleShapeInfo (
55 const ::com::sun::star::uno::Reference<
56 ::com::sun::star::drawing::XShape>& rxShape,
57 const ::com::sun::star::uno::Reference<
58 ::com::sun::star::accessibility::XAccessible>& rxParent,
59 sal_Int32 nIndex)
60 : mxShape (rxShape),
61 mxParent (rxParent),
62 mpChildrenManager (NULL),
63 mnIndex (nIndex)
65 // empty.
68 AccessibleShapeInfo::AccessibleShapeInfo (const AccessibleShapeInfo &rOther)
69 : mxShape (rOther.mxShape),
70 mxParent (rOther.mxParent),
71 mpChildrenManager (rOther.mpChildrenManager),
72 mnIndex (rOther.mnIndex)
74 // empty.
78 AccessibleShapeInfo::~AccessibleShapeInfo (void)
80 // empty.
83 } // end of namespace accessibility.
85 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */