LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sw::DocumentLinksAdministrationManager Class Referencefinal

#include <DocumentLinksAdministrationManager.hxx>

Inheritance diagram for sw::DocumentLinksAdministrationManager:
[legend]
Collaboration diagram for sw::DocumentLinksAdministrationManager:
[legend]

Public Member Functions

 DocumentLinksAdministrationManager (SwDoc &i_rSwdoc)
 
bool IsVisibleLinks () const override
 Insert links in-/visibly into LinkManager (linked ranges). More...
 
void SetVisibleLinks (bool bFlag) override
 
sfx2::LinkManagerGetLinkManager () override
 
const sfx2::LinkManagerGetLinkManager () const override
 
void UpdateLinks () override
 #i42634# Moved common code of SwReader::Read() and SwDocShell::UpdateLinks() to new SwDoc::UpdateLinks(): More...
 
bool GetData (const OUString &rItem, const OUString &rMimeType, css::uno::Any &rValue) const override
 for linking of parts of documents. More...
 
void SetData (const OUString &rItem) override
 
::sfx2::SvLinkSourceCreateLinkSource (const OUString &rItem) override
 
bool EmbedAllLinks () override
 embedded all local links (Areas/Graphics) More...
 
void SetLinksUpdated (const bool bNewLinksUpdated) override
 
bool LinksUpdated () const override
 
bool SelectServerObj (std::u16string_view rStr, SwPaM *&rpPam, std::optional< SwNodeRange > &rpRange) const
 
virtual ~DocumentLinksAdministrationManager () override
 
virtual bool IsVisibleLinks () const =0
 Insert links in-/visibly into LinkManager (linked ranges). More...
 
virtual void SetVisibleLinks (bool bFlag)=0
 
virtual sfx2::LinkManagerGetLinkManager ()=0
 
virtual const sfx2::LinkManagerGetLinkManager () const =0
 
virtual void UpdateLinks ()=0
 #i42634# Moved common code of SwReader::Read() and SwDocShell::UpdateLinks() to new SwDoc::UpdateLinks(): More...
 
virtual bool GetData (const OUString &rItem, const OUString &rMimeType, css::uno::Any &rValue) const =0
 for linking of parts of documents. More...
 
virtual void SetData (const OUString &rItem)=0
 
virtual ::sfx2::SvLinkSourceCreateLinkSource (const OUString &rItem)=0
 
virtual bool EmbedAllLinks ()=0
 Embed all local links (ranges/graphics). More...
 
virtual void SetLinksUpdated (const bool bNewLinksUpdated)=0
 
virtual bool LinksUpdated () const =0
 

Private Member Functions

 DocumentLinksAdministrationManager (DocumentLinksAdministrationManager const &)=delete
 
DocumentLinksAdministrationManageroperator= (DocumentLinksAdministrationManager const &)=delete
 

Private Attributes

bool mbVisibleLinks
 
bool mbLinksUpdated
 
std::unique_ptr< sfx2::LinkManagerm_pLinkMgr
 
SwDocm_rDoc
 

Additional Inherited Members

- Protected Member Functions inherited from IDocumentLinksAdministration
virtual ~IDocumentLinksAdministration ()
 

Detailed Description

Definition at line 37 of file DocumentLinksAdministrationManager.hxx.

Constructor & Destructor Documentation

◆ DocumentLinksAdministrationManager() [1/2]

sw::DocumentLinksAdministrationManager::DocumentLinksAdministrationManager ( SwDoc i_rSwdoc)

Definition at line 160 of file DocumentLinksAdministrationManager.cxx.

◆ ~DocumentLinksAdministrationManager()

sw::DocumentLinksAdministrationManager::~DocumentLinksAdministrationManager ( )
overridevirtual

Definition at line 391 of file DocumentLinksAdministrationManager.cxx.

◆ DocumentLinksAdministrationManager() [2/2]

sw::DocumentLinksAdministrationManager::DocumentLinksAdministrationManager ( DocumentLinksAdministrationManager const &  )
privatedelete

Member Function Documentation

◆ CreateLinkSource()

