ACF $AcfVersion:0$
CMultiPageBitmapSequenceComp.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// ACF includes
9
10
11namespace iimg
12{
13
14
23 public idoc::TMultiPageDocumentWrap<idoc::IMultiPageDocument>
24{
25public:
27
28 I_BEGIN_COMPONENT(CMultiPageBitmapSequenceComp);
29 I_REGISTER_INTERFACE(iser::ISerializable);
30 I_REGISTER_INTERFACE(iprm::IOptionsList);
31 I_REGISTER_INTERFACE(idoc::IMultiPageDocument);
32 I_ASSIGN(m_multiBitmapFactoryCompPtr, "MultiPageBitmapFactory", "Factory used for creation of multi-page bitmap for a single document page", true, "MultiPageBitmapFactory");
33 I_END_COMPONENT;
34
35protected:
36 // reimplemented (idoc::IMultiPageDocument)
38 const idoc::IDocumentMetaInfo* pageMetaInfoPtr = NULL,
39 const iprm::IParamsSet* pageParameterPtr = NULL,
40 int position = -1) override;
41
42private:
43 I_FACT(iimg::IMultiBitmapProvider, m_multiBitmapFactoryCompPtr);
44};
45
46
47} // namespace iimg
48
49
50
51
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=NULL, const iprm::IParamsSet *pageParameterPtr=NULL, 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:81
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:28
#define NULL
Definition istd.h:74
Contains the system indenendent definitions of image and related themes.
Definition CBitmap.h:17