LibreOffice Module sw (master) 1
|
#include <ddefld.hxx>
Public Member Functions | |
SwDDEFieldType (const OUString &rName, const OUString &rCmd, SfxLinkUpdateMode) | |
virtual | ~SwDDEFieldType () override |
const OUString & | GetExpansion () const |
void | SetExpansion (const OUString &rStr) |
virtual std::unique_ptr< SwFieldType > | Copy () const override |
virtual OUString | GetName () const override |
Only in derived classes. More... | |
virtual void | QueryValue (css::uno::Any &rVal, sal_uInt16 nWhich) const override |
virtual void | PutValue (const css::uno::Any &rVal, sal_uInt16 nWhich) override |
OUString const & | GetCmd () const |
void | SetCmd (const OUString &aStr) |
SfxLinkUpdateMode | GetType () const |
void | SetType (SfxLinkUpdateMode nType) |
bool | IsDeleted () const |
void | SetDeleted (bool b) |
void | Disconnect () |
const ::sfx2::SvBaseLink & | GetBaseLink () const |
::sfx2::SvBaseLink & | GetBaseLink () |
const SwDoc * | GetDoc () const |
SwDoc * | GetDoc () |
void | SetDoc (SwDoc *pDoc) |
void | IncRefCnt () |
void | DecRefCnt () |
void | SetCRLFDelFlag (bool bFlag) |
virtual void | UpdateFields () override |
void | UpdateDDE (const bool bNotifyShells=true) |
![]() | |
SAL_DLLPRIVATE css::uno::WeakReference< css::beans::XPropertySet > const & | GetXObject () const |
SAL_DLLPRIVATE void | SetXObject (css::uno::Reference< css::beans::XPropertySet > const &xFieldMaster) |
virtual OUString | GetName () const |
Only in derived classes. More... | |
virtual std::unique_ptr< SwFieldType > | Copy () const =0 |
virtual void | QueryValue (css::uno::Any &rVal, sal_uInt16 nWhich) const |
virtual void | PutValue (const css::uno::Any &rVal, sal_uInt16 nWhich) |
SwFieldIds | Which () const |
void | PrintHiddenPara () |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
SwFormatField * | FindFormatForField (const SwField *) const |
SwFormatField * | FindFormatForPostItId (sal_uInt32 nPostItId) const |
void | CollectPostIts (std::vector< SwFormatField * > &rvFormatFields, IDocumentRedlineAccess const &rIDRA, bool HideRedlines) |
bool | HasHiddenInformationNotes () const |
void | GatherNodeIndex (std::vector< SwNodeOffset > &rvNodeIndex) |
void | GatherRefFields (std::vector< SwGetRefField * > &rvRFields, const sal_uInt16 nTyp) |
void | GatherFields (std::vector< SwFormatField * > &rvFormatFields, bool bCollectOnlyInDocNodes=true) const |
void | GatherDdeTables (std::vector< SwDDETable * > &rvTables) const |
virtual void | UpdateFields () |
![]() | |
virtual void | CallSwClientNotify (const SfxHint &rHint) const override |
![]() | |
SwModify () | |
virtual void | CallSwClientNotify (const SfxHint &rHint) const |
virtual | ~SwModify () override |
void | Add (SwClient *pDepend) |
SwClient * | Remove (SwClient *pDepend) |
bool | HasWriterListeners () const |
bool | HasOnlyOneListener () const |
virtual bool | GetInfo (SfxPoolItem &) const override |
void | LockModify () |
void | UnlockModify () |
bool | IsModifyLocked () const |
![]() | |
SwClient () | |
SwClient (SwClient &&) noexcept | |
virtual | ~SwClient () override |
std::optional< sw::ModifyChangedHint > | CheckRegistration (const SfxPoolItem *pOldValue) |
void | CheckRegistrationFormat (SwFormat &rOld) |
const SwModify * | GetRegisteredIn () const |
SwModify * | GetRegisteredIn () |
void | EndListeningAll () |
void | StartListeningToSameModifyAs (const SwClient &) |
virtual bool | GetInfo (SfxPoolItem &) const |
![]() | |
bool | IsLast () const |
virtual const SwCellFrame * | DynCastCellFrame () const |
virtual const SwTabFrame * | DynCastTabFrame () const |
virtual const SwRowFrame * | DynCastRowFrame () const |
![]() | |
BroadcasterMixin ()=default | |
BroadcasterMixin (BroadcasterMixin const &)=default | |
BroadcasterMixin & | operator= (const BroadcasterMixin &) |
SvtBroadcaster & | GetNotifier () |
Private Member Functions | |
SAL_DLLPRIVATE void | RefCntChgd () |
Private Attributes | |
OUString | m_aName |
OUString | m_aExpansion |
tools::SvRef< sfx2::SvBaseLink > | m_RefLink |
SwDoc * | m_pDoc |
sal_uInt16 | m_nRefCount |
bool | m_bCRLFFlag: 1 |
bool | m_bDeleted: 1 |
Additional Inherited Members | |
![]() | |
static const OUString & | GetTypeStr (SwFieldTypesEnum nTypeId) |
![]() | |
SwFieldType (SwFieldIds nWhichId) | |
Single argument ctors shall be explicit. More... | |
![]() | |
virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint) override |
![]() | |
SwClient (SwModify *pToRegisterIn) | |
SwModify * | GetRegisteredInNonConst () const |
virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint) override |
![]() | |
WriterListener () | |
virtual | ~WriterListener () COVERITY_NOEXCEPT_FALSE |
virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint)=0 |
Definition at line 50 of file ddefld.hxx.
SwDDEFieldType::SwDDEFieldType | ( | const OUString & | rName, |
const OUString & | rCmd, | ||
SfxLinkUpdateMode | nUpdateType | ||
) |
Definition at line 147 of file ddefld.cxx.
References Dde, m_aName, m_bCRLFFlag, m_bDeleted, m_RefLink, and SetCmd().
Referenced by Copy().
|
overridevirtual |
Definition at line 157 of file ddefld.cxx.
References tools::SvRef< typename T >::get(), SwDoc::getIDocumentLinksAdministration(), IDocumentLinksAdministration::GetLinkManager(), SwDoc::IsInDtor(), m_pDoc, m_RefLink, and sfx2::LinkManager::Remove().
|
overridevirtual |
Implements SwFieldType.
Definition at line 164 of file ddefld.cxx.
References GetCmd(), GetType(), m_aExpansion, m_aName, m_bCRLFFlag, m_bDeleted, m_pDoc, and SwDDEFieldType().
|
inline |
Definition at line 98 of file ddefld.hxx.
Referenced by SwNodes::ChgNode(), SwpHints::DeleteAtPos(), SwNodes::MoveNodes(), SwDDETable::NoDDETable(), and SwDDETable::~SwDDETable().
|
inline |
Definition at line 88 of file ddefld.hxx.
Referenced by RefCntChgd().
|
inline |
Definition at line 91 of file ddefld.hxx.
|
inline |
Definition at line 90 of file ddefld.hxx.
Referenced by SwTextShell::StateField().
OUString const & SwDDEFieldType::GetCmd | ( | ) | const |
Definition at line 190 of file ddefld.cxx.
References m_RefLink.
Referenced by Copy(), SwXMLExport::ExportTable(), lcl_GetDDEFieldType(), SwTransferable::PasteDDE(), PutValue(), QueryValue(), and SwFieldVarPage::SubTypeHdl().
|
inline |
Definition at line 94 of file ddefld.hxx.
|
inline |
Definition at line 93 of file ddefld.hxx.
Referenced by UpdateDDE().
|
inline |
Definition at line 69 of file ddefld.hxx.
Referenced by SwDDETable::ChangeContent().
|
overridevirtual |
Only in derived classes.
Reimplemented from SwFieldType.
Definition at line 174 of file ddefld.cxx.
References m_aName.
Referenced by SwXMLExport::ExportTable(), and SwFieldVarPage::SubTypeHdl().
|
inline |
Definition at line 82 of file ddefld.hxx.
Referenced by Copy(), SwXMLExport::ExportTable(), lcl_GetDDEFieldType(), SwTransferable::PasteDDE(), QueryValue(), and SwFieldVarPage::SubTypeHdl().
|
inline |
Definition at line 97 of file ddefld.hxx.
Referenced by SwNodes::ChgNode(), SwTableNode::MakeCopy(), SwNodes::MoveNodes(), and SwDDETable::SwDDETable().
|
inline |
Definition at line 85 of file ddefld.hxx.
Referenced by SwTableNode::MakeCopy(), and SwDDETable::~SwDDETable().
|
overridevirtual |
Reimplemented from SwFieldType.
Definition at line 251 of file ddefld.cxx.
References sfx2::cTokenSeparator, FIELD_PROP_BOOL1, FIELD_PROP_PAR2, FIELD_PROP_PAR4, FIELD_PROP_PAR5, FIELD_PROP_SUBTYPE, GetCmd(), i, m_aExpansion, nIndex, SetCmd(), and SetType().
|
overridevirtual |
Reimplemented from SwFieldType.
Definition at line 230 of file ddefld.cxx.
References sfx2::cTokenSeparator, FIELD_PROP_BOOL1, FIELD_PROP_PAR2, FIELD_PROP_PAR4, FIELD_PROP_PAR5, FIELD_PROP_SUBTYPE, GetCmd(), GetType(), and m_aExpansion.
|
private |
Definition at line 214 of file ddefld.cxx.
References Disconnect(), tools::SvRef< typename T >::get(), IDocumentLayoutAccess::GetCurrentViewShell(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentLinksAdministration(), IDocumentLinksAdministration::GetLinkManager(), sfx2::LinkManager::InsertDDELink(), IDocumentLinksAdministration::IsVisibleLinks(), m_nRefCount, m_pDoc, m_RefLink, and sfx2::LinkManager::Remove().
void SwDDEFieldType::SetCmd | ( | const OUString & | aStr | ) |
Definition at line 179 of file ddefld.cxx.
References aStr, m_RefLink, and nIndex.
Referenced by PutValue(), and SwDDEFieldType().
|
inline |
Definition at line 100 of file ddefld.hxx.
|
inline |
Definition at line 86 of file ddefld.hxx.
void SwDDEFieldType::SetDoc | ( | SwDoc * | pDoc | ) |
Definition at line 195 of file ddefld.cxx.
References tools::SvRef< typename T >::get(), SwDoc::getIDocumentLinksAdministration(), IDocumentLinksAdministration::GetLinkManager(), sfx2::LinkManager::InsertDDELink(), tools::SvRef< typename T >::is(), IDocumentLinksAdministration::IsVisibleLinks(), m_nRefCount, m_pDoc, m_RefLink, and sfx2::LinkManager::Remove().
|
inline |
Definition at line 70 of file ddefld.hxx.
|
inline |
void SwDDEFieldType::UpdateDDE | ( | const bool | bNotifyShells = true | ) |
Definition at line 289 of file ddefld.cxx.
References SwViewShell::EndAction(), SwEditShell::EndAllAction(), SwFieldType::GatherDdeTables(), SwFieldType::GatherFields(), IDocumentLayoutAccess::GetCurrentViewShell(), GetDoc(), SwViewShell::GetDoc(), SwViewShell::getIDocumentLayoutAccess(), SwDoc::getIDocumentState(), SwModify::IsModifyLocked(), SwModify::LockModify(), RES_UPDATEDDETBL(), IDocumentState::SetModified(), SwViewShell::StartAction(), SwEditShell::StartAllAction(), and SwModify::UnlockModify().
|
inlineoverridevirtual |
Reimplemented from SwFieldType.
Definition at line 101 of file ddefld.hxx.
|
private |
Definition at line 53 of file ddefld.hxx.
Referenced by Copy(), PutValue(), and QueryValue().
|
private |
Definition at line 52 of file ddefld.hxx.
|
private |
Definition at line 59 of file ddefld.hxx.
Referenced by Copy(), and SwDDEFieldType().
|
private |
Definition at line 60 of file ddefld.hxx.
Referenced by Copy(), and SwDDEFieldType().
|
private |
Definition at line 58 of file ddefld.hxx.
Referenced by RefCntChgd(), and SetDoc().
|
private |
Definition at line 56 of file ddefld.hxx.
Referenced by Copy(), RefCntChgd(), SetDoc(), and ~SwDDEFieldType().
|
private |
Definition at line 55 of file ddefld.hxx.
Referenced by GetCmd(), RefCntChgd(), SetCmd(), SetDoc(), SwDDEFieldType(), and ~SwDDEFieldType().