sfx2::SvLinkSource * sw::DocumentLinksAdministrationManager::CreateLinkSource ( const OUString &  rItem)
overridevirtual

◆ EmbedAllLinks()

bool sw::DocumentLinksAdministrationManager::EmbedAllLinks ( )
overridevirtual

◆ GetData()

bool sw::DocumentLinksAdministrationManager::GetData ( const OUString &  rItem,
const OUString &  rMimeType,
css::uno::Any &  rValue 
) const
overridevirtual

for linking of parts of documents.

Implements IDocumentLinksAdministration.

Definition at line 239 of file DocumentLinksAdministrationManager.cxx.

References SwServerObject::GetData(), SwDoc::getIDocumentMarkAccess(), and m_rDoc.

◆ GetLinkManager() [1/2]

const sfx2::LinkManager & sw::DocumentLinksAdministrationManager::GetLinkManager ( ) const
overridevirtual

Implements IDocumentLinksAdministration.

Definition at line 183 of file DocumentLinksAdministrationManager.cxx.

References m_pLinkMgr.

◆ GetLinkManager() [2/2]

sfx2::LinkManager & sw::DocumentLinksAdministrationManager::GetLinkManager ( )
overridevirtual

◆ IsVisibleLinks()

bool sw::DocumentLinksAdministrationManager::IsVisibleLinks ( ) const
overridevirtual

Insert links in-/visibly into LinkManager (linked ranges).

Implements IDocumentLinksAdministration.

Definition at line 168 of file DocumentLinksAdministrationManager.cxx.

References mbVisibleLinks.

◆ LinksUpdated()

bool sw::DocumentLinksAdministrationManager::LinksUpdated ( ) const
overridevirtual

Implements IDocumentLinksAdministration.

Definition at line 386 of file DocumentLinksAdministrationManager.cxx.

References mbLinksUpdated.

◆ operator=()

DocumentLinksAdministrationManager & sw::DocumentLinksAdministrationManager::operator= ( DocumentLinksAdministrationManager const &  )
privatedelete

◆ SelectServerObj()

bool sw::DocumentLinksAdministrationManager::SelectServerObj ( std::u16string_view  rStr,
SwPaM *&  rpPam,
std::optional< SwNodeRange > &  rpRange 
) const

◆ SetData()

void sw::DocumentLinksAdministrationManager::SetData ( const OUString &  rItem)
overridevirtual

◆ SetLinksUpdated()

void sw::DocumentLinksAdministrationManager::SetLinksUpdated ( const bool  bNewLinksUpdated)
overridevirtual

Implements IDocumentLinksAdministration.

Definition at line 381 of file DocumentLinksAdministrationManager.cxx.

References mbLinksUpdated.

◆ SetVisibleLinks()

void sw::DocumentLinksAdministrationManager::SetVisibleLinks ( bool  bFlag)
overridevirtual

Implements IDocumentLinksAdministration.

Definition at line 173 of file DocumentLinksAdministrationManager.cxx.

References mbVisibleLinks.

◆ UpdateLinks()

void sw::DocumentLinksAdministrationManager::UpdateLinks ( )
overridevirtual

Member Data Documentation

◆ m_pLinkMgr

std::unique_ptr<sfx2::LinkManager> sw::DocumentLinksAdministrationManager::m_pLinkMgr
private

Definition at line 77 of file DocumentLinksAdministrationManager.hxx.

Referenced by GetLinkManager().

◆ m_rDoc

SwDoc& sw::DocumentLinksAdministrationManager::m_rDoc
private

◆ mbLinksUpdated

bool sw::DocumentLinksAdministrationManager::mbLinksUpdated
private

Definition at line 76 of file DocumentLinksAdministrationManager.hxx.

Referenced by LinksUpdated(), and SetLinksUpdated().

◆ mbVisibleLinks

bool sw::DocumentLinksAdministrationManager::mbVisibleLinks
private

Definition at line 75 of file DocumentLinksAdministrationManager.hxx.

Referenced by IsVisibleLinks(), and SetVisibleLinks().


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