// ************************************************************************************************************
// Author: Marcin Załęczny
// Release Date: 2010-11-08
// Licence: The GNU Lesser General Public License, version 3.0 (LGPLv3)
// ************************************************************************************************************
#ifndef __MZSTDXPS_XPS_FIXED_DOCUMENT_SEQUENCE_H__
#define __MZSTDXPS_XPS_FIXED_DOCUMENT_SEQUENCE_H__

#include "mzstdxpsCommon.h"
#include "mzObject.h"
#include "mzArrayList.h"
#include "mzString.h"

#include "mzXmlDocument.h"
#include "mzXmlNode.h"

class DECLSPEC_MZSTDXPS CXpsFixedDocumentSequence : public CXmlDocument {
public:
	WINAPI CXpsFixedDocumentSequence(CArrayList* documents);
	WINAPI CXpsFixedDocumentSequence(CArrayList* documents, CString xmlVersion, CString xmlEncoding);
    virtual WINAPI ~CXpsFixedDocumentSequence();

    BOOL WINAPI addDocumentReference(INT docNumber, CString fixedDocName);
    virtual CString WINAPI toXmlString();
    
private:
    // Poninter on documents (the same as in CXpsPackage - so not to release)
    CArrayList* _documents;
};

#endif
