Click here to Skip to main content
15,885,952 members
Articles / Desktop Programming / MFC

Develop MFC Doc/View Application Which Supports Any Number Document Template

Rate me:
Please Sign up or sign in to vote.
1.57/5 (3 votes)
2 Jun 20052 min read 36.5K   1.7K   26  
This article provides an introduction to TangramLittle, a C++ Framework for MFC and the .NET Framework. Knowledge in MFC and the .NET Framework is assumed.
// TangramLittle Library - version 1.0
// Author:      Sunhui
// Modified by:
// Created:     2005-04-06
// Copyright:   (c) Sunhui
// Licence:     wxWindows licence
//
// This source code is a part of Tangram library.
// The use and distribution terms for this software are covered by the
// The wxWindows Library Licence (http://opensource.org/licenses/wxwindows.php)
// which can be found in the file licence.txt at the root of this distribution.
// By using this software in any fashion, you are agreeing to be bound by
// the terms of this license. You must not remove this notice, or
// any other, from this software.

#pragma once
#include "afx.h"
#include "vbaobjectinfo.h"

class CDocumentInfo : public CObject
{
	DECLARE_SERIAL(CDocumentInfo)
public:
	CDocumentInfo(void);
	virtual ~CDocumentInfo(void);

	LPSTORAGE m_pStorage;
	CString m_strDocTemplateID;
	CMapStringToPtr		m_DocDispDictionary;

	virtual void Serialize(CArchive& ar);
};

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here



Comments and Discussions