LibreOffice Module sw (master) 1
|
Base class of all fields. More...
#include <fldbas.hxx>
Public Member Functions | |
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 | |
void | SetFormat (sal_uInt32 const nSet) |
SwField (SwFieldType *pTyp, sal_uInt32 nFormat=0, LanguageType nLang=LANGUAGE_SYSTEM, bool m_bUseFieldValueCache=true) | |
Private Member Functions | |
virtual OUString | ExpandImpl (SwRootFrame const *pLayout) const =0 |
virtual std::unique_ptr< SwField > | Copy () const =0 |
Private Attributes | |
OUString | m_Cache |
Cached expansion (for clipboard). More... | |
SwFieldType * | m_pType |
sal_uInt32 | m_nFormat |
LanguageType | m_nLang |
this can be either SvxNumType or SwChapterFormat depending on the subtype More... | |
bool | m_bUseFieldValueCache |
bool | m_bIsAutomaticLanguage |
control the usage of the cached field value More... | |
OUString | m_aTitle |
Used for tooltip purposes when it's not-empty. More... | |
Base class of all fields.
Type of field is queried via Which. Expanded content of field is queried via ExpandField().
Definition at line 295 of file fldbas.hxx.
|
protected |
Definition at line 242 of file fldbas.cxx.
|
virtual |
Definition at line 256 of file fldbas.cxx.
|
default |
|
default |
void SwField::ChangeFormat | ( | sal_uInt32 | n | ) |
Definition at line 454 of file fldbas.cxx.
References m_nFormat.
Referenced by SwDateTimeField::PutValue(), and SwDateTimeField::SwDateTimeField().
|
virtual |
Set new type (used for copying among documents).
Set a new type.
This is needed/used for copying between documents. Needs to be always of the same type.
pNewType | The new type. |
Reimplemented in SwAuthorityField, SwDBField, and SwValueField.
Definition at line 415 of file fldbas.cxx.
References m_pType, and SwFieldType::Which().
Referenced by SwDoc::ChangeDBFields(), SwAuthorityField::ChgTyp(), SwValueField::ChgTyp(), SwTextField::CopyTextField(), and SwpHints::TryInsertHint().
|
privatepure virtual |
Implemented in SwAuthorityField, SwChapterField, SwDBField, SwDBNextSetField, SwDBNumSetField, SwDBNameField, SwDBSetNumberField, SwDDEField, SwPageNumberField, SwAuthorField, SwFileNameField, SwTemplNameField, SwDocStatField, SwHiddenTextField, SwHiddenParaField, SwMacroField, SwPostItField, SwDocInfoField, SwExtUserField, SwRefPageSetField, SwRefPageGetField, SwJumpEditField, SwScriptField, SwCombinedCharField, SwGetExpField, SwSetExpField, SwInputField, SwTableField, SwDateTimeField, SwDropDownField, SwGetRefField, and SwUserField.
Referenced by CopyField().
std::unique_ptr< SwField > SwField::CopyField | ( | ) | const |
Definition at line 511 of file fldbas.cxx.
References Copy(), m_bUseFieldValueCache, and m_Cache.
Referenced by SwInsertDBColAutoPilot::DataToDoc(), SwFieldPage::InsertField(), SwFieldMgr::UpdateCurField(), and sw::DocumentFieldsManager::UpdateField().
|
virtual |
Reimplemented in SwAuthorityField, SwPostItField, SwValueField, and SwUserField.
Definition at line 931 of file fldbas.cxx.
References o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), m_aTitle, m_nFormat, and m_nLang.
Referenced by SwAuthorityField::dumpAsXml(), SwPostItField::dumpAsXml(), and SwValueField::dumpAsXml().
OUString SwField::ExpandField | ( | bool | bCached, |
SwRootFrame const * | pLayout | ||
) | const |
expand the field.
bCached | return cached field value. |
pLayout | the layout to use for expansion; there are a few fields that expand differently via layout mode. |
Definition at line 491 of file fldbas.cxx.
References Authority, SwAuthorityField::ConditionalExpandAuthIdentifier(), ExpandImpl(), GetTypeId(), m_bUseFieldValueCache, and m_Cache.
Referenced by SwDoc::ConvertFieldsToText(), RtfExport::DoFormText(), WW8Export::DoFormText(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwTextField::ExpandTextField(), SwDoc::FieldHidesPara(), sw::DocumentFieldsManager::FieldsToExpand(), SwContentType::FillMemberList(), SwAuthorityField::GetAuthority(), SwTextInputField::GetFieldContent(), SwTextNode::GetMinMaxSize(), SwXTextField::getPresentation(), SwTextFrame::GetScalingOfSelectedText(), SwTableBox::GetValue(), lcl_ExportHints(), lcl_GetExpandedField(), lcl_GetText(), lcl_IsNoEndTextAttrAtPos(), SwTextFormatter::NewFieldPortion(), OutHTML_SwField(), SwWW8ImplReader::Read_F_DocInfo(), SwEditWin::RequestHelp(), SwFieldInputDlg::SwFieldInputDlg(), sw::DocumentFieldsManager::UpdateExpFieldsImpl(), and RtfAttributeOutput::WriteField_Impl().
|
privatepure virtual |
Implemented in SwAuthorityField, SwChapterField, SwDBField, SwDBNextSetField, SwDBNumSetField, SwDBNameField, SwDBSetNumberField, SwDDEField, SwPageNumberField, SwAuthorField, SwFileNameField, SwTemplNameField, SwDocStatField, SwHiddenTextField, SwHiddenParaField, SwMacroField, SwPostItField, SwDocInfoField, SwExtUserField, SwRefPageSetField, SwRefPageGetField, SwJumpEditField, SwScriptField, SwCombinedCharField, SwGetExpField, SwSetExpField, SwInputField, SwTableField, SwDateTimeField, SwDropDownField, SwGetRefField, and SwUserField.
Referenced by ExpandField().
|
virtual |
Reimplemented in SwAuthorityField, SwPostItField, SwScriptField, and SwGetRefField.
Definition at line 909 of file fldbas.cxx.
References SwResId().
Referenced by SwContentType::FillMemberList(), and SwWrtShell::InsertField2().
|
virtual |
get name or content
Reimplemented in SwDBField, SwDBNameInfField, SwHiddenTextField, SwMacroField, SwDocInfoField, SwGetExpField, SwSetExpField, SwInputField, SwTableField, SwGetRefField, and SwUserField.
Definition at line 318 of file fldbas.cxx.
References ShellResource::aFixedStr, Date, DATEFLD, DateTime, SwViewShell::GetShellRes(), GetSubType(), GetTyp(), GetTypeId(), SwFieldType::GetTypeStr(), IsFixed(), Time, and Which().
Referenced by SwContentType::FillMemberList(), SwDBNameInfField::GetFieldName(), SwInputField::GetFieldName(), SwXTextField::getPresentation(), SwTextFormatter::NewFieldPortion(), SwEditWin::RequestHelp(), and AttributeOutputBase::TextField().
|
inline |
Query parameters for dialog and for BASIC.
Definition at line 407 of file fldbas.hxx.
References m_nFormat.
Referenced by SwGetExpField::ChangeExpansion(), SwRefPageGetField::ChangeExpansion(), SwDocStatField::ChangeExpansion(), SwValueField::ChgTyp(), SwDBField::ChgValue(), SwWrtShell::ClickToField(), SwChapterField::Copy(), SwDBField::Copy(), SwDBNameField::Copy(), SwDBSetNumberField::Copy(), SwPageNumberField::Copy(), SwAuthorField::Copy(), SwFileNameField::Copy(), SwTemplNameField::Copy(), SwDocStatField::Copy(), SwHiddenTextField::Copy(), SwDocInfoField::Copy(), SwExtUserField::Copy(), SwRefPageGetField::Copy(), SwJumpEditField::Copy(), SwGetExpField::Copy(), SwSetExpField::Copy(), SwInputField::Copy(), SwTableField::Copy(), SwDateTimeField::Copy(), SwGetRefField::Copy(), SwUserField::Copy(), SwDBField::Evaluate(), SwTextShell::ExecField(), SwTextShell::Execute(), SwChapterField::ExpandImpl(), SwDBSetNumberField::ExpandImpl(), SwPageNumberField::ExpandImpl(), SwAuthorField::ExpandImpl(), SwFileNameField::ExpandImpl(), SwTemplNameField::ExpandImpl(), SwDocStatField::ExpandImpl(), SwDocInfoField::ExpandImpl(), SwDateTimeField::ExpandImpl(), SwUserField::ExpandImpl(), SwFieldVarPage::FillFormatLB(), AttributeOutputBase::GenerateBookmarksForSequenceField(), SwFieldMgr::GetCurField(), SwFormulaField::GetExpandedFormula(), SwAccessibleParagraph::GetFieldTypeNameAtIndex(), SwFormulaField::GetInputOrDateTime(), MSWordExportBase::GetNumberFormat(), AttributeOutputBase::GetNumberPara(), SwUserField::GetPar2(), IsFixed(), SwJavaEditDialog::IsUpdate(), SwTextFormatter::NewFieldPortion(), OutHTML_SwField(), SwAuthorField::PutValue(), SwFileNameField::PutValue(), SwExtUserField::PutValue(), SwDateTimeField::QueryValue(), SwChapterField::QueryValue(), SwDBField::QueryValue(), SwDBSetNumberField::QueryValue(), SwPageNumberField::QueryValue(), SwAuthorField::QueryValue(), SwFileNameField::QueryValue(), SwTemplNameField::QueryValue(), SwDocStatField::QueryValue(), SwDocInfoField::QueryValue(), SwRefPageGetField::QueryValue(), SwJumpEditField::QueryValue(), SwGetExpField::QueryValue(), SwSetExpField::QueryValue(), SwTableField::QueryValue(), SwGetRefField::QueryValue(), SwUserField::QueryValue(), SwFieldDBPage::Reset(), SwFieldDokInfPage::Reset(), SwFieldDokPage::Reset(), SwFieldFuncPage::Reset(), SwFieldVarPage::Reset(), SwFormulaField::SetExpandedFormula(), sw::DocumentFieldsManager::SetFixFields(), SwFormulaField::SetFormula(), SwDocInfoField::SetLanguage(), SwValueField::SetLanguage(), SwUserField::SetPar2(), SwGetExpField::SetValue(), SwSetExpField::SetValue(), SwTableField::SetValue(), SwAuthorField::SwAuthorField(), SwFileNameField::SwFileNameField(), AttributeOutputBase::TextField(), SwFieldDBPage::TypeHdl(), SwXTextField::update(), SwGetRefField::UpdateField(), and SwRefPageGetFieldType::UpdateField().
|
virtual |
Reimplemented in SwFormulaField.
Definition at line 344 of file fldbas.cxx.
References GetPar2().
Referenced by SwDoc::ChangeDBFields(), and SwDoc::GetAllUsedDB().
|
inline |
Language at field position.
Definition at line 412 of file fldbas.hxx.
References m_nLang.
Referenced by SwGetExpField::ChangeExpansion(), SwDBField::ChgValue(), SwDBNameField::Copy(), SwDBSetNumberField::Copy(), SwPageNumberField::Copy(), SwGetExpField::Copy(), SwSetExpField::Copy(), SwDateTimeField::Copy(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwDBField::Evaluate(), SwHiddenTextField::Evaluate(), SwPageNumberField::ExpandImpl(), SwDocInfoField::ExpandImpl(), SwDateTimeField::ExpandImpl(), SwUserField::ExpandImpl(), MSWordExportBase::GetNumberFormat(), SwTextFormatter::NewFieldPortion(), sw::DocumentFieldsManager::SetFixFields(), SwGetExpField::SetValue(), SwSetExpField::SetValue(), SwTableField::SetValue(), SwDateTimeField::SwDateTimeField(), SwDocInfoField::SwDocInfoField(), SwFieldInputDlg::SwFieldInputDlg(), SwXTextField::update(), SwGetRefField::UpdateField(), and SwGetRefFieldType::UpdateGetReferences().
|
virtual |
Reimplemented in SwDBField, SwDBNextSetField, SwDBNumSetField, SwDDEField, SwHiddenTextField, SwHiddenParaField, SwMacroField, SwPostItField, SwJumpEditField, SwScriptField, SwCombinedCharField, SwSetExpField, SwInputField, SwDropDownField, SwGetRefField, and SwUserField.
Definition at line 334 of file fldbas.cxx.
Referenced by SwDoc::ChangeDBFields(), SwFieldFuncPage::FillItemSet(), SwDoc::GetAllUsedDB(), SwFieldMgr::GetCurField(), SwDocUpdateField::MakeFieldList_(), OutHTML_SwFormatField(), RtfAttributeOutput::PlaceholderField(), SwWW8FltRefStack::RefToVar(), SwEditWin::RequestHelp(), AttributeOutputBase::TextField(), SwFieldDBPage::TypeHdl(), sw::DocumentFieldsManager::UpdateDBNumFields(), and DocxAttributeOutput::WritePendingPlaceholder().
|
virtual |
Reimplemented in SwDBNumSetField, SwDDEField, SwPageNumberField, SwHiddenTextField, SwMacroField, SwPostItField, SwRefPageSetField, SwJumpEditField, SwScriptField, SwGetExpField, SwSetExpField, SwInputField, SwTableField, SwDateTimeField, SwDropDownField, SwGetRefField, and SwUserField.
Definition at line 339 of file fldbas.cxx.
Referenced by SwWrtShell::ClickToField(), SwFieldMgr::GetCurField(), GetFormula(), WW8AttributeOutput::HiddenField(), OutHTML_SwField(), OutHTML_SwFormatField(), WW8Export::OutputField(), SwEditWin::RequestHelp(), AttributeOutputBase::TextField(), SwFieldDBPage::TypeHdl(), and DocxAttributeOutput::WritePendingPlaceholder().
|
virtual |
Reimplemented in SwDBField, SwDBNameInfField, SwPageNumberField, SwDocStatField, SwHiddenTextField, SwDocInfoField, SwExtUserField, SwGetExpField, SwSetExpField, SwInputField, SwTableField, SwDateTimeField, SwGetRefField, and SwUserField.
Definition at line 355 of file fldbas.cxx.
Referenced by sw::DocumentFieldsManager::FieldsToExpand(), SwContentType::FillMemberList(), AttributeOutputBase::GenerateBookmarksForSequenceField(), GetFieldName(), SwAccessibleParagraph::GetFieldTypeNameAtIndex(), GetTypeId(), IMPL_LINK(), IMPL_LINK_NOARG(), IsFixed(), SwWW8FltRefStack::IsFootnoteEdnBkmField(), lcl_GetServiceForField(), SwDocUpdateField::MakeFieldList_(), OutHTML_SwField(), OutHTML_SwFormatField(), WW8Export::OutputField(), SwEditWin::RequestHelp(), SwFieldDBPage::Reset(), SwFieldDokInfPage::Reset(), SwValueField::SetLanguage(), SwFormatField::SwClientNotify(), SwFieldEditDlg::SwFieldEditDlg(), AttributeOutputBase::TextField(), SwFieldDBPage::TypeHdl(), sw::DocumentFieldsManager::UpdateExpFieldsImpl(), and RtfAttributeOutput::WriteField_Impl().
|
inline |
Definition at line 398 of file fldbas.hxx.
Referenced by SwUserField::Copy(), and SwEditWin::RequestHelp().
|
inline |
Definition at line 402 of file fldbas.hxx.
References m_pType.
Referenced by SwInputField::applyFieldContent(), SwpHints::CalcFlags(), SwpHints::CalcHiddenParaField(), SwDoc::ChangeDBFields(), SwGetExpField::ChangeExpansion(), SwRefPageGetField::ChangeExpansion(), SwDocStatField::ChangeExpansion(), SwNodes::ChgNode(), SwAuthorityField::ChgTyp(), SwValueField::ChgTyp(), SwDBField::ChgValue(), SwWrtShell::ClickToField(), SwAuthorityField::ConditionalExpandAuthIdentifier(), SwDoc::ConvertFieldsToText(), SwGetRefField::ConvertProgrammaticToUIName(), SwAuthorityField::Copy(), SwChapterField::Copy(), SwDBField::Copy(), SwDBNextSetField::Copy(), SwDBNumSetField::Copy(), SwDBNameField::Copy(), SwDBSetNumberField::Copy(), SwDDEField::Copy(), SwPageNumberField::Copy(), SwAuthorField::Copy(), SwFileNameField::Copy(), SwTemplNameField::Copy(), SwDocStatField::Copy(), SwHiddenTextField::Copy(), SwHiddenParaField::Copy(), SwMacroField::Copy(), SwPostItField::Copy(), SwDocInfoField::Copy(), SwExtUserField::Copy(), SwRefPageSetField::Copy(), SwRefPageGetField::Copy(), SwJumpEditField::Copy(), SwScriptField::Copy(), SwCombinedCharField::Copy(), SwGetExpField::Copy(), SwSetExpField::Copy(), SwInputField::Copy(), SwTableField::Copy(), SwDateTimeField::Copy(), SwGetRefField::Copy(), SwUserField::Copy(), SwTextField::CopyTextField(), SwpHints::DeleteAtPos(), SwTextNode::DestroyAttr(), SwUndoFieldFromDoc::DoImpl(), sw::DropDownFieldDialog::DropDownFieldDialog(), SwDBField::Evaluate(), SwTextShell::ExecField(), SwTextShell::Execute(), SwAuthorityField::ExpandCitation(), SwDBNameField::ExpandImpl(), SwDDEField::ExpandImpl(), SwPageNumberField::ExpandImpl(), SwFileNameField::ExpandImpl(), SwTemplNameField::ExpandImpl(), SwDocStatField::ExpandImpl(), SwHiddenTextField::ExpandImpl(), SwDocInfoField::ExpandImpl(), SwSetExpField::ExpandImpl(), SwInputField::ExpandImpl(), SwUserField::ExpandImpl(), SwTextField::ExpandTextField(), SwDoc::FieldHidesPara(), sw::DocumentFieldsManager::FieldsToExpand(), SwTOXAuthority::FillText(), AttributeOutputBase::GenerateBookmarksForSequenceField(), SwAuthorityField::GetAbsoluteURL(), SwDoc::GetAllUsedDB(), SwAuthorityField::GetAuthority(), SwJumpEditField::GetCharFormat(), SwCursorShell::GetCurField(), SwFormulaField::GetExpandedFormula(), GetFieldName(), SwDBField::GetFieldName(), SwMacroField::GetFieldName(), SwSetExpField::GetFieldName(), SwInputField::GetFieldName(), SwTableField::GetFieldName(), SwGetRefField::GetFieldName(), SwUserField::GetFieldName(), SwXTextField::Impl::GetFieldType(), SwAccessibleParagraph::GetFieldTypeNameAtIndex(), SwTextShell::GetIdxState(), SwFormulaField::GetInputOrDateTime(), SwTableField::GetNodeOfFormula(), SwDBField::GetPar1(), SwDDEField::GetPar1(), SwSetExpField::GetPar1(), SwUserField::GetPar1(), SwDDEField::GetPar2(), SwSetExpField::GetPar2(), SwUserField::GetPar2(), sw::DocumentFieldsManager::GetRecordsPerDocument(), SwGetRefField::GetReferencedTextNode(), SwAuthorityField::GetRelativeURI(), SwTextShell::GetState(), SwSetExpField::GetSubType(), SwUserField::GetSubType(), SwTOXAuthority::GetText(), SwUserField::GetValue(), SwTableBox::GetValue(), SwFieldMgr::GoNextPrev(), SwPaM::HasReadonlySel(), IMPL_LINK(), SwHandleAnchorNodeChg::ImplDestroy(), SwDBField::InitContent(), SwAuthorMarkPane::InitControls(), SwDocUpdateField::InsDelFieldInFieldLst(), SwHTMLParser::InsertComment(), SwWrtShell::InsertField2(), SwTextNode::InsertHint(), SwWrtShell::InsertPostIt(), SwTextFrame::IsHiddenNow(), SwSetExpField::IsSequenceField(), lcl_CopyHint(), lcl_FindInputField(), SwXFieldMaster::LocalizeFormula(), SwDocUpdateField::MakeFieldList_(), SwTextFormatter::NewFieldPortion(), OutHTML_SwField(), OutHTML_SwFormatField(), WW8Export::OutputField(), SwDBField::PutValue(), SwSetExpField::PutValue(), SwAuthorityField::PutValue(), SwPostItField::QueryValue(), SwAuthorityField::QueryValue(), DocxAttributeOutput::RefField(), SwFormulaField::SetExpandedFormula(), sw::DocumentFieldsManager::SetFixFields(), SwValueField::SetLanguage(), SwAuthorityField::SetPar1(), SwDDEField::SetPar2(), SwSetExpField::SetPar2(), SwUserField::SetPar2(), SwUserField::SetSubType(), SwSetExpField::SetSubType(), SwGetExpField::SetValue(), SwSetExpField::SetValue(), SwTableField::SetValue(), SwUserField::SetValue(), SwTOXAuthority::sort_lt(), SwTextShell::StateField(), SwFieldVarPage::SubTypeHdl(), SwDBField::SwDBField(), SwDocInfoField::SwDocInfoField(), SwFieldInputDlg::SwFieldInputDlg(), SwFileNameField::SwFileNameField(), SwFormatField::SwFormatField(), SwJavaEditDialog::SwJavaEditDialog(), AttributeOutputBase::TextField(), SwpHints::TryInsertHint(), SwFieldDBPage::TypeHdl(), SwXTextField::update(), sw::DocumentFieldsManager::UpdateExpFieldsImpl(), SwGetRefField::UpdateField(), sw::DocumentFieldsManager::UpdateField(), SwWrtShell::UpdateInputFields(), SwEditShell::UpdateOneField(), RtfAttributeOutput::WriteExpand(), SwAuthorityField::~SwAuthorityField(), SwDBField::~SwDBField(), and SwDDEField::~SwDDEField().
SwFieldTypesEnum SwField::GetTypeId | ( | ) | const |
Definition at line 270 of file fldbas.cxx.
References Date, DATEFLD, DateTime, FixedDate, FIXEDFLD, FixedTime, Formel, Get, GetExp, SwSetExpField::GetInputFlag(), GetSubType(), nsSwGetSetExpType::GSE_FORMULA, nsSwGetSetExpType::GSE_SEQ, HiddenText, m_pType, NextPage, PageNumber, PG_NEXT, PG_PREV, PreviousPage, Sequence, Set, SetExp, SetInput, Time, and SwFieldType::Which().
Referenced by SwTextShell::ExecField(), SwTextShell::Execute(), ExpandField(), SwContentType::FillMemberList(), SwFieldMgr::GetCurField(), SwFieldMgr::GetCurTypeId(), GetFieldName(), SwDocInfoField::GetFieldName(), SwAccessibleParagraph::GetFieldTypeNameAtIndex(), SwTextShell::GetState(), SwFieldMgr::GoNextPrev(), IMPL_LINK(), SwFieldEditDlg::Init(), SwTableBox::IsValidNumTextNd(), lcl_GetScrollToolTip(), SwEditWin::MouseButtonDown(), SwFEShell::RequestObjectResize(), SwFieldDBPage::Reset(), SwFieldDokPage::Reset(), SwFieldFuncPage::Reset(), SwFieldVarPage::Reset(), and SwFieldEditDlg::SwFieldEditDlg().
bool SwField::HasClickHdl | ( | ) | const |
Does the field possess an action on its ClickHandler? (e.g. INetFields, ...).
Does the field have an action on a ClickHandler? (E.g. INetFields,...)
Definition at line 425 of file fldbas.cxx.
References Dropdown, GetRef, Input, Internet, JumpEdit, m_pType, Macro, SetExp, TableOfAuthorities, and SwFieldType::Which().
Referenced by SwCursorShell::GetContentAtPos().
|
inline |
Definition at line 387 of file fldbas.hxx.
Referenced by SwDocInfoField::Copy(), SwGetExpField::Copy(), SwSetExpField::Copy(), SwInputField::Copy(), SwTableField::Copy(), SwDateTimeField::Copy(), SwUserField::Copy(), SwFieldDokInfPage::Reset(), SwFieldDokPage::Reset(), SwFieldVarPage::Reset(), and SwValueField::SetLanguage().
bool SwField::IsClickable | ( | ) | const |
Is this field clickable?
Definition at line 914 of file fldbas.cxx.
References Dropdown, GetRef, Input, JumpEdit, Macro, SetExp, TableOfAuthorities, and Which().
Referenced by SwWrtShell::ClickToField(), and SwPageFrame::GetModelPositionForViewPoint().
bool SwField::IsFixed | ( | ) | const |
Definition at line 459 of file fldbas.cxx.
References AF_FIXED, Author, DateTime, nsSwDocInfoSubType::DI_SUB_FIXED, DocInfo, ExtUser, FF_FIXED, Filename, FixDate, FIXEDFLD, FixTime, GetFormat(), GetSubType(), m_pType, and SwFieldType::Which().
Referenced by SwHTMLParser::EndField(), SwAuthorField::ExpandImpl(), SwFileNameField::ExpandImpl(), SwDocInfoField::ExpandImpl(), SwExtUserField::ExpandImpl(), SwDateTimeField::ExpandImpl(), GetFieldName(), SwDocInfoField::GetFieldName(), SwDateTimeField::GetValue(), OutHTML_SwField(), SwFileNameField::PutValue(), SwDateTimeField::QueryValue(), SwAuthorField::QueryValue(), SwFileNameField::QueryValue(), SwExtUserField::QueryValue(), sw::DocumentFieldsManager::SetFixFields(), and SwDateTimeField::SwDateTimeField().
|
virtual |
Reimplemented in SwDateTimeField, SwChapterField, SwDBField, SwDBNameInfField, SwDBNextSetField, SwDBNumSetField, SwDBNameField, SwDBSetNumberField, SwPageNumberField, SwAuthorField, SwFileNameField, SwTemplNameField, SwDocStatField, SwHiddenTextField, SwHiddenParaField, SwMacroField, SwPostItField, SwDocInfoField, SwExtUserField, SwRefPageSetField, SwRefPageGetField, SwJumpEditField, SwScriptField, SwCombinedCharField, SwGetExpField, SwSetExpField, SwInputField, SwTableField, SwAuthorityField, SwDropDownField, SwGetRefField, and SwUserField.
Definition at line 382 of file fldbas.cxx.
References FIELD_PROP_BOOL4, FIELD_PROP_TITLE, m_aTitle, and m_bIsAutomaticLanguage.
Referenced by SwUndoFieldFromAPI::DoImpl(), SwDateTimeField::PutValue(), SwDocInfoField::PutValue(), SwGetExpField::PutValue(), SwSetExpField::PutValue(), SwUserField::PutValue(), sw::DocumentFieldsManager::PutValueToField(), and SwUndoFieldFromAPI::UndoImpl().
|
virtual |
Reimplemented in SwDateTimeField, SwChapterField, SwDBField, SwDBNameInfField, SwDBNextSetField, SwDBNumSetField, SwDBNameField, SwDBSetNumberField, SwPageNumberField, SwAuthorField, SwFileNameField, SwTemplNameField, SwDocStatField, SwHiddenTextField, SwHiddenParaField, SwMacroField, SwPostItField, SwDocInfoField, SwExtUserField, SwRefPageSetField, SwRefPageGetField, SwJumpEditField, SwScriptField, SwCombinedCharField, SwGetExpField, SwSetExpField, SwInputField, SwTableField, SwAuthorityField, SwDropDownField, SwGetRefField, and SwUserField.
Definition at line 364 of file fldbas.cxx.
References FIELD_PROP_BOOL4, FIELD_PROP_TITLE, m_aTitle, and m_bIsAutomaticLanguage.
Referenced by SwXTextField::getPropertyValue(), sw::DocumentFieldsManager::PutValueToField(), SwDateTimeField::QueryValue(), SwDocInfoField::QueryValue(), SwGetExpField::QueryValue(), SwSetExpField::QueryValue(), and SwUserField::QueryValue().
|
inline |
Definition at line 390 of file fldbas.hxx.
Referenced by SwWW8ImplReader::ForceFieldLanguage().
|
inlineprotected |
Definition at line 311 of file fldbas.hxx.
References m_nFormat.
Referenced by SwValueField::ChgTyp(), SwDBField::Evaluate(), SwChapterField::PutValue(), SwDBField::PutValue(), SwDBSetNumberField::PutValue(), SwPageNumberField::PutValue(), SwAuthorField::PutValue(), SwFileNameField::PutValue(), SwTemplNameField::PutValue(), SwDocStatField::PutValue(), SwDocInfoField::PutValue(), SwExtUserField::PutValue(), SwRefPageGetField::PutValue(), SwJumpEditField::PutValue(), SwGetExpField::PutValue(), SwSetExpField::PutValue(), SwTableField::PutValue(), SwGetRefField::PutValue(), SwUserField::PutValue(), and SwValueField::SetLanguage().
|
virtual |
Reimplemented in SwDocInfoField, SwGetExpField, and SwValueField.
Definition at line 449 of file fldbas.cxx.
References m_nLang, and nLang.
Referenced by SwWW8ImplReader::ForceFieldLanguage(), SwTextFormatter::NewFieldPortion(), SwDocInfoField::SetLanguage(), SwGetExpField::SetLanguage(), SwValueField::SetLanguage(), and SwGetRefFieldType::UpdateGetReferences().
|
virtual |
Reimplemented in SwAuthorityField, SwDBNextSetField, SwDBNumSetField, SwHiddenTextField, SwHiddenParaField, SwMacroField, SwPostItField, SwJumpEditField, SwScriptField, SwCombinedCharField, SwInputField, SwDropDownField, and SwGetRefField.
Definition at line 349 of file fldbas.cxx.
Referenced by SwDoc::ChangeDBFields(), and SwSetExpField::PutValue().
|
virtual |
Reimplemented in SwDBNumSetField, SwDDEField, SwPageNumberField, SwHiddenTextField, SwMacroField, SwPostItField, SwRefPageSetField, SwJumpEditField, SwScriptField, SwGetExpField, SwSetExpField, SwInputField, SwTableField, SwDateTimeField, SwDropDownField, and SwUserField.
Definition at line 352 of file fldbas.cxx.
Referenced by SwDoc::ChangeDBFields().
|
virtual |
Reimplemented in SwGetRefField, SwDocStatField, SwExtUserField, SwInputField, SwDateTimeField, SwUserField, SwDBField, SwDBNameInfField, SwGetExpField, SwSetExpField, SwTableField, and SwDocInfoField.
Definition at line 360 of file fldbas.cxx.
Referenced by SwInsertDBColAutoPilot::SplitTextToColArr().
|
inline |
Definition at line 399 of file fldbas.hxx.
SwFieldIds SwField::Which | ( | ) | const |
ResId.
Definition at line 263 of file fldbas.cxx.
References m_pType, and SwFieldType::Which().
Referenced by SwTaggedPDFHelper::BeginInlineStructureElements(), sw::annotation::SwAnnotationWin::CountFollowing(), SwXTextField::getAnchor(), SwCursorShell::GetContentAtPos(), GetFieldName(), SwCursorShell::GetPostItFieldAtCursor(), IsClickable(), SwWW8FltRefStack::IsFootnoteEdnBkmField(), lcl_FindInputField(), lcl_GetServiceForField(), SwEditWin::MouseMove(), OutHTML_SwTextNode(), SwWW8FltRefStack::RefToVar(), SwEditWin::RequestHelp(), SwValueField::SetLanguage(), SwXTextField::setPropertyValue(), SwXTextField::update(), and sw::DocumentFieldsManager::UpdateDBNumFields().
|
private |
Used for tooltip purposes when it's not-empty.
Definition at line 305 of file fldbas.hxx.
Referenced by dumpAsXml(), PutValue(), and QueryValue().
|
private |
control the usage of the cached field value
Definition at line 303 of file fldbas.hxx.
Referenced by PutValue(), and QueryValue().
|
private |
Definition at line 302 of file fldbas.hxx.
Referenced by CopyField(), and ExpandField().
|
mutableprivate |
Cached expansion (for clipboard).
Definition at line 298 of file fldbas.hxx.
Referenced by CopyField(), and ExpandField().
|
private |
Definition at line 300 of file fldbas.hxx.
Referenced by ChangeFormat(), dumpAsXml(), and GetFormat().
|
private |
this can be either SvxNumType or SwChapterFormat depending on the subtype
Always change via SetLanguage!
Definition at line 301 of file fldbas.hxx.
Referenced by dumpAsXml(), GetLanguage(), and SetLanguage().
|
private |
Definition at line 299 of file fldbas.hxx.
Referenced by ChgTyp(), GetTyp(), GetTypeId(), HasClickHdl(), IsFixed(), SwField(), and Which().