CMultiPageBitmapComp.h
Go to the documentation of this file.
1 #ifndef iimg_CMultiPageBitmapComp_included
2 #define iimg_CMultiPageBitmapComp_included
3 
4 
5 // ACF includes
6 #include <icomp/CComponentBase.h>
8 
9 
10 namespace iimg
11 {
12 
13 
18  public icomp::CComponentBase,
20 {
21 public:
23 
24  I_BEGIN_COMPONENT(CMultiPageBitmapComp);
25  I_REGISTER_INTERFACE(IMultiBitmapProvider);
26  I_REGISTER_INTERFACE(IMultiPageBitmapController);
27  I_REGISTER_INTERFACE(iser::ISerializable);
28  I_REGISTER_INTERFACE(iprm::IOptionsList);
29  I_REGISTER_INTERFACE(idoc::IMultiPageDocument);
30  I_ASSIGN(m_bitmapFactoryCompPtr, "BitmapFactory", "Factory used for creation of bitmap for a single document page", true, "BitmapFactory");
31  I_END_COMPONENT;
32 
33 protected:
34  // reimplemented (CMultiPageBitmapBase)
35  virtual IBitmap* CreateBitmap() const;
36 
37 private:
38  I_FACT(IBitmap, m_bitmapFactoryCompPtr);
39 };
40 
41 
42 } // namespace iimg
43 
44 
45 #endif // !iimg_CMultiPageBitmapComp_included
46 
47 
Base class for component implementation.
Realization of the multi-page bitmap used the component factory for the instatiation of the page bitm...
virtual IBitmap * CreateBitmap() const
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.
Definition of single plane bitmap.
Definition: IBitmap.h:17
Supplier allowing to access of multiple produced bitmaps.
Definition of a multi-page bitmap document.
icomp::CComponentBase BaseClass
Interface of a controller for handling multi-page bitmaps.

© 2007-2017 Witold Gantzke and Kirill Lepskiy