37 std::unique_ptr<TableLink_Impl>
pImpl;
47 OUString aFilter, OUString aOpt, sal_Int32 nRefreshDelaySeconds );
49 OUString aFilter, OUString aOpt, sal_Int32 nRefreshDelaySeconds );
51 virtual void Closed()
override;
52 virtual ::sfx2::SvBaseLink::UpdateResult
DataChanged(
53 const OUString& rMimeType,
const css::uno::Any & rValue )
override;
57 bool Refresh(
const OUString& rNewFile,
const OUString& rNewFilter,
58 const OUString* pNewOptions , sal_Int32 nNewRefreshDelaySeconds );
84 ScDocumentLoader(
const OUString& rFileName, OUString& rFilterName, OUString& rOptions,
85 sal_uInt32 nRekCnt = 0,
weld::Window* pInteractionParent =
nullptr,
86 css::uno::Reference<css::io::XInputStream> xInputStream
87 = css::uno::Reference<css::io::XInputStream>());
99 static SfxMedium* CreateMedium(
const OUString& rFileName, std::shared_ptr<const SfxFilter>
const & pFilter,
100 const OUString& rOptions,
weld::Window* pInteractionParent =
nullptr);
102 static OUString GetOptions(
const SfxMedium& rMedium );
110 static bool GetFilterName(
const OUString& rFileName,
111 OUString& rFilter, OUString& rOptions,
112 bool bWithContent,
bool bWithInteraction );
114 static void RemoveAppPrefix( OUString& rFilterName );
ScDocShell * GetDocShell()
const OUString & GetOptions() const
virtual ~ScTableLink() override
DECL_LINK(TableEndEditHdl, ::sfx2::SvBaseLink &, void)
const OUString & GetFilterName() const
virtual void Closed() override
void SetInCreate(bool bSet)
ScTableLink(ScDocShell *pDocSh, OUString aFile, OUString aFilter, OUString aOpt, sal_Int32 nRefreshDelaySeconds)
bool Refresh(const OUString &rNewFile, const OUString &rNewFilter, const OUString *pNewOptions, sal_Int32 nNewRefreshDelaySeconds)
const OUString & GetFileName() const
virtual ::sfx2::SvBaseLink::UpdateResult DataChanged(const OUString &rMimeType, const css::uno::Any &rValue) override
virtual void Edit(weld::Window *, const Link< SvBaseLink &, void > &rEndEditHdl) override
void SetAddUndo(bool bSet)
std::unique_ptr< TableLink_Impl > pImpl
DECL_LINK(RefreshHdl, Timer *, void)
UNOTOOLS_DLLPUBLIC bool GetTitle(OUString const &url, OUString *title)