ICF 3.1.1.10
Technical documentation of ICF Libraries
CDocumentProcessingManagerComp.h
Go to the documentation of this file.
1/********************************************************************************
2** This file is part of the ICF Framework. Copyright (C) Witold Gantzke & Kirill Lepskiy
3** ICF Framework may be used under the terms of the LGPL License v. 2.1 by the Free Software Foundation.
4********************************************************************************/
5
6#ifndef iprocgui_CDocumentProcessingManagerComp_included
7#define iprocgui_CDocumentProcessingManagerComp_included
8
9
10// ICF includes
12
13
14namespace iprocgui
15{
16
17
25{
26public:
28
29 I_BEGIN_COMPONENT(CDocumentProcessingManagerComp);
30 I_ASSIGN(m_inPlaceProcessingAttrPtr, "InPlaceProcessing", "If enabled, the input document will be the result of processing", false, false);
31 I_END_COMPONENT;
32
33protected:
34 // reimplemented (iprocgui::CDocumentProcessingManagerCompBase)
35 void DoDocumentProcessing(const istd::IChangeable* inputDocumentPtr, const QByteArray& documentTypeId) override;
36
37private:
38 void DoProcessingToOutput(const istd::IChangeable* inputDocumentPtr, const QByteArray& documentTypeId);
39 void DoInPlaceProcessing(istd::IChangeable* inputDocumentPtr);
40
41private:
42 I_ATTR(bool, m_inPlaceProcessingAttrPtr);
43};
44
45
46} // namespace iproc
47
48
49#endif // !iprocgui_CDocumentProcessingManagerComp_included
Component to trigger document-to-document processing action.
iprocgui::CDocumentProcessingManagerCompBase BaseClass
void DoDocumentProcessing(const istd::IChangeable *inputDocumentPtr, const QByteArray &documentTypeId) override
Process the current document.
Common interface for data model objects, which can be changed.
Definition IChangeable.h:32
This package contains GUI implementations of data processing.

© Witold Gantzke and Kirill Lepskiy