CMultiPageBitmapSequenceComp.h
Go to the documentation of this file.
1 #ifndef iimg_CMultiPageBitmapSequenceComp_included
2 #define iimg_CMultiPageBitmapSequenceComp_included
3 
4 
5 // ACF includes
6 #include <icomp/CComponentBase.h>
9 
10 
11 namespace iimg
12 {
13 
14 
19  public icomp::CComponentBase,
20  public idoc::TMultiPageDocumentWrap<idoc::IMultiPageDocument>
21 {
22 public:
24 
25  I_BEGIN_COMPONENT(CMultiPageBitmapSequenceComp);
26  I_REGISTER_INTERFACE(iser::ISerializable);
27  I_REGISTER_INTERFACE(iprm::IOptionsList);
28  I_REGISTER_INTERFACE(idoc::IMultiPageDocument);
29  I_ASSIGN(m_multiBitmapFactoryCompPtr, "MultiPageBitmapFactory", "Factory used for creation of multi-page bitmap for a single document page", true, "MultiPageBitmapFactory");
30  I_END_COMPONENT;
31 
32 protected:
33  // reimplemented (idoc::IMultiPageDocument)
35  const idoc::IDocumentMetaInfo* pageMetaInfoPtr = NULL,
36  const iprm::IParamsSet* pageParameterPtr = NULL,
37  int position = -1);
38 
39 private:
40  I_FACT(iimg::IMultiBitmapProvider, m_multiBitmapFactoryCompPtr);
41 };
42 
43 
44 } // namespace iimg
45 
46 
47 #endif // !iimg_CMultiPageBitmapSequenceComp_included
48 
49 
Interface for document meta-information.
Base class for component implementation.
Constraints of selection from set of possibilities.
Definition: IOptionsList.h:22
Common class for all classes which objects can be archived or restored from archive.
Definition: ISerializable.h:23
Simple interface for a structured document.
Generic implementation of IMultiPageDocument interface.
Supplier allowing to access of multiple produced bitmaps.
Common interface for data model objects, which can be changed.
Definition: IChangeable.h:24
virtual istd::IChangeable * InsertPage(const idoc::IDocumentMetaInfo *pageMetaInfoPtr=NULL, const iprm::IParamsSet *pageParameterPtr=NULL, int position=-1)
Insert a new document page at the given position.
#define NULL
Definition: istd.h:64
Set of general parameters.
Definition: IParamsSet.h:23
Realization of the multi-page bitmap sequence used the component factory for the instatiation of the ...

© 2007-2017 Witold Gantzke and Kirill Lepskiy