LibreOffice Module sw (master) 1
|
#include <docufld.hxx>
Public Member Functions | |
SwHiddenParaField (SwHiddenParaFieldType *, OUString aCond) | |
Direct input, delete old value. More... | |
virtual OUString | ExpandImpl (SwRootFrame const *pLayout) const override |
virtual std::unique_ptr< SwField > | Copy () const override |
void | SetHidden (bool bHidden) |
bool | IsHidden () const |
virtual OUString | GetPar1 () const override |
Query, set condition. More... | |
virtual void | SetPar1 (const OUString &rStr) override |
set condition More... | |
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_aCond |
bool | m_bIsHidden |
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 364 of file docufld.hxx.
SwHiddenParaField::SwHiddenParaField | ( | SwHiddenParaFieldType * | pTyp, |
OUString | aCond | ||
) |
Direct input, delete old value.
Definition at line 1661 of file docufld.cxx.
References aStr, and m_bIsHidden.
Referenced by Copy().
|
overridevirtual |
Implements SwField.
Definition at line 1672 of file docufld.cxx.
References SwField::GetTyp(), m_aCond, m_bIsHidden, and SwHiddenParaField().
|
overridevirtual |
Implements SwField.
Definition at line 1667 of file docufld.cxx.
|
overridevirtual |
Query, set condition.
Reimplemented from SwField.
Definition at line 1719 of file docufld.cxx.
References m_aCond.
Referenced by sw::DocumentFieldsManager::UpdateExpFieldsImpl().
|
inline |
Definition at line 376 of file docufld.hxx.
References m_bIsHidden.
|
overridevirtual |
Reimplemented from SwField.
Definition at line 1696 of file docufld.cxx.
References FIELD_PROP_BOOL1, FIELD_PROP_PAR1, m_aCond, and m_bIsHidden.
|
overridevirtual |
Reimplemented from SwField.
Definition at line 1679 of file docufld.cxx.
References FIELD_PROP_BOOL1, FIELD_PROP_PAR1, m_aCond, and m_bIsHidden.
|
inline |
Definition at line 375 of file docufld.hxx.
References m_bIsHidden.
Referenced by SwXTextField::attach(), SwDocUpdateField::MakeFieldList_(), and sw::DocumentFieldsManager::UpdateExpFieldsImpl().
|
overridevirtual |
set condition
Reimplemented from SwField.
Definition at line 1714 of file docufld.cxx.
References m_aCond.
|
private |
Definition at line 366 of file docufld.hxx.
Referenced by Copy(), GetPar1(), PutValue(), QueryValue(), and SetPar1().
|
private |
Definition at line 367 of file docufld.hxx.
Referenced by Copy(), IsHidden(), PutValue(), QueryValue(), SetHidden(), and SwHiddenParaField().