LibreOffice
LibreOffice 24.2 SDK API Reference
GalleryItem.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
19 
20 
21 module com { module sun { module star { module gallery {
22 
23 
26 service GalleryItem
27 {
28  interface ::com::sun::star::gallery::XGalleryItem;
29 
30  interface ::com::sun::star::beans::XPropertySet;
31 
36  [readonly, property] byte GalleryItemType;
37 
45  [readonly, property] string URL;
46 
49  [property] string Title;
50 
56 
61  [optional, readonly, property ] ::com::sun::star::graphic::XGraphic Graphic;
62 
67  [optional, readonly, property ] ::com::sun::star::lang::XComponent Drawing;
68 };
69 
70 
71 }; }; }; };
72 
73 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
string URL
the URL of the Gallery item
Definition: GalleryItem.idl:45
com::sun::star::graphic::XGraphic Thumbnail
the thumbnail of the Gallery item
Definition: GalleryItem.idl:55
service to get access to the properties of a single Gallery item
Definition: GalleryItem.idl:26
allows to explicitly free resources and break cyclic references.
Definition: XComponent.idl:38
Definition: Ambiguous.idl:20
This interface acts as a container for the loaded graphic.
Definition: XGraphic.idl:37
::com::sun::star::graphic::XGraphic Graphic
the graphic content of the Gallery item
Definition: GalleryItem.idl:61
byte GalleryItemType
The type of the Gallery item.
Definition: GalleryItem.idl:30
::com::sun::star::lang::XComponent Drawing
the drawing content of the Gallery item
Definition: GalleryItem.idl:67
string Title
the title of the Gallery item
Definition: GalleryItem.idl:49