diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2008-01-29 14:11:07 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2008-01-29 14:11:07 +0000 |
commit | 8e3e63dec5c2f5f79e32c44d8d6d75d4b88644ee (patch) | |
tree | 693099df512003981781c859f8e556a1874dac8e /offapi/com/sun/star/awt/XFixedHyperlink.idl | |
parent | 0aa5a5a8406a057ea4690117b5aa9e5499dda440 (diff) |
INTEGRATION: CWS fwk80_SRC680 (1.1.2); FILE ADDED
2008/01/11 14:33:05 pb 1.1.2.1: fix: #i83756# interface XFixedHyperlink
Diffstat (limited to 'offapi/com/sun/star/awt/XFixedHyperlink.idl')
-rw-r--r-- | offapi/com/sun/star/awt/XFixedHyperlink.idl | 117 |
1 files changed, 117 insertions, 0 deletions
diff --git a/offapi/com/sun/star/awt/XFixedHyperlink.idl b/offapi/com/sun/star/awt/XFixedHyperlink.idl new file mode 100644 index 000000000..709caed2a --- /dev/null +++ b/offapi/com/sun/star/awt/XFixedHyperlink.idl @@ -0,0 +1,117 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: XFixedHyperlink.idl,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: rt $ $Date: 2008-01-29 15:11:07 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + ************************************************************************/ +#ifndef __com_sun_star_awt_XFixedHyperlink_idl__ +#define __com_sun_star_awt_XFixedHyperlink_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_awt_XActionListener_idl__ +#include <com/sun/star/awt/XActionListener.idl> +#endif + +//============================================================================= + + module com { module sun { module star { module awt { + +//============================================================================= + +/** gives access to the text and formatting of a fixed hyperlink field. + */ +interface XFixedHyperlink: com::sun::star::uno::XInterface +{ + //------------------------------------------------------------------------- + + /** sets the text of the control. + */ + [oneway] void setText( [in] string Text ); + + //------------------------------------------------------------------------- + + /** returns the text of the control. + */ + string getText(); + + //------------------------------------------------------------------------- + + /** sets the url of the control. + */ + [oneway] void setURL( [in] string URL ); + + //------------------------------------------------------------------------- + + /** returns the url of the control. + */ + string getURL(); + + //------------------------------------------------------------------------- + + /** sets the alignment of the text in the control. + + <pre> + 0: left + 1: center + 2: right + </pre> + */ + [oneway] void setAlignment( [in] short nAlign ); + + //------------------------------------------------------------------------- + + /** returns the alignment of the text in the control. + */ + short getAlignment(); + + //------------------------------------------------------------------------- + + /** registers an event handler for click action event. + */ + [oneway] void addActionListener( [in] com::sun::star::awt::XActionListener l ); + + //------------------------------------------------------------------------- + + /** unregisters an event handler for click action event. + */ + [oneway] void removeActionListener( [in] com::sun::star::awt::XActionListener l ); + +}; + +//============================================================================= + +}; }; }; }; + +#endif + |