CDocumentProcessingManagerComp.h
Go to the documentation of this file.
1 #ifndef iprocgui_CDocumentProcessingManagerComp_included
2 #define iprocgui_CDocumentProcessingManagerComp_included
3 
4 
5 // ACF includes
7 
8 
9 namespace iprocgui
10 {
11 
12 
20 {
21 public:
23 
24  I_BEGIN_COMPONENT(CDocumentProcessingManagerComp);
25  I_ASSIGN(m_inPlaceProcessingAttrPtr, "InPlaceProcessing", "If enabled, the input document will be the result of processing", false, false);
26  I_END_COMPONENT;
27 
28 protected:
29  // reimplemented (iprocgui::CDocumentProcessingManagerCompBase)
30  void DoDocumentProcessing(const istd::IChangeable* inputDocumentPtr, const QByteArray& documentTypeId);
31 
32 private:
33  void DoProcessingToOutput(const istd::IChangeable* inputDocumentPtr, const QByteArray& documentTypeId);
34  void DoInPlaceProcessing(istd::IChangeable* inputDocumentPtr);
35 
36 private:
37  I_ATTR(bool, m_inPlaceProcessingAttrPtr);
38 };
39 
40 
41 } // namespace iproc
42 
43 
44 #endif // !iprocgui_CDocumentProcessingManagerComp_included
Component to trigger document-to-document processing action.
void DoDocumentProcessing(const istd::IChangeable *inputDocumentPtr, const QByteArray &documentTypeId)
Process the current document.
iprocgui::CDocumentProcessingManagerCompBase BaseClass

© 2007-2011 Witold Gantzke and Kirill Lepskiy