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 .
21 module com
{ module sun
{ module star
{ module form
{
24 /** provides functionality to implement objects which may be loaded.
26 <p>The object is typically implemented by high-level objects which can connect to a data source.</p>
30 published
interface XLoadable
: com
::sun
::star
::uno
::XInterface
35 <p>If the data is already loaded (->isLoaded), then the method returns silently.
36 In this case, you should use ->reload.</p>
46 /** does a smart refresh of the object.
48 <p>The final state will be the same as if unload and load were called, but reload
49 is the more efficient way to do the same. If the object isn't loaded, nothing happens.</p>
54 /** returns if the object is in loaded state.
59 /** adds the specified listener to receive load-related events
64 void addLoadListener
( [in] com
::sun
::star
::form
::XLoadListener aListener
);
67 /** removes the specified listener.
70 the listener to remove.
72 void removeLoadListener
( [in] com
::sun
::star
::form
::XLoadListener aListener
);
77 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */