1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE script:module PUBLIC
"-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
3 <script:module xmlns:
script=
"http://openoffice.org/2000/script" script:
name=
"sch_AccLegendEntry" script:
language=
"StarBasic">
5 '*************************************************************************
7 ' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
9 ' Copyright
2008 by Sun Microsystems, Inc.
11 ' OpenOffice.org - a multi-platform office productivity suite
13 ' $RCSfile: sch_AccLegendEntry.xba,v $
17 ' This file is part of OpenOffice.org.
19 ' OpenOffice.org is free software: you can redistribute it and/or modify
20 ' it under the terms of the GNU Lesser General Public License version
3
21 ' only, as published by the Free Software Foundation.
23 ' OpenOffice.org is distributed in the hope that it will be useful,
24 ' but WITHOUT ANY WARRANTY; without even the implied warranty of
25 ' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 ' GNU Lesser General Public License version
3 for more details
27 ' (a copy is included in the LICENSE file that accompanied this code).
29 ' You should have received a copy of the GNU Lesser General Public License
30 ' version
3 along with OpenOffice.org. If not, see
31 '
<http://www.openoffice.org/license.html
>
32 ' for a copy of the LGPLv3 License.
34 '*************************************************************************
35 '*************************************************************************
39 ' Be sure that all variables are dimensioned:
43 ' REQUIRED VARIABLES for interface/service tests:
48 '*************************************************************************
51 '*************************************************************************
56 oDoc = utils.loadTestDocument(
"emptyChart.sds", cObjectName)
58 oWin = utils.at_getCurrentWindow(oDoc)
59 xRoot = utils.at_getAccessibleObject(oWin)
60 oObj = utils.at_getAccessibleObjectForRole(xRoot, com.sun.star.accessibility.AccessibleRole.SHAPE,
"LegendEntry")