LibreOffice Module editeng (master) 1
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
SvxURLField Class Referencefinal

#include <flditem.hxx>

Inheritance diagram for SvxURLField:
[legend]
Collaboration diagram for SvxURLField:
[legend]

Public Member Functions

virtual sal_Int32 GetClassId () const override
 
 SvxURLField ()
 
 SvxURLField (OUString aURL, OUString aRepres, SvxURLFormat eFmt=SvxURLFormat::Url)
 
const OUString & GetURL () const
 
void SetURL (const OUString &rURL)
 
const OUString & GetRepresentation () const
 
void SetRepresentation (const OUString &rRep)
 
const OUString & GetTargetFrame () const
 
void SetTargetFrame (const OUString &rFrm)
 
SvxURLFormat GetFormat () const
 
void SetFormat (SvxURLFormat eFmt)
 
virtual std::unique_ptr< SvxFieldDataClone () const override
 
virtual bool operator== (const SvxFieldData &) const override
 
virtual MetaActioncreateBeginComment () const override
 
- Public Member Functions inherited from SvxFieldData
virtual sal_Int32 GetClassId () const
 
 SvxFieldData ()
 
virtual ~SvxFieldData ()
 
 SvxFieldData (SvxFieldData const &)=default
 
 SvxFieldData (SvxFieldData &&)=default
 
SvxFieldDataoperator= (SvxFieldData const &)=default
 
SvxFieldDataoperator= (SvxFieldData &&)=default
 
virtual std::unique_ptr< SvxFieldDataClone () const
 
virtual bool operator== (const SvxFieldData &) const
 
virtual MetaActioncreateBeginComment () const
 

Static Public Attributes

static constexpr auto CLASS_ID = css::text::textfield::Type::URL
 
- Static Public Attributes inherited from SvxFieldData
static constexpr auto CLASS_ID = css::text::textfield::Type::UNSPECIFIED
 

Private Attributes

SvxURLFormat eFormat
 
OUString aURL
 
OUString aRepresentation
 
OUString aTargetFrame
 

Additional Inherited Members

- Static Public Member Functions inherited from SvxFieldData
static SvxFieldDataCreate (const css::uno::Reference< css::text::XTextContent > &xContent)
 
static MetaActioncreateEndComment ()
 

Detailed Description

Definition at line 144 of file flditem.hxx.

Constructor & Destructor Documentation

◆ SvxURLField() [1/2]

SvxURLField::SvxURLField ( )

Definition at line 434 of file flditem.cxx.

References eFormat, and Url.

◆ SvxURLField() [2/2]

SvxURLField::SvxURLField ( OUString  aURL,
OUString  aRepres,
SvxURLFormat  eFmt = SvxURLFormat::Url 
)

Definition at line 440 of file flditem.cxx.

References aURL, and eFormat.

Member Function Documentation

◆ Clone()

std::unique_ptr< SvxFieldData > SvxURLField::Clone ( ) const
overridevirtual

Reimplemented from SvxFieldData.

Definition at line 447 of file flditem.cxx.

◆ createBeginComment()

MetaAction * SvxURLField::createBeginComment ( ) const
overridevirtual

Reimplemented from SvxFieldData.

Definition at line 466 of file flditem.cxx.

References aURL.

◆ GetClassId()

virtual sal_Int32 SvxURLField::GetClassId ( ) const
inlineoverridevirtual

Reimplemented from SvxFieldData.

Definition at line 154 of file flditem.hxx.

◆ GetFormat()

SvxURLFormat SvxURLField::GetFormat ( ) const
inline

Definition at line 168 of file flditem.hxx.

◆ GetRepresentation()

const OUString & SvxURLField::GetRepresentation ( ) const
inline

Definition at line 162 of file flditem.hxx.

◆ GetTargetFrame()

const OUString & SvxURLField::GetTargetFrame ( ) const
inline

Definition at line 165 of file flditem.hxx.

◆ GetURL()

const OUString & SvxURLField::GetURL ( ) const
inline

Definition at line 159 of file flditem.hxx.

References aURL.

◆ operator==()

bool SvxURLField::operator== ( const SvxFieldData rOther) const
overridevirtual

Reimplemented from SvxFieldData.

Definition at line 453 of file flditem.cxx.

References aRepresentation, aTargetFrame, aURL, and eFormat.

◆ SetFormat()

void SvxURLField::SetFormat ( SvxURLFormat  eFmt)
inline

Definition at line 169 of file flditem.hxx.

◆ SetRepresentation()

void SvxURLField::SetRepresentation ( const OUString &  rRep)
inline

Definition at line 163 of file flditem.hxx.

◆ SetTargetFrame()

void SvxURLField::SetTargetFrame ( const OUString &  rFrm)
inline

Definition at line 166 of file flditem.hxx.

◆ SetURL()

void SvxURLField::SetURL ( const OUString &  rURL)
inline

Definition at line 160 of file flditem.hxx.

References aURL.

Member Data Documentation

◆ aRepresentation

OUString SvxURLField::aRepresentation
private

Definition at line 149 of file flditem.hxx.

Referenced by operator==().

◆ aTargetFrame

OUString SvxURLField::aTargetFrame
private

Definition at line 150 of file flditem.hxx.

Referenced by operator==().

◆ aURL

OUString SvxURLField::aURL
private

Definition at line 148 of file flditem.hxx.

Referenced by createBeginComment(), and operator==().

◆ CLASS_ID

constexpr auto SvxURLField::CLASS_ID = css::text::textfield::Type::URL
staticconstexpr

Definition at line 153 of file flditem.hxx.

◆ eFormat

SvxURLFormat SvxURLField::eFormat
private

Definition at line 147 of file flditem.hxx.

Referenced by operator==(), and SvxURLField().


The documentation for this class was generated from the following files: