Avoid potential negative array index access to cached text.
[LibreOffice.git] / include / svx / IAccessibleViewForwarderListener.hxx
blobbd2265b9694f1863db53bb99b1a4f10f4f047fa8
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
20 #ifndef INCLUDED_SVX_IACCESSIBLEVIEWFORWARDERLISTENER_HXX
21 #define INCLUDED_SVX_IACCESSIBLEVIEWFORWARDERLISTENER_HXX
23 namespace accessibility
25 /** <p>The purpose of this interface is to notify a user of an
26 IAccessibleViewForwarder when that view forwarder changes its
27 properties. Such a change may be one of the following:
28 <ul>
29 <li>Change of the coordinate transformation.</li>
30 <li>Change of the visible area (which in turn results in a change of the
31 coordinate transformation.</li>
32 <li>Change of the validity state of the view forwarder.</li>
34 class IAccessibleViewForwarderListener
36 public:
37 /** This method is called to indicate a change of the specified view
38 forwarder, specifically, a change in visible area.
40 virtual void ViewForwarderChanged() = 0;
42 protected:
43 ~IAccessibleViewForwarderListener() {}
46 } // end of namespace accessibility
48 #endif
50 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */