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, const OUString &sText, const 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 GetFormula () const
 
void ChangeFormat (sal_uInt32 n)
 
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
 

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 654 of file docufld.hxx.

Constructor & Destructor Documentation

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

Definition at line 2480 of file docufld.cxx.

Member Function Documentation

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

Implements SwField.

Definition at line 2491 of file docufld.cxx.

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

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

Implements SwField.

Definition at line 2486 of file docufld.cxx.

References m_sText.

SwCharFormat* SwJumpEditField::GetCharFormat ( ) const
inline

Definition at line 673 of file docufld.hxx.

References SwField::GetTyp().

OUString SwJumpEditField::GetPar1 ( ) const
overridevirtual

Placeholder-Text.

get place holder text

Reimplemented from SwField.

Definition at line 2498 of file docufld.cxx.

References m_sText.

OUString SwJumpEditField::GetPar2 ( ) const
overridevirtual

Hint-Text.

get hint text

Reimplemented from SwField.

Definition at line 2510 of file docufld.cxx.

References m_sHelp.

bool SwJumpEditField::PutValue ( const css::uno::Any &  rVal,
sal_uInt16  nWhich 
)
overridevirtual
bool SwJumpEditField::QueryValue ( css::uno::Any &  rVal,
sal_uInt16  nWhich 
) const
overridevirtual
void SwJumpEditField::SetPar1 ( const OUString &  rStr)
overridevirtual

set place holder text

Reimplemented from SwField.

Definition at line 2504 of file docufld.cxx.

References m_sText.

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

set hint text

Reimplemented from SwField.

Definition at line 2516 of file docufld.cxx.

References m_sHelp.

Member Data Documentation

OUString SwJumpEditField::m_sHelp
private

Definition at line 657 of file docufld.hxx.

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

OUString SwJumpEditField::m_sText
private

Definition at line 656 of file docufld.hxx.

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


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