69 if( ( nRetValue &~0xff000000 ) != 0xffffff )
99 xDocShRef->GetDoc()->EnableUndo(
false);
100 bool bRet =
ImportCGM(rStream, xDocShRef->GetModel(), css::uno::Reference<css::task::XStatusIndicator>()) == 0;
102 xDocShRef->DoClose();
FILTER_DLLPUBLIC sal_uInt32 ImportCGM(SvStream &rIn, uno::Reference< frame::XModel > const &rXModel, css::uno::Reference< css::task::XStatusIndicator > const &aXStatInd)
OUString GetMainURL(DecodeMechanism eMechanism, rtl_TextEncoding eCharset=RTL_TEXTENCODING_UTF8) const
SdCGMFilter(SfxMedium &rMedium, ::sd::DrawDocShell &rDocShell)
virtual ~SdCGMFilter() override
void CreateFirstPages(SdDrawDocument const *pRefDocument=nullptr)
if the document does not contain at least one handout, one slide and one notes page with at least one...
void StopWorkStartupDelay()
SdPage * GetMasterSdPage(sal_uInt16 nPgNum, PageKind ePgKind)
css::uno::Reference< css::task::XStatusIndicator > mxStatusIndicator
css::uno::Reference< css::frame::XModel > mxModel
void CreateStatusIndicator()
SdDrawDocument & mrDocument
sal_uInt16 GetPageCount() const
void PutItem(const SfxPoolItem &rItem)
SdrPageProperties & getSdrPageProperties()
const INetURLObject & GetURLObject() const
static std::unique_ptr< SvStream > CreateStream(const OUString &rFileName, StreamMode eOpenMode, css::uno::Reference< css::awt::XWindow > xParentWin=nullptr)
SAL_DLLPUBLIC_EXPORT bool TestImportCGM(SvStream &rStream)