diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-22 14:24:08 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-22 14:24:08 +0000 |
commit | 9463763e5d3366372cbcdaf05452d30e6e71bccb (patch) | |
tree | 7d246349f453888d0e215d815da93c095c54fcf4 /svtools/inc/svtools/fixedhyper.hxx | |
parent | 64a76e47117989acd1d14e137fb1ed538d06bfc3 (diff) |
INTEGRATION: CWS jl76 (1.2.138); FILE MERGED
2007/11/02 08:46:41 pb 1.2.138.1: fix: #i81502# Set/GetURL(), SetDescription() added
Diffstat (limited to 'svtools/inc/svtools/fixedhyper.hxx')
-rw-r--r-- | svtools/inc/svtools/fixedhyper.hxx | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/svtools/inc/svtools/fixedhyper.hxx b/svtools/inc/svtools/fixedhyper.hxx index 7bbe7ddb7960..34767f4263b6 100644 --- a/svtools/inc/svtools/fixedhyper.hxx +++ b/svtools/inc/svtools/fixedhyper.hxx @@ -4,9 +4,9 @@ * * $RCSfile: fixedhyper.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: kz $ $Date: 2007-06-20 13:57:55 $ + * last change: $Author: ihi $ $Date: 2007-11-22 15:24:08 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -57,6 +57,7 @@ namespace svt long m_nTextLen; Pointer m_aOldPointer; Link m_aClickHdl; + String m_sURL; /** initializes the font (link color and underline). @@ -126,6 +127,19 @@ namespace svt <member>m_aClickHdl</member> */ inline const Link& GetClickHdl() const { return m_aClickHdl; } + + /** sets the URL of the hyperlink and uses it as tooltip. */ + void SetURL( const String& rNewURL ); + + /** returns the URL of the hyperlink. + + @return + <member>m_sURL</member> + */ + inline String GetURL() const { return m_sURL; } + + /** sets new text and recalculates the text length. */ + void SetDescription( const String& rNewDescription ); }; //......................................................................... |