www.pudn.com > XRayImg.rar > PPHtmlDrawer.h
//
// Class: CPPHtmlDrawer
//
// Compiler: Visual C++
// Tested on: Visual C++ 6.0
// Visual C++ .NET 2003
//
// Version: See GetVersionC() or GetVersionI()
//
// Created: xx/xxxx/2004
// Updated: 21/November/2004
//
// Author: Eugene Pustovoyt pustovoyt@mail.ru
//
// Disclaimer
// ----------
// THIS SOFTWARE AND THE ACCOMPANYING FILES ARE DISTRIBUTED "AS IS" AND WITHOUT
// ANY WARRANTIES WHETHER EXPRESSED OR IMPLIED. NO REPONSIBILITIES FOR POSSIBLE
// DAMAGES OR EVEN FUNCTIONALITY CAN BE TAKEN. THE USER MUST ASSUME THE ENTIRE
// RISK OF USING THIS SOFTWARE.
//
// Terms of use
// ------------
// THIS SOFTWARE IS FREE FOR PERSONAL USE OR FREEWARE APPLICATIONS.
// IF YOU WISH TO THANK MY WORK, YOU MAY DONATE ANY SUM OF MONEY TO ME
// FOR SUPPORT OF DEVELOPMENT OF THIS CLASS.
// IF YOU USE THIS SOFTWARE IN COMMERCIAL OR SHAREWARE APPLICATIONS YOU
// ARE GENTLY ASKED TO DONATE ANY SUM OF MONEY TO THE AUTHOR:
//
//--- History ------------------------------
// 2004/03/01 *** Releases version 1.0 ***
//------------------------------------------
// 2004/04/13 [ADD] Added a "speed" parameter to a tag for animation
// 2004/04/20 [ADD] For non-MFC program added STL class CStdString
// 2004/05/05 [ADD] Added an EnableOutput method
// [FIX] Fixed an error in SetImageList method (thanks to topus)
//------------------------------------------
// 2004/05/05 *** Releases version 1.1 ***
//------------------------------------------
// 2004/06/06 [FIX] Fixed an error on select a reference to the handle of the font
// instead select a handle of the font
// 2004/06/24 [ADD] Added SetMaxWidth and GetMaxWidth methods for supporting a text wrapping
// [ADD] Added EnableTextWrap and IsTextWrapEnabled methods to sets a text wrap
// mode or to retrieves a mode status.
// [ADD] Added common character entities.
// 2004/06/25 [ADD] Added SetTabSize method.
// [ADD] Implemented a support to output a justified text.
// [ADD] Added new tag to output a justified text.
// 2004/07/18 [ADD] Support a disabled draw in the tables
// 2004/09/07 [FIX] Fixed minor errors of drawing table's cells
// 2004/10/13 [FIX] The last line of the paragraph alignment on fields now is not applied
// 2004/10/20 [FIX] Fixed error in GetLengthUnit method. Thanks to Reinhard Steiner
// 2004/10/26 [FIX] Corrected work of the justify for the multifont text in one line
// [ADD] Support a word wrapping for the text with the images
// 2004/10/28 [ADD] Now cx and cy parameters of the tag is an optional information
//------------------------------------------
// 2004/10/30 *** Releases version 1.2 ***
//------------------------------------------
// 2004/11/30 [FIX] Fixed an error in the drawing nested tables
// 2004/12/05 [CHN] Replaces CImageList to HIMAGELIST
// [CHN] Replaces MFC classes (CSize, CPoint, CRect) to API structures
// 2004/12/14 [FIX] Fixed an error in determinates of the hyperlink area
// [FIX] Fixed an error in drawing of the horizontal line (
tag)
// 2005/01/15 [ADD] Not fixed columns will resize to the width of the client area
// 2005/03/01 [FIX] Fixed an error of the imagelist drawing
/////////////////////////////////////////////////////////////////////
//
// "GotoURL" function by Stuart Patterson
// As seen in the August, 1997 Windows Developer's Journal.
// Copyright 1997 by Miller Freeman, Inc. All rights reserved.
// Modified by Chris Maunder to use TCHARs instead of chars.
//
// "Default hand cursor" from Paul DiLascia's Jan 1998 MSJ article.
// Modified by Zorglab to use standard hand cursor on WinMe,2k,XP
//
/////////////////////////////////////////////////////////////////////
#ifndef _PPHTMLDRAWER_H_
#define _PPHTMLDRAWER_H_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// disable warning C4786: symbol greater than 255 character, okay to ignore
#pragma warning(disable : 4786)
#include "PPDrawManager.h"
#include
#include