LibreOffice: com/sun/star/awt/XFixedHyperlink.idl Source File

LibreOffice LibreOffice 7.3 SDK API Reference

XFixedHyperlink.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#ifndef __com_sun_star_awt_XFixedHyperlink_idl__
20#define __com_sun_star_awt_XFixedHyperlink_idl__
21
22#include <com/sun/star/uno/XInterface.idl>
23#include <com/sun/star/awt/XActionListener.idl>
24
25
26 module com { module sun { module star { module awt {
27
28
31 interface XFixedHyperlink: com::sun::star::uno::XInterface
32{
33
36 void setText( [in] string Text );
37
38
41 string getText();
42
43
46 void setURL( [in] string URL );
47
48
51 string getURL();
52
53
62 void setAlignment( [in] short nAlign );
63
64
67 short getAlignment();
68
69
72 void addActionListener( [in] com::sun::star::awt::XActionListener l );
73
74
77 void removeActionListener( [in] com::sun::star::awt::XActionListener l );
78
79};
80
81
82}; }; }; };
83
84#endif
85
86/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
XActionListener.idl
XInterface.idl
com::sun::star::awt::XActionListener
makes it possible to receive action events.
Definition: XActionListener.idl:34
com::sun::star::awt::XFixedHyperlink
gives access to the text and formatting of a fixed hyperlink field.
Definition: XFixedHyperlink.idl:32
com::sun::star::awt::XFixedHyperlink::removeActionListener
void removeActionListener([in] com::sun::star::awt::XActionListener l)
unregisters an event handler for click action event.
com::sun::star::awt::XFixedHyperlink::setText
void setText([in] string Text)
sets the text of the control.
com::sun::star::awt::XFixedHyperlink::getText
string getText()
returns the text of the control.
com::sun::star::awt::XFixedHyperlink::addActionListener
void addActionListener([in] com::sun::star::awt::XActionListener l)
registers an event handler for click action event.
com::sun::star::awt::XFixedHyperlink::setURL
void setURL([in] string URL)
sets the url of the control.
com::sun::star::awt::XFixedHyperlink::getAlignment
short getAlignment()
returns the alignment of the text in the control.
com::sun::star::awt::XFixedHyperlink::setAlignment
void setAlignment([in] short nAlign)
sets the alignment of the text in the control.
com::sun::star::awt::XFixedHyperlink::getURL
string getURL()
returns the url of the control.
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:48
com::sun::star::form::URL
@ URL
When the button is clicked, a URL set for the button is opened.
Definition: FormButtonType.idl:52
com
Definition: Accessible.idl:22