2#include "DefinitionsGUI.h"
137 double f64MinVal = 0.,
138 double f64MaxVal = 1.,
139 bool bSegmentationWithColor =
false);
192 const std::vector<const Foundation::CFLFigure*>* pVctFigureSrc);
231 DeclareGetClassType();
234 static const CResult InternalAppendClipboardImagePageInfo(std::vector<SClipboardImagePageInfo>& vctIP, std::vector<int64_t>& vctI64IPSize, int64_t& i64MallocSize,
const Base::CFLImagePage* pIP);
235 static const CResult InternalAppendClipboardImageFileName(std::vector<const wchar_t*>& vctWcsFileName, std::vector<int64_t>& vctI64SrcFileNameLen, int64_t& i64MallocSize,
const Base::CFLImage* pFliSrc);
236 static const CResult InternalAppendClipboardImagePageName(std::vector<const wchar_t*>& vctWcsPageName, std::vector<int64_t>& vctI64SrcPageNameLen, int64_t& i64MallocSize,
const Base::CFLImagePage* pIP);
237 static const CResult InternalAppendClipboardImageFigures(std::vector<std::vector<const wchar_t*>>& vct2FigureStr, std::vector<std::vector<int64_t>>& vct2FigureStrLen, std::vector<int64_t>& vctI64SrcFigureCnt, int64_t& i64MallocSize,
const Base::CFLImage* pFliSrc);
238 static const CResult InternalAppendClipboardImageExtraData(std::vector<std::vector<int64_t>>& vct2I64ExtraDataSize, std::vector<int64_t>& vctI64SrcExtraDataSize, std::vector<int64_t>& vctI64SrcExtraDataCnt, int64_t& i64MallocSize,
const Base::CFLImage* pFliSrc);
239 static const CResult InternalAppendClipboardImageBuffer(std::vector<int64_t>& vctI64SrcOrigImgSizeByte, int64_t& i64MallocSize,
const Base::CFLImage* pFliSrc);
241 static const CResult InternalSetClipboardDataFLImage(
243 const std::vector<SClipboardImagePageInfo>& vctIP,
244 const std::vector<int64_t>& vctI64IPSize,
245 const std::vector<const wchar_t*>& vctWcsFileName,
246 const std::vector<int64_t>& vctI64SrcFileNameLen,
247 const std::vector<const wchar_t*>& vctWcsPageName,
248 const std::vector<int64_t>& vctI64SrcPageNameLen,
249 const std::vector<int64_t>& vctI64SrcFigureCnt,
250 const std::vector<std::vector<int64_t>>& vct2FigureStrLen,
251 const std::vector<std::vector<const wchar_t*>>& vct2FigureStr,
252 const std::vector<int64_t>& vctI64SrcExtraDataCnt,
253 const std::vector<int64_t>& vctI64SrcExtraDataSize,
254 const std::vector<std::vector<int64_t>>& vct2I64ExtraDataSize,
255 const std::vector<int64_t>& vctI64SrcOrigImgSizeByte,
256 int64_t i64AllocSizeFLImage);
258 static const CResult InternalSetClipboardDataDIB(
262 bool bSegmentationWithColor,
263 int64_t i64AllocSizeDIB);
266 DWORD m_dwClipboardSequenceNumber;
Broadcast message class.
Definition BroadcastMessage.h:27
Top-level base class of FLImaging.
Definition FLBase.h:36
FLIMaging's image class.
Definition FLImage.h:35
CFLImage's page class.
Definition FLImagePage.h:37
Template type string class.
Definition FLString.h:34
FLImaging module execution result object.
Definition ResultsDef.h:1640
static void CopyFigureObject(CGUIViewImageBase *pViewSource, const std::vector< const Foundation::CFLFigure * > *pVctFigureSrc)
Copy figure objects from a source view into an internal clipboard buffer.
static const CResult GetFLImageFromClipboard(Base::CFLImage &fliDst)
Convert the current clipboard image into a CFLImage.
virtual ~CGUIClipboardUtilities()
Destructor.
static const CResult SetCopySourceImage(Base::CFLImage *pFliSource, double f64MinVal=0., double f64MaxVal=1., bool bSegmentationWithColor=false)
Set the source image used for copy/paste operations.
static const CResult PasteFigureObject(CGUIViewImageBase *pViewTarget)
Paste previously copied figure objects into the target view.
static CGUIClipboardUtilities * GetInstance()
Get the singleton instance of the clipboard utilities.
static const Base::CFLImage * GetIntrinsicCopySourceImage()
Get the internally stored copy-source image instance.
virtual void OnReceiveBroadcast(const Base::CBroadcastMessage *pMessage) override
Callback function. A function that receives a BroadcastMessage.
static void UpdateClipboardSequenceNumber()
Refresh the internally cached clipboard sequence number.
static const Base::CFLImage * GetCopySourceImage()
Get the currently registered copy-source image.
CGUIClipboardUtilities()
Default constructor.
static CGUIViewImage * GetViewImageCopyFigureSource()
Get the CGUIViewImage that was used as the source when copying figures.
A class of view base.
Definition GUIViewImageBase.h:43
A class of image view.
Definition GUIViewImage.h:319
Definition D2DObject.h:12