tdf#130857 qt weld: Implement QtInstanceWidget::get_text_height
[LibreOffice.git] / offapi / com / sun / star / awt / XImageProducer.idl
blob9268f8ebf158897ba7486eed9fd4681b371ea983
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 .
22 module com { module sun { module star { module awt {
25 /** specifies a source for an image.
27 published interface XImageProducer: com::sun::star::uno::XInterface
30 /** registers an image consumer with the image producer for accessing
31 the image data during a later reconstruction of the image.
33 <p>The image producer may, at its discretion, start delivering the
34 image data to the consumer using the XImageConsumer
35 interface immediately, or when the next available image reconstruction
36 is triggered by a call to the startProduction method.</p>
38 void addConsumer( [in] com::sun::star::awt::XImageConsumer xConsumer );
41 /** removes the given com::sun::star::awt::XImageConsumer
42 callback from the list of consumers currently registered to receive
43 image data.
45 <p>It is not considered an error to remove a consumer that is not
46 currently registered. The image producer should stop sending data
47 to this consumer as soon as it is feasible.</p>
49 void removeConsumer( [in] com::sun::star::awt::XImageConsumer xConsumer );
52 /** registers the given image consumer as a consumer
53 and starts an immediate reconstruction of the image data.
55 <p>The image data will then be delivered to this consumer and any other
56 consumer which may have already been registered with the producer.
57 This method differs from the addConsumer method in that a reproduction of
58 the image data should be triggered as soon as possible.</p>
60 void startProduction();
65 }; }; }; };
67 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */