LibreOffice Module sw (master)
1
|
#include <dbfld.hxx>
Public Member Functions | |
SwDBNextSetField (SwDBNextSetFieldType *, const OUString &rCond, const SwDBData &rDBData) | |
virtual OUString | ExpandImpl (SwRootFrame const *pLayout) const override |
virtual std::unique_ptr< SwField > | Copy () const override |
void | Evaluate (const SwDoc &) |
void | SetCondValid (bool bCond) |
bool | IsCondValid () const |
virtual OUString | GetPar1 () const override |
get 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 |
![]() | |
const SwDBData & | GetRealDBData () const |
DBName. More... | |
SwDBData & | GetRealDBData () |
SwDBData | GetDBData (SwDoc *pDoc) |
void | SetDBData (const SwDBData &rDBData) |
virtual OUString | GetFieldName () const override |
get name or content More... | |
virtual sal_uInt16 | GetSubType () const override |
virtual void | SetSubType (sal_uInt16 nType) override |
![]() | |
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... | |
std::unique_ptr< SwField > | CopyField () const |
SwFieldIds | Which () const |
ResId. More... | |
SwFieldTypesEnum | GetTypeId () const |
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_aCond |
bool | m_bCondValid |
Additional Inherited Members | |
![]() | |
const SwDBData & | GetDBData () const |
SwDBData & | GetDBData () |
SwDBNameInfField (SwFieldType *pTyp, const SwDBData &rDBData, sal_uInt32 nFormat=0) | |
![]() | |
void | SetFormat (sal_uInt32 const nSet) |
SwField (SwFieldType *pTyp, sal_uInt32 nFormat=0, LanguageType nLang=LANGUAGE_SYSTEM, bool m_bUseFieldValueCache=true) | |
SwDBNextSetField::SwDBNextSetField | ( | SwDBNextSetFieldType * | pTyp, |
const OUString & | rCond, | ||
const SwDBData & | rDBData | ||
) |
|
overridevirtual |
Implements SwField.
Definition at line 565 of file dbfld.cxx.
References SwDBNameInfField::GetDBData(), SwDBNameInfField::GetSubType(), SwField::GetTyp(), m_aCond, m_bCondValid, and SwDBNextSetField().
Definition at line 574 of file dbfld.cxx.
References SwDBNameInfField::GetDBData(), SwDoc::GetDBManager(), SwDBManager::IsDataSourceOpen(), m_bCondValid, rData, SwDBData::sCommand, SwDBData::sDataSource, and SwDBManager::ToNextRecord().
|
overridevirtual |
|
overridevirtual |
|
inline |
Definition at line 181 of file dbfld.hxx.
References m_bCondValid.
|
overridevirtual |
Reimplemented from SwDBNameInfField.
Definition at line 610 of file dbfld.cxx.
References FIELD_PROP_PAR3, m_aCond, and SwDBNameInfField::PutValue().
|
overridevirtual |
Reimplemented from SwDBNameInfField.
Definition at line 596 of file dbfld.cxx.
References FIELD_PROP_PAR3, m_aCond, and SwDBNameInfField::QueryValue().
|
inline |
Definition at line 184 of file dbfld.hxx.
References m_bCondValid.
|
overridevirtual |
|
private |
Definition at line 160 of file dbfld.hxx.
Referenced by Copy(), GetPar1(), PutValue(), QueryValue(), and SetPar1().
|
private |
Definition at line 161 of file dbfld.hxx.
Referenced by Copy(), Evaluate(), IsCondValid(), and SetCondValid().