Add custom image storage to docxrenderer

This commit is contained in:
Oleg Korshul
2024-04-27 01:44:26 +03:00
parent 4f7841fa85
commit 6b5f930a1e
8 changed files with 166 additions and 24 deletions

View File

@ -44,6 +44,7 @@
#endif
#include "convert_params.h"
#include "src/logic/managers/ExternalImageStorage.h"
class CDocxRenderer_Private;
class DOCXRENDERER_DECL_EXPORT CDocxRenderer : public IRenderer
@ -196,6 +197,8 @@ public:
std::vector<std::wstring> ScanPage(IOfficeDrawingFile* pFile, size_t nPage);
std::vector<std::wstring> ScanPagePptx(IOfficeDrawingFile* pFile, size_t nPage);
void SetExternalImageStorage(NSDocxRenderer::IImageStorage* pStorage);
virtual HRESULT IsSupportAdvancedCommand(const IAdvancedCommand::AdvancedCommandType& type);
virtual HRESULT AdvancedCommand(IAdvancedCommand* command);