LibreOffice Module sw (master) 1
|
#include <dbfld.hxx>
Public Member Functions | |
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 bool | QueryValue (css::uno::Any &rVal, sal_uInt16 nWhich) const override |
virtual bool | PutValue (const css::uno::Any &rVal, sal_uInt16 nWhich) override |
virtual sal_uInt16 | GetSubType () const override |
virtual void | SetSubType (sal_uInt16 nType) 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) |
Protected Member Functions | |
const SwDBData & | GetDBData () const |
SwDBData & | GetDBData () |
SwDBNameInfField (SwFieldType *pTyp, SwDBData aDBData, sal_uInt32 nFormat=0) | |
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) | |
Private Attributes | |
SwDBData | m_aDBData |
sal_uInt16 | m_nSubType |
|
protected |
|
inlineprotected |
|
inlineprotected |
Definition at line 128 of file dbfld.hxx.
Referenced by SwDBNextSetField::Copy(), SwDBNumSetField::Copy(), SwDBNameField::Copy(), SwDBSetNumberField::Copy(), SwDBNextSetField::Evaluate(), SwDBNumSetField::Evaluate(), SwDBSetNumberField::Evaluate(), and sw::DocumentFieldsManager::UpdateDBNumFields().
Definition at line 450 of file dbfld.cxx.
References SwDoc::GetDBData(), m_aDBData, and SwDBData::sDataSource.
|
overridevirtual |
get name or content
Reimplemented from SwField.
Definition at line 465 of file dbfld.cxx.
References DB_DELIM, SwField::GetFieldName(), lcl_DBSeparatorConvert(), m_aDBData, SwDBData::sCommand, and SwDBData::sDataSource.
|
inline |
DBName.
Definition at line 135 of file dbfld.hxx.
Referenced by SwDoc::ChangeDBFields(), and sw::DocumentFieldsManager::UpdateDBNumFields().
|
overridevirtual |
Reimplemented from SwField.
Definition at line 532 of file dbfld.cxx.
References m_nSubType.
Referenced by SwDBNextSetField::Copy(), SwDBNumSetField::Copy(), SwDBNameField::Copy(), SwDBSetNumberField::Copy(), SwDBNameField::ExpandImpl(), SwDBSetNumberField::ExpandImpl(), PutValue(), and QueryValue().
|
overridevirtual |
Reimplemented from SwField.
Reimplemented in SwDBNextSetField, SwDBNumSetField, SwDBNameField, and SwDBSetNumberField.
Definition at line 500 of file dbfld.cxx.
References bVisible, FIELD_PROP_BOOL2, FIELD_PROP_PAR1, FIELD_PROP_PAR2, FIELD_PROP_SHORT1, GetSubType(), m_aDBData, SwDBData::nCommandType, SwDBData::sCommand, SwDBData::sDataSource, SetSubType(), and nsSwExtendedSubType::SUB_INVISIBLE.
Referenced by SwDBNextSetField::PutValue(), SwDBNumSetField::PutValue(), SwDBNameField::PutValue(), and SwDBSetNumberField::PutValue().
|
overridevirtual |
Reimplemented from SwField.
Reimplemented in SwDBNextSetField, SwDBNumSetField, SwDBNameField, and SwDBSetNumberField.
Definition at line 478 of file dbfld.cxx.
References FIELD_PROP_BOOL2, FIELD_PROP_PAR1, FIELD_PROP_PAR2, FIELD_PROP_SHORT1, GetSubType(), m_aDBData, SwDBData::nCommandType, SwDBData::sCommand, SwDBData::sDataSource, and nsSwExtendedSubType::SUB_INVISIBLE.
Referenced by SwDBNextSetField::QueryValue(), SwDBNumSetField::QueryValue(), SwDBNameField::QueryValue(), and SwDBSetNumberField::QueryValue().
void SwDBNameInfField::SetDBData | ( | const SwDBData & | rDBData | ) |
|
overridevirtual |
Reimplemented from SwField.
Definition at line 537 of file dbfld.cxx.
References m_nSubType, and nType.
Referenced by PutValue().
|
private |
Definition at line 124 of file dbfld.hxx.
Referenced by GetDBData(), GetFieldName(), PutValue(), QueryValue(), and SetDBData().
|
private |
Definition at line 125 of file dbfld.hxx.
Referenced by GetSubType(), and SetSubType().