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

#include <docufld.hxx>

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

Public Member Functions

 SwRefPageSetField (SwRefPageSetFieldType *, short nOff, bool bOn)
 
virtual OUString ExpandImpl (SwRootFrame const *pLayout) const override
 
virtual std::unique_ptr< SwFieldCopy () const override
 
virtual OUString GetPar2 () const override
 
virtual void SetPar2 (const OUString &rStr) override
 
bool IsOn () const
 
short GetOffset () const
 
void SetOffset (short nOff)
 
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...
 
sal_uInt16 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 GetFormula () const
 
void ChangeFormat (sal_uInt32 n)
 
virtual void SetPar1 (const OUString &rStr)
 
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

short m_nOffset
 
bool m_bOn
 

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

Constructor & Destructor Documentation

SwRefPageSetField::SwRefPageSetField ( SwRefPageSetFieldType pTyp,
short  nOff,
bool  bOn 
)

Definition at line 2103 of file docufld.cxx.

Member Function Documentation

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

Implements SwField.

Definition at line 2114 of file docufld.cxx.

References SwField::GetTyp(), m_bOn, and m_nOffset.

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

Implements SwField.

Definition at line 2109 of file docufld.cxx.

short SwRefPageSetField::GetOffset ( ) const
inline
OUString SwRefPageSetField::GetPar2 ( ) const
overridevirtual

Reimplemented from SwField.

Definition at line 2119 of file docufld.cxx.

References GetOffset().

bool SwRefPageSetField::IsOn ( ) const
inline
bool SwRefPageSetField::PutValue ( const css::uno::Any &  rVal,
sal_uInt16  nWhich 
)
overridevirtual

Reimplemented from SwField.

Definition at line 2145 of file docufld.cxx.

References FIELD_PROP_BOOL1, FIELD_PROP_USHORT1, m_bOn, and m_nOffset.

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

Reimplemented from SwField.

Definition at line 2129 of file docufld.cxx.

References FIELD_PROP_BOOL1, FIELD_PROP_USHORT1, m_bOn, and m_nOffset.

void SwRefPageSetField::SetOffset ( short  nOff)
inline

Definition at line 599 of file docufld.hxx.

Referenced by SetPar2().

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

Reimplemented from SwField.

Definition at line 2124 of file docufld.cxx.

References SetOffset().

Member Data Documentation

bool SwRefPageSetField::m_bOn
private

Definition at line 585 of file docufld.hxx.

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

short SwRefPageSetField::m_nOffset
private

Definition at line 584 of file docufld.hxx.

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


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