LibreOffice LibreOffice 25.2 SDK API Reference

LineDescriptor.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
20module com { module sun { module star { module inspection {
21
22 interface XPropertyControl;
23
41 struct LineDescriptor
42{
45 string DisplayName;
46
51 XPropertyControl Control;
52
55 string HelpURL;
56
68 boolean HasPrimaryButton;
69
80 string PrimaryButtonId;
81
95 string PrimaryButtonImageURL;
96
105 com::sun::star::graphic::XGraphic PrimaryButtonImage;
106
116 boolean HasSecondaryButton;
117
125 string SecondaryButtonId;
126
140 string SecondaryButtonImageURL;
141
150 com::sun::star::graphic::XGraphic SecondaryButtonImage;
151
161 short IndentLevel;
162
176 string Category;
177};
178
179
180}; }; }; };
181
182/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::graphic::XGraphic
This interface acts as a container for the loaded graphic.
Definition: XGraphic.idl:38
com::sun::star::inspection::XPropertyControl
defines the interface for a single control in an ObjectInspector
Definition: XPropertyControl.idl:29
com
Definition: Ambiguous.idl:20
com::sun::star::inspection::LineDescriptor
describes the appearance of a line representing a single property in an ObjectInspector.
Definition: LineDescriptor.idl:42
com::sun::star::inspection::LineDescriptor::PrimaryButtonId
string PrimaryButtonId
describes a unique id to associate with the primary button
Definition: LineDescriptor.idl:80
com::sun::star::inspection::LineDescriptor::IndentLevel
short IndentLevel
describes the indent level for the property
Definition: LineDescriptor.idl:161
com::sun::star::inspection::LineDescriptor::SecondaryButtonImageURL
string SecondaryButtonImageURL
describes the URL of an image to display on the secondary button, if any.
Definition: LineDescriptor.idl:140
com::sun::star::inspection::LineDescriptor::HelpURL
string HelpURL
specifies the URL to the help topic to be associated with the property
Definition: LineDescriptor.idl:55
com::sun::star::inspection::LineDescriptor::Category
string Category
describes the category into which the property should be sorted by the ObjectInspector.
Definition: LineDescriptor.idl:176
com::sun::star::inspection::LineDescriptor::HasSecondaryButton
boolean HasSecondaryButton
determines whether a secondary button exists which can be used for a more complex,...
Definition: LineDescriptor.idl:116
com::sun::star::inspection::LineDescriptor::HasPrimaryButton
boolean HasPrimaryButton
determines whether a button exists which can be used for a more complex, interactive property value i...
Definition: LineDescriptor.idl:68
com::sun::star::inspection::LineDescriptor::SecondaryButtonId
string SecondaryButtonId
describes a unique id to associate with the primary button
Definition: LineDescriptor.idl:125
com::sun::star::inspection::LineDescriptor::DisplayName
string DisplayName
denotes the human-readable display name used to present a property to the user
Definition: LineDescriptor.idl:45
com::sun::star::inspection::LineDescriptor::Control
XPropertyControl Control
denotes the control which should be used to represent the property at the UI.
Definition: LineDescriptor.idl:51
com::sun::star::inspection::LineDescriptor::PrimaryButtonImage
com::sun::star::graphic::XGraphic PrimaryButtonImage
describes a graphics to display at the primary button, if any.
Definition: LineDescriptor.idl:105
com::sun::star::inspection::LineDescriptor::PrimaryButtonImageURL
string PrimaryButtonImageURL
describes the URL of an image to display on the primary button, if any.
Definition: LineDescriptor.idl:95
com::sun::star::inspection::LineDescriptor::SecondaryButtonImage
com::sun::star::graphic::XGraphic SecondaryButtonImage
describes a graphics to display at the secondary button, if any.
Definition: LineDescriptor.idl:150