tdf#130857 qt weld: Implement QtInstanceWidget::get_text_height
[LibreOffice.git] / offapi / com / sun / star / awt / XFixedHyperlink.idl
blob6e56ed76583d27b47dccb4b2859591a5bead6f65
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 .
21 module com { module sun { module star { module awt {
24 /** gives access to the text and formatting of a fixed hyperlink field.
26 interface XFixedHyperlink: com::sun::star::uno::XInterface
29 /** sets the text of the control.
31 void setText( [in] string Text );
34 /** returns the text of the control.
36 string getText();
39 /** sets the url of the control.
41 void setURL( [in] string URL );
44 /** returns the url of the control.
46 string getURL();
49 /** sets the alignment of the text in the control.
51 <pre>
52 0: left
53 1: center
54 2: right
55 </pre>
57 void setAlignment( [in] short nAlign );
60 /** returns the alignment of the text in the control.
62 short getAlignment();
65 /** registers an event handler for click action event.
67 void addActionListener( [in] com::sun::star::awt::XActionListener l );
70 /** unregisters an event handler for click action event.
72 void removeActionListener( [in] com::sun::star::awt::XActionListener l );
77 }; }; }; };
79 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */