13#include <com/sun/star/awt/XWindow.hpp>
27 rURL, StreamMode::READ, pParentWin ? pParentWin->
GetXWindow() :
nullptr);
Class to import and export graphic formats.
static GraphicFilter & GetGraphicFilter()
ErrCode ImportGraphic(Graphic &rGraphic, const INetURLObject &rPath, sal_uInt16 nFormat=GRFILTER_FORMAT_DONTKNOW, sal_uInt16 *pDeterminedFormat=nullptr, GraphicFilterImportFlags nImportFlags=GraphicFilterImportFlags::NONE)
GraphicType GetType() const
static std::unique_ptr< SvStream > CreateStream(const OUString &rFileName, StreamMode eOpenMode, css::uno::Reference< css::awt::XWindow > xParentWin=nullptr)
virtual css::uno::Reference< css::awt::XWindow > GetXWindow()=0
#define GRFILTER_FORMAT_DONTKNOW
Graphic loadFromURL(OUString const &rURL, weld::Window *pParentWin)