LibreOffice Module sw (master) 1
|
#include <docufld.hxx>
Public Member Functions | |
SwAuthorField (SwAuthorFieldType *, sal_uInt32 nFormat) | |
virtual OUString | ExpandImpl (SwRootFrame const *pLayout) const override |
virtual std::unique_ptr< SwField > | Copy () const override |
void | SetExpansion (const OUString &rStr) |
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 | |
SwField & | operator= (SwField const &)=default |
SwField & | operator= (SwField &&)=default |
SwFieldType * | GetTyp () const |
virtual SwFieldType * | ChgTyp (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< SwField > | CopyField () 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_aContent |
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) | |
Definition at line 188 of file docufld.hxx.
SwAuthorField::SwAuthorField | ( | SwAuthorFieldType * | pTyp, |
sal_uInt32 | nFormat | ||
) |
Definition at line 337 of file docufld.cxx.
References SwAuthorFieldType::Expand(), SwField::GetFormat(), and m_aContent.
Referenced by Copy().
|
overridevirtual |
Implements SwField.
Definition at line 352 of file docufld.cxx.
References SwField::GetFormat(), SwField::GetTyp(), m_aContent, and SwAuthorField().
|
overridevirtual |
Implements SwField.
Definition at line 343 of file docufld.cxx.
References SwAuthorFieldType::Expand(), SwField::GetFormat(), SwField::IsFixed(), and m_aContent.
|
overridevirtual |
Reimplemented from SwField.
Definition at line 385 of file docufld.cxx.
References AF_FIXED, AF_NAME, AF_SHORTCUT, FIELD_PROP_BOOL1, FIELD_PROP_BOOL2, FIELD_PROP_PAR1, FIELD_PROP_TITLE, SwField::GetFormat(), m_aContent, and SwField::SetFormat().
|
overridevirtual |
Reimplemented from SwField.
Definition at line 360 of file docufld.cxx.
References AF_NAME, FIELD_PROP_BOOL1, FIELD_PROP_BOOL2, FIELD_PROP_PAR1, FIELD_PROP_TITLE, SwField::GetFormat(), SwField::IsFixed(), and m_aContent.
|
inline |
Definition at line 198 of file docufld.hxx.
References m_aContent.
Referenced by SwXTextField::attach(), sw::DocumentFieldsManager::SetFixFields(), and SwXTextField::update().
|
private |
Definition at line 190 of file docufld.hxx.
Referenced by Copy(), ExpandImpl(), PutValue(), QueryValue(), SetExpansion(), and SwAuthorField().