ICF 3.1.1.10
Technical documentation of ICF Libraries
CMultiPageBitmapSequenceComp.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 iimg_CMultiPageBitmapSequenceComp_included
7#define iimg_CMultiPageBitmapSequenceComp_included
8
9
10// ICF includes
14
15
16namespace iimg
17{
18
19
25 public idoc::TMultiPageDocumentWrap<idoc::IMultiPageDocument>
26{
27public:
29
30 I_BEGIN_COMPONENT(CMultiPageBitmapSequenceComp);
31 I_REGISTER_INTERFACE(iser::ISerializable);
32 I_REGISTER_INTERFACE(iprm::IOptionsList);
33 I_REGISTER_INTERFACE(idoc::IMultiPageDocument);
34 I_ASSIGN(m_multiBitmapFactoryCompPtr, "MultiPageBitmapFactory", "Factory used for creation of multi-page bitmap for a single document page", true, "MultiPageBitmapFactory");
35 I_END_COMPONENT;
36
37protected:
38 // reimplemented (idoc::IMultiPageDocument)
40 const idoc::IDocumentMetaInfo* pageMetaInfoPtr = nullptr,
41 const iprm::IParamsSet* pageParameterPtr = nullptr,
42 int position = -1) override;
43
44private:
45 I_FACT(iimg::IMultiBitmapProvider, m_multiBitmapFactoryCompPtr);
46};
47
48
49} // namespace iimg
50
51
52#endif // !iimg_CMultiPageBitmapSequenceComp_included
53
54
Base class for component implementation.
Interface for document meta-information.
Simple interface for a structured document.
Generic implementation of IMultiPageDocument interface.
Realization of the multi-page bitmap sequence used the component factory for the instatiation of the ...
virtual istd::IChangeable * InsertPage(const idoc::IDocumentMetaInfo *pageMetaInfoPtr=nullptr, const iprm::IParamsSet *pageParameterPtr=nullptr, int position=-1) override
Insert a new document page at the given position.
Supplier allowing to access of multiple produced bitmaps.
Constraints of selection from set of possibilities.
Set of general parameters.
Definition IParamsSet.h:29
Common class for all classes which objects can be archived or restored from archive.
Common interface for data model objects, which can be changed.
Definition IChangeable.h:32
Contains the system indenendent definitions of image and related themes.
Definition CBitmap.h:21

© Witold Gantzke and Kirill Lepskiy