1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 module com
{ module sun
{ module star
{ module script
{
24 /** describes an interrupt which occurs in the scripting engine.
27 published
struct InterruptEngineEvent
: com
::sun
::star
::lang
::EventObject
29 /** fully qualified name to address the module or function affected by the event that
32 <p>If the module or function can't be addressed by name (for example, in case
33 that a runtime-generated eval-module is executed), this string is empty.</p>
37 /** source code of the Module affected by the event that took place.
40 be accessed using the ModuleName, or if the source is unknown (executing compiled
41 code), this string can be empty.</p>
45 /** contains the first line in the module's source code that is affected
46 by the event that took place.
50 <p>If "name" addresses a function, all line and column values
51 are nevertheless given relative to the module's source. If
52 source code is not available, this value addresses a binary
53 position in the compiled code. </p>
55 @see XLibraryAccess::getModuleCode
56 @see XLibraryAccess::getFunctionCode
60 /** contains the first column in the "StartLine" that is affected by the
61 event that took place.
65 /** contains the last line in the module's source code that is affected
66 by the event that took place.
70 /** contains the first column in the "EndLine" which is NOT affected by
71 the event that took place.
76 <p>Only valid if Reason is RuntimeError or CompileError.</p>
80 /** contains the interrupt reason.
82 com
::sun
::star
::script
::InterruptReason Reason
;
89 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */