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

#include <docufld.hxx>

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

Public Member Functions

 SwRefPageGetField (SwRefPageGetFieldType *, sal_uInt32 nFormat)
 
virtual OUString ExpandImpl (SwRootFrame const *pLayout) const override
 
virtual std::unique_ptr< SwFieldCopy () const override
 
void SetText (const OUString &rText, SwRootFrame const *pLayout)
 
void ChangeExpansion (const SwFrame &rFrame, const SwTextField *pField)
 
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 GetPar2 () const
 
virtual OUString GetFormula () const
 
void ChangeFormat (sal_uInt32 n)
 
virtual void SetPar1 (const OUString &rStr)
 
virtual void SetPar2 (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

OUString m_sText
 
OUString m_sTextRLHidden
 hidden redlines More...
 

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

Constructor & Destructor Documentation

SwRefPageGetField::SwRefPageGetField ( SwRefPageGetFieldType pTyp,
sal_uInt32  nFormat 
)

Definition at line 2305 of file docufld.cxx.

Referenced by Copy().

Member Function Documentation

void SwRefPageGetField::ChangeExpansion ( const SwFrame rFrame,
const SwTextField pField 
)
std::unique_ptr< SwField > SwRefPageGetField::Copy ( ) const
overridevirtual

Implements SwField.

Definition at line 2329 of file docufld.cxx.

References SwField::GetFormat(), SwField::GetTyp(), m_sText, m_sTextRLHidden, and SwRefPageGetField().

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

Implements SwField.

Definition at line 2324 of file docufld.cxx.

References SwRootFrame::IsHideRedlines(), m_sText, and m_sTextRLHidden.

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

Reimplemented from SwField.

Definition at line 2415 of file docufld.cxx.

References FIELD_PROP_PAR1, FIELD_PROP_USHORT1, m_sText, m_sTextRLHidden, SwField::SetFormat(), and SVX_NUM_PAGEDESC.

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

Reimplemented from SwField.

Definition at line 2399 of file docufld.cxx.

References FIELD_PROP_PAR1, FIELD_PROP_USHORT1, SwField::GetFormat(), and m_sText.

void SwRefPageGetField::SetText ( const OUString &  rText,
SwRootFrame const *  pLayout 
)

Member Data Documentation

OUString SwRefPageGetField::m_sText
private

Definition at line 620 of file docufld.hxx.

Referenced by ChangeExpansion(), Copy(), ExpandImpl(), PutValue(), QueryValue(), and SetText().

OUString SwRefPageGetField::m_sTextRLHidden
private

hidden redlines

Definition at line 621 of file docufld.hxx.

Referenced by ChangeExpansion(), Copy(), ExpandImpl(), PutValue(), and SetText().


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