19#ifndef INCLUDED_SFX2_LINKMGR_HXX
20#define INCLUDED_SFX2_LINKMGR_HXX
22#include <rtl/ustring.hxx>
56 typedef ::std::vector< css::uno::Reference< css::lang::XComponent > >
66 const OUString* pName );
85 void InsertCachedComp(
const css::uno::Reference< css::lang::XComponent >& xComp);
87 void CloseCachedComps();
98 const OUString& rServer,
99 std::u16string_view rTopic,
100 std::u16string_view rItem );
108 std::u16string_view rFileNm,
109 const OUString* pFilterNm =
nullptr,
110 const OUString* pRange =
nullptr );
124 static bool GetDisplayNames(
const SvBaseLink *,
126 OUString* pFile =
nullptr,
127 OUString*
pLink =
nullptr,
128 OUString* pFilter =
nullptr );
132 void UpdateAllLinks(
bool bAskUpdate,
133 bool bUpdateGrfLinks,
149 void CancelTransfers();
160 bool GetGraphicFromAny(std::u16string_view rMimeType,
161 const css::uno::Any & rValue,
178 const OUString* pType,
179 std::u16string_view rFile,
180 std::u16string_view rLink,
181 const OUString* pFilter =
nullptr );
const SvLinkSources & GetServers() const
SfxObjectShell * GetPersist() const
void SetPersist(SfxObjectShell *p)
LinkManager(const LinkManager &)=delete
SfxObjectShell * pPersist
::std::vector< css::uno::Reference< css::lang::XComponent > > CompVector
const SvBaseLinks & GetLinks() const
LinkManager & operator=(const LinkManager &)=delete
virtual void Insert(SotClipboardFormatId nFormat, const OUString &rFormatName) override
const sal_Unicode cTokenSeparator
std::vector< tools::SvRef< SvBaseLink > > SvBaseLinks
void MakeLnkName(OUString &rName, const OUString *pType, std::u16string_view rFile, std::u16string_view rLink, const OUString *pFilter)
o3tl::sorted_vector< SvLinkSource * > SvLinkSources