LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sc::DocumentLinkManager Class Reference

#include <documentlinkmgr.hxx>

Public Member Functions

 DocumentLinkManager (SfxObjectShell *pShell)
 DocumentLinkManager (const DocumentLinkManager &)=delete
const DocumentLinkManageroperator= (const DocumentLinkManager &)=delete
 ~DocumentLinkManager ()
void setDataStream (DataStream *p)
DataStreamgetDataStream ()
const DataStreamgetDataStream () const
sfx2::LinkManagergetLinkManager (bool bCreate=true)
const sfx2::LinkManagergetExistingLinkManager () const
bool idleCheckLinks ()
bool hasDdeLinks () const
bool hasDdeOrOleOrWebServiceLinks () const
bool updateDdeOrOleOrWebServiceLinks (weld::Window *pWin)
void updateDdeLink (const OUString &rAppl, const OUString &rTopic, const OUString &rItem)
size_t getDdeLinkCount () const

Private Member Functions

bool hasDdeOrOleOrWebServiceLinks (bool bDde, bool bOle, bool bWebService) const

Private Attributes

std::unique_ptr< DocumentLinkManagerImplmpImpl

Detailed Description

Definition at line 29 of file documentlinkmgr.hxx.

Constructor & Destructor Documentation

sc::DocumentLinkManager::DocumentLinkManager ( SfxObjectShell pShell)

Definition at line 65 of file documentlinkmgr.cxx.

sc::DocumentLinkManager::DocumentLinkManager ( const DocumentLinkManager )
sc::DocumentLinkManager::~DocumentLinkManager ( )

Definition at line 68 of file documentlinkmgr.cxx.

Member Function Documentation

DataStream * sc::DocumentLinkManager::getDataStream ( )
const DataStream * sc::DocumentLinkManager::getDataStream ( ) const

Definition at line 82 of file documentlinkmgr.cxx.

References mpImpl.

size_t sc::DocumentLinkManager::getDdeLinkCount ( ) const
const sfx2::LinkManager * sc::DocumentLinkManager::getExistingLinkManager ( ) const

Definition at line 95 of file documentlinkmgr.cxx.

References mpImpl.

Referenced by ScDocument::GetLinkManager().

sfx2::LinkManager * sc::DocumentLinkManager::getLinkManager ( bool  bCreate = true)
bCreateif true, create a new link manager instance in case one does not exist.
link manager instance.

Definition at line 87 of file documentlinkmgr.cxx.

References comphelper::doubleCheckedInit(), and mpImpl.

Referenced by ScDocument::CopyDdeLinks(), ScDocument::GetLinkManager(), ScDocument::InitDrawLayer(), and ScAreaLinkSaveCollection::Restore().

bool sc::DocumentLinkManager::hasDdeLinks ( ) const

Definition at line 123 of file documentlinkmgr.cxx.

References hasDdeOrOleOrWebServiceLinks().

Referenced by ScDocument::InitClipPtrs().

bool sc::DocumentLinkManager::hasDdeOrOleOrWebServiceLinks ( ) const

Definition at line 128 of file documentlinkmgr.cxx.

Referenced by ScTabViewShell::Construct(), and hasDdeLinks().

bool sc::DocumentLinkManager::hasDdeOrOleOrWebServiceLinks ( bool  bDde,
bool  bOle,
bool  bWebService 
) const

Definition at line 133 of file documentlinkmgr.cxx.

References sfx2::LinkManager::GetLinks(), and mpImpl.

bool sc::DocumentLinkManager::idleCheckLinks ( )
const DocumentLinkManager& sc::DocumentLinkManager::operator= ( const DocumentLinkManager )
void sc::DocumentLinkManager::setDataStream ( DataStream p)

Definition at line 72 of file documentlinkmgr.cxx.

References mpImpl.

Referenced by sc::DataStream::Set().

void sc::DocumentLinkManager::updateDdeLink ( const OUString &  rAppl,
const OUString &  rTopic,
const OUString &  rItem 
bool sc::DocumentLinkManager::updateDdeOrOleOrWebServiceLinks ( weld::Window pWin)

Member Data Documentation

std::unique_ptr<DocumentLinkManagerImpl> sc::DocumentLinkManager::mpImpl

The documentation for this class was generated from the following files: