#pragma once

//===========================================================================//
// File:	 GmlParsedString.h												 //
// Project:  gosGml				                                         //
// Contents: 																 //
//---------------------------------------------------------------------------//
// Date      Who    Modification                                             //
// 4/10/00   DP     Created													 //
//---------------------------------------------------------------------------//
// Copyright (C) 2000 Microsoft Corp.						                 //
// All Rights reserved worldwide                                             //
// This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL               //
//===========================================================================//

#include "Gmlfont.h"
#define GmlParsedString_PlainText		00
#define GmlParsedString_Bullet			01
#define GmlParsedString_NumList			02
#define GmlParsedString_Tab				03
#define GmlParsedString_Link			04
#define GmlParsedString_br				05
#define GmlParsedString_Image			06

#define GmlParsedImage_AlignNone		00
#define GmlParsedImage_AlignRight		01
#define GmlParsedImage_AlignLeft		02

class GmlImageParsedTag
{
	public:
		GmlImageParsedTag();
		~GmlImageParsedTag();
		char* FileName;
		char* Alt;
		char  Align;
};

class GmlParsedString
{
	public:
		GmlParsedString();
		~GmlParsedString();
		int DType;
		int Extra;		//uses: for numbered lists, put line number here.
		char* Text;
		char* LinkDest;
		char* Alt;
		GmlFont* Font;
		
	private:
		GmlParsedString& operator= (GmlParsedString const &); //don't call the assignment operator
		GmlParsedString(GmlParsedString&);//don't call this
};

