xref: /aoo42x/test/smoketestdoc/data/Events.xml (revision a622bb93)
1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
25111cb72SAndrew Rist<!--***********************************************************
35111cb72SAndrew Rist *
45111cb72SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
55111cb72SAndrew Rist * or more contributor license agreements.  See the NOTICE file
65111cb72SAndrew Rist * distributed with this work for additional information
75111cb72SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
85111cb72SAndrew Rist * to you under the Apache License, Version 2.0 (the
95111cb72SAndrew Rist * "License"); you may not use this file except in compliance
105111cb72SAndrew Rist * with the License.  You may obtain a copy of the License at
115111cb72SAndrew Rist *
125111cb72SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
135111cb72SAndrew Rist *
145111cb72SAndrew Rist * Unless required by applicable law or agreed to in writing,
155111cb72SAndrew Rist * software distributed under the License is distributed on an
165111cb72SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
175111cb72SAndrew Rist * KIND, either express or implied.  See the License for the
185111cb72SAndrew Rist * specific language governing permissions and limitations
195111cb72SAndrew Rist * under the License.
205111cb72SAndrew Rist *
215111cb72SAndrew Rist ***********************************************************-->
225111cb72SAndrew Rist
235111cb72SAndrew Rist
24cdf0e10cSrcweir<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
25cdf0e10cSrcweir<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Events" script:language="StarBasic">REM  *****  BASIC  *****
26cdf0e10cSrcweir
27cdf0e10cSrcweirGlobal s_CloseListenerCalled As Boolean
28cdf0e10cSrcweir
29cdf0e10cSrcweirSub PressCancel
30cdf0e10cSrcweir	gDlgState = cDlgCancel
31cdf0e10cSrcweirend Sub
32cdf0e10cSrcweir
33cdf0e10cSrcweirSub PressOk
34cdf0e10cSrcweir	gDlgState = cDlgOk
35cdf0e10cSrcweirend Sub
36cdf0e10cSrcweir
37cdf0e10cSrcweirSub PressTest
38cdf0e10cSrcweir	gOptionsDialog.EndExecute()
39cdf0e10cSrcweir	gDlgState = cDlgStartTest
40cdf0e10cSrcweirend Sub
41cdf0e10cSrcweir
42cdf0e10cSrcweirSub closeListener_queryClosing
43cdf0e10cSrcweir  &apos; not interested in
44cdf0e10cSrcweir  closeListener_queryClosing = TRUE
45cdf0e10cSrcweirEnd Sub
46cdf0e10cSrcweir
47cdf0e10cSrcweirSub closeListener_notifyClosing
48cdf0e10cSrcweir  s_CloseListenerCalled = TRUE
49cdf0e10cSrcweirEnd Sub
50cdf0e10cSrcweir
51cdf0e10cSrcweirSub closeListener_disposing
52cdf0e10cSrcweir  &apos; not interested in
53cdf0e10cSrcweirEnd Sub
54cdf0e10cSrcweir
55cdf0e10cSrcweirSub ResetCloseListenerFlag
56cdf0e10cSrcweir  s_CloseListenerCalled = FALSE
57cdf0e10cSrcweirEnd Sub
58cdf0e10cSrcweir
59cdf0e10cSrcweirFunction HasCloseListenerBeenCalled As Boolean
60cdf0e10cSrcweir  HasCloseListenerBeenCalled = s_CloseListenerCalled
61cdf0e10cSrcweirEnd Function
62cdf0e10cSrcweir</script:module>
63