LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | List of all members
SwJumpEditField Class Referencefinal

#include <docufld.hxx>

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

Public Member Functions

 SwJumpEditField (SwJumpEditFieldType *, sal_uInt32 nFormat, OUString sText, OUString sHelp)
 
virtual OUString ExpandImpl (SwRootFrame const *pLayout) const override
 
virtual std::unique_ptr< SwFieldCopy () const override
 
virtual OUString GetPar1 () const override
 Placeholder-Text. More...
 
virtual void SetPar1 (const OUString &rStr) override
 set place holder text More...
 
virtual OUString GetPar2 () const override
 Hint-Text. More...
 
virtual void SetPar2 (const OUString &rStr) override
 set hint text More...
 
SwCharFormatGetCharFormat () const
 
virtual bool QueryValue (css::uno::Any &rVal, sal_uInt16 nWhich) const override
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt16 nWhich) override
 
- Public Member Functions inherited from SwField
virtual ~SwField ()
 
 SwField (SwField const &)=default
 
 SwField (SwField &&)=default
 
SwFieldoperator= (SwField const &)=default
 
SwFieldoperator= (SwField &&)=default
 
SwFieldTypeGetTyp () const
 
virtual SwFieldTypeChgTyp (SwFieldType *)
 Set new type (used for copying among documents). More...
 
OUString ExpandField (bool bCached, SwRootFrame const *pLayout) const
 expand the field. More...
 
virtual OUString GetFieldName () const
 get name or content More...
 
std::unique_ptr< SwFieldCopyField () const
 
SwFieldIds Which () const
 ResId. More...
 
SwFieldTypesEnum GetTypeId () const
 
virtual sal_uInt16 GetSubType () const
 
virtual void SetSubType (sal_uInt16)
 
LanguageType GetLanguage () const
 Language at field position. More...
 
virtual void SetLanguage (LanguageType nLng)
 
sal_uInt32 GetFormat () const
 Query parameters for dialog and for BASIC. More...
 
virtual OUString GetPar1 () const
 
virtual OUString GetPar2 () const
 
virtual OUString GetFormula () const
 
void ChangeFormat (sal_uInt32 n)
 
virtual void SetPar1 (const OUString &rStr)
 
virtual void SetPar2 (const OUString &rStr)
 
virtual bool QueryValue (css::uno::Any &rVal, sal_uInt16 nWhichId) const
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt16 nWhichId)
 
bool HasClickHdl () const
 Does the field possess an action on its ClickHandler? (e.g. INetFields, ...). More...
 
bool IsFixed () const
 
bool IsAutomaticLanguage () const
 
void SetAutomaticLanguage (bool const bSet)
 
virtual OUString GetDescription () const
 
bool IsClickable () const
 Is this field clickable? More...
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 
const OUString & GetTitle () const
 
void SetTitle (const OUString &rTitle)
 

Private Attributes

OUString m_sText
 
OUString m_sHelp
 

Additional Inherited Members

- Protected Member Functions inherited from SwField
void SetFormat (sal_uInt32 const nSet)
 
 SwField (SwFieldType *pTyp, sal_uInt32 nFormat=0, LanguageType nLang=LANGUAGE_SYSTEM, bool m_bUseFieldValueCache=true)
 

Detailed Description

Definition at line 673 of file docufld.hxx.

Constructor & Destructor Documentation

◆ SwJumpEditField()

SwJumpEditField::SwJumpEditField ( SwJumpEditFieldType pTyp,
sal_uInt32  nFormat,
OUString  sText,
OUString  sHelp 
)

Definition at line 2531 of file docufld.cxx.

Member Function Documentation

◆ Copy()

std::unique_ptr< SwField > SwJumpEditField::Copy ( ) const
overridevirtual

Implements SwField.

Definition at line 2542 of file docufld.cxx.

References SwField::GetFormat(), SwField::GetTyp(), m_sHelp, and m_sText.

◆ ExpandImpl()

OUString SwJumpEditField::ExpandImpl ( SwRootFrame const *  pLayout) const
overridevirtual

Implements SwField.

Definition at line 2537 of file docufld.cxx.

References m_sText.

◆ GetCharFormat()

SwCharFormat * SwJumpEditField::GetCharFormat ( ) const
inline

Definition at line 692 of file docufld.hxx.

References GetCharFormat(), and SwField::GetTyp().

Referenced by GetCharFormat().

◆ GetPar1()

OUString SwJumpEditField::GetPar1 ( ) const
overridevirtual

Placeholder-Text.

get place holder text

Reimplemented from SwField.

Definition at line 2549 of file docufld.cxx.

References m_sText.

◆ GetPar2()

OUString SwJumpEditField::GetPar2 ( ) const
overridevirtual

Hint-Text.

get hint text

Reimplemented from SwField.

Definition at line 2561 of file docufld.cxx.

References m_sHelp.

◆ PutValue()

bool SwJumpEditField::PutValue ( const css::uno::Any &  rVal,
sal_uInt16  nWhich 
)
overridevirtual

◆ QueryValue()

bool SwJumpEditField::QueryValue ( css::uno::Any &  rVal,
sal_uInt16  nWhich 
) const
overridevirtual

◆ SetPar1()

void SwJumpEditField::SetPar1 ( const OUString &  rStr)
overridevirtual

set place holder text

Reimplemented from SwField.

Definition at line 2555 of file docufld.cxx.

References m_sText.

◆ SetPar2()

void SwJumpEditField::SetPar2 ( const OUString &  rStr)
overridevirtual

set hint text

Reimplemented from SwField.

Definition at line 2567 of file docufld.cxx.

References m_sHelp.

Member Data Documentation

◆ m_sHelp

OUString SwJumpEditField::m_sHelp
private

Definition at line 676 of file docufld.hxx.

Referenced by Copy(), GetPar2(), PutValue(), QueryValue(), and SetPar2().

◆ m_sText

OUString SwJumpEditField::m_sText
private

Definition at line 675 of file docufld.hxx.

Referenced by Copy(), ExpandImpl(), GetPar1(), PutValue(), QueryValue(), and SetPar1().


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