LibreOffice Module sw (master)
1
|
#include <DocumentLinksAdministrationManager.hxx>
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::LinkManager & | GetLinkManager () override |
const sfx2::LinkManager & | GetLinkManager () 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::SvLinkSource * | CreateLinkSource (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::unique_ptr< SwNodeRange > &rpRange) const |
virtual | ~DocumentLinksAdministrationManager () override |
Private Member Functions | |
DocumentLinksAdministrationManager (DocumentLinksAdministrationManager const &)=delete | |
DocumentLinksAdministrationManager & | operator= (DocumentLinksAdministrationManager const &)=delete |
Private Attributes | |
bool | mbVisibleLinks |
bool | mbLinksUpdated |
std::unique_ptr< sfx2::LinkManager > | m_pLinkMgr |
SwDoc & | m_rDoc |
Additional Inherited Members | |
![]() | |
virtual | ~IDocumentLinksAdministration () |
Definition at line 36 of file DocumentLinksAdministrationManager.hxx.
sw::DocumentLinksAdministrationManager::DocumentLinksAdministrationManager | ( | SwDoc & | i_rSwdoc | ) |
Definition at line 169 of file DocumentLinksAdministrationManager.cxx.
References false.
|
overridevirtual |
Definition at line 441 of file DocumentLinksAdministrationManager.cxx.
|
privatedelete |
|
overridevirtual |
Implements IDocumentLinksAdministration.
Definition at line 330 of file DocumentLinksAdministrationManager.cxx.
References GetAppCharClass(), SwDoc::getIDocumentMarkAccess(), GetLinkManager(), sw::mark::DdeBookmark::GetRefObject(), SwDoc::GetSections(), SwDoc::GetTableFrameFormats(), sfx2::LinkManager::InsertServer(), sw::mark::MarkBase::IsExpanded(), m_rDoc, and sw::mark::DdeBookmark::SetRefObject().
|
overridevirtual |
embedded all local links (Areas/Graphics)
Implements IDocumentLinksAdministration.
Definition at line 402 of file DocumentLinksAdministrationManager.cxx.
References sfx2::SvBaseLink::Closed(), IDocumentUndoRedo::DelAllUndoObj(), tools::SvRef< T >::get(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), GetLinkManager(), sfx2::LinkManager::GetLinks(), tools::SvRef< T >::is(), m_rDoc, sfx2::LinkManager::Remove(), and IDocumentState::SetModified().
|
overridevirtual |
for linking of parts of documents.
Implements IDocumentLinksAdministration.
Definition at line 248 of file DocumentLinksAdministrationManager.cxx.
References GetAppCharClass(), SwServerObject::GetData(), SwDoc::getIDocumentMarkAccess(), SwDoc::GetSections(), SwDoc::GetTableFrameFormats(), and m_rDoc.
|
overridevirtual |
Implements IDocumentLinksAdministration.
Definition at line 187 of file DocumentLinksAdministrationManager.cxx.
References m_pLinkMgr.
Referenced by CreateLinkSource(), EmbedAllLinks(), and UpdateLinks().
|
overridevirtual |
Implements IDocumentLinksAdministration.
Definition at line 192 of file DocumentLinksAdministrationManager.cxx.
References m_pLinkMgr.
|
overridevirtual |
Insert links in-/visibly into LinkManager (linked ranges).
Implements IDocumentLinksAdministration.
Definition at line 177 of file DocumentLinksAdministrationManager.cxx.
References mbVisibleLinks.
|
overridevirtual |
Implements IDocumentLinksAdministration.
Definition at line 436 of file DocumentLinksAdministrationManager.cxx.
References mbLinksUpdated.
|
privatedelete |
bool sw::DocumentLinksAdministrationManager::SelectServerObj | ( | std::u16string_view | rStr, |
SwPaM *& | rpPam, | ||
std::unique_ptr< SwNodeRange > & | rpRange | ||
) | const |
Definition at line 445 of file DocumentLinksAdministrationManager.cxx.
References cMarkSeparator, INetURLObject::decode(), SwVectorModifyBase< Value >::empty(), SwNode::EndOfSectionNode(), SwDoc::FindFlyByName(), GetAppCharClass(), SwTextNode::GetAttrOutlineLevel(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwNodes::GetEndOfContent(), SwDoc::getIDocumentMarkAccess(), sw::mark::MarkBase::GetMarkPos(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), sw::mark::MarkBase::GetOtherMarkPos(), SwNodes::GetOutLineNds(), SwDoc::GetSections(), SwDoc::GetTableFrameFormats(), SwNode::GetTextNode(), SwDoc::GotoOutline(), sw::mark::MarkBase::IsExpanded(), SwNode::IsNoTextNode(), CharClass::lowercase(), m_rDoc, SwPosition::nNode, nPos, SwOutlineNodes::Seek_Entry(), o3tl::sorted_vector< Value, Compare, Find, class >::size(), sName, u, void(), and INetURLObject::WithCharset.
|
overridevirtual |
Implements IDocumentLinksAdministration.
Definition at line 291 of file DocumentLinksAdministrationManager.cxx.
References GetAppCharClass(), SwDoc::getIDocumentMarkAccess(), SwDoc::GetSections(), SwDoc::GetTableFrameFormats(), and m_rDoc.
|
overridevirtual |
Implements IDocumentLinksAdministration.
Definition at line 431 of file DocumentLinksAdministrationManager.cxx.
References mbLinksUpdated.
|
overridevirtual |
Implements IDocumentLinksAdministration.
Definition at line 182 of file DocumentLinksAdministrationManager.cxx.
References mbVisibleLinks.
|
overridevirtual |
#i42634# Moved common code of SwReader::Read() and SwDocShell::UpdateLinks() to new SwDoc::UpdateLinks():
Implements IDocumentLinksAdministration.
Definition at line 199 of file DocumentLinksAdministrationManager.cxx.
References AUTOMATIC, eMode, SfxObjectShell::GetCreateMode(), SwDoc::GetDocShell(), SwDoc::GetDocumentSettingManager(), SfxObjectShell::getEmbeddedObjectContainer(), GetFrameWeld(), GetLinkManager(), sfx2::LinkManager::GetLinks(), sw::DocumentSettingManager::getLinkUpdateMode(), SfxObjectShell::GetMedium(), SfxMedium::GetName(), SwDocShell::GetUpdateDocMode(), SfxObjectShell::IsPreview(), SvtSecurityOptions::isTrustedLocationUriForUpdatingLinks(), m_rDoc, MANUAL, medium, NEVER, comphelper::EmbeddedObjectContainer::setUserAllowsLinkUpdate(), and sfx2::LinkManager::UpdateAllLinks().
|
private |
Definition at line 76 of file DocumentLinksAdministrationManager.hxx.
Referenced by GetLinkManager().
|
private |
Definition at line 78 of file DocumentLinksAdministrationManager.hxx.
Referenced by CreateLinkSource(), EmbedAllLinks(), GetData(), SelectServerObj(), SetData(), and UpdateLinks().
|
private |
Definition at line 75 of file DocumentLinksAdministrationManager.hxx.
Referenced by LinksUpdated(), and SetLinksUpdated().
|
private |
Definition at line 74 of file DocumentLinksAdministrationManager.hxx.
Referenced by IsVisibleLinks(), and SetVisibleLinks().