⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shtmlparse.hpp

📁 I mComputermaster programmisDelphi+pascal
💻 HPP
字号:
// CodeGear C++Builder
// Copyright (c) 1995, 2008 by CodeGear
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Shtmlparse.pas' rev: 20.00

#ifndef ShtmlparseHPP
#define ShtmlparseHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Sysutils.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Acntutils.hpp>	// Pascal unit
#include <Math.hpp>	// Pascal unit
#include <Sconst.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Shtmlparse
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TsHtml;
class PASCALIMPLEMENTATION TsHtml : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	typedef DynamicArray<Graphics::TFont*> _TsHtml__1;
	
	
public:
	Graphics::TBitmap* Bitmap;
	int CurX;
	int CurY;
	int Len;
	System::UnicodeString Origin;
	System::UnicodeString UppedText;
	_TsHtml__1 aFonts;
	Types::TRect Area;
	int MaxBmpWidth;
	int MaxBmpHeight;
	int CurWidthValue;
	int CurHeightValue;
	int CurrentRowHeight;
	Classes::TAlignment CurrentRowAlignment;
	__fastcall virtual ~TsHtml(void);
	void __fastcall ShowCut(int i2, int &i1);
	void __fastcall Init(Graphics::TBitmap* Bmp, System::UnicodeString Text, const Types::TRect &aRect);
	void __fastcall ExecTag(const System::UnicodeString s);
	void __fastcall NewRow(void);
	void __fastcall NewFont(const System::UnicodeString s);
	void __fastcall BackFont(void);
	Types::TRect __fastcall HTMLText();
	void __fastcall SetAlignment(const System::UnicodeString Tag);
public:
	/* TObject.Create */ inline __fastcall TsHtml(void) : System::TObject() { }
	
};


//-- var, const, procedure ---------------------------------------------------
#define Letters (Set<char, 0, 255> () << '\x41' << '\x42' << '\x43' << '\x44' << '\x45' << '\x46' )
#define Digits (Set<char, 0, 255> () << '\x30' << '\x31' << '\x32' << '\x33' << '\x34' << '\x35' << '\x36' << '\x37' << '\x38' << '\x39' )
#define DisabledChars (Set<char, 0, 255> () << '\xa' << '\xd' )
extern PACKAGE System::UnicodeString __fastcall GetTag(const System::UnicodeString s, int CurPos);
extern PACKAGE void __fastcall SetFont(Graphics::TFont* Font, const System::UnicodeString Tag);

}	/* namespace Shtmlparse */
using namespace Shtmlparse;
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// ShtmlparseHPP

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -