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

#include <docufld.hxx>

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

Public Member Functions

 SwCombinedCharField (SwCombinedCharFieldType *, const OUString &rChars)
 
virtual OUString ExpandImpl (SwRootFrame const *pLayout) const override
 
virtual std::unique_ptr< SwFieldCopy () const override
 
virtual OUString GetPar1 () const override
 Characters. More...
 
virtual void SetPar1 (const OUString &rStr) override
 
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 GetPar2 () const
 
virtual OUString GetFormula () const
 
void ChangeFormat (sal_uInt32 n)
 
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_sCharacters
 combine these characters 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 730 of file docufld.hxx.

Constructor & Destructor Documentation

SwCombinedCharField::SwCombinedCharField ( SwCombinedCharFieldType pFTyp,
const OUString &  rChars 
)

Definition at line 2599 of file docufld.cxx.

References copy(), getLength(), and min.

Member Function Documentation

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

Implements SwField.

Definition at line 2611 of file docufld.cxx.

References SwField::GetTyp(), and m_sCharacters.

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

Implements SwField.

Definition at line 2606 of file docufld.cxx.

References m_sCharacters.

OUString SwCombinedCharField::GetPar1 ( ) const
overridevirtual

Characters.

Reimplemented from SwField.

Definition at line 2617 of file docufld.cxx.

References m_sCharacters.

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

Reimplemented from SwField.

Definition at line 2641 of file docufld.cxx.

References FIELD_PROP_PAR1, and SetPar1().

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

Reimplemented from SwField.

Definition at line 2627 of file docufld.cxx.

References FIELD_PROP_PAR1, and m_sCharacters.

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

Reimplemented from SwField.

Definition at line 2622 of file docufld.cxx.

References m_sCharacters, and MAX_COMBINED_CHARACTERS.

Referenced by PutValue().

Member Data Documentation

OUString SwCombinedCharField::m_sCharacters
private

combine these characters

Definition at line 732 of file docufld.hxx.

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


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