94 lines
3.2 KiB
C++
94 lines
3.2 KiB
C++
// Borland C++ Builder
|
|
// Copyright (c) 1995, 2005 by Borland Software Corporation
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'Jvrichedittohtml.pas' rev: 10.00
|
|
|
|
#ifndef JvrichedittohtmlHPP
|
|
#define JvrichedittohtmlHPP
|
|
|
|
#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 <Sysutils.hpp> // Pascal unit
|
|
#include <Classes.hpp> // Pascal unit
|
|
#include <Graphics.hpp> // Pascal unit
|
|
#include <Forms.hpp> // Pascal unit
|
|
#include <Comctrls.hpp> // Pascal unit
|
|
#include <Jvrgbtohtml.hpp> // Pascal unit
|
|
#include <Jvstrtohtml.hpp> // Pascal unit
|
|
#include <Jvrichedit.hpp> // Pascal unit
|
|
#include <Jvcomponentbase.hpp> // Pascal unit
|
|
|
|
//-- user supplied -----------------------------------------------------------
|
|
|
|
namespace Jvrichedittohtml
|
|
{
|
|
//-- type declarations -------------------------------------------------------
|
|
struct TJvParaAttributesRec
|
|
{
|
|
|
|
public:
|
|
Classes::TAlignment Alignment;
|
|
Comctrls::TNumberingStyle Numbering;
|
|
} ;
|
|
|
|
struct TJvRichEditParaAttributesRec
|
|
{
|
|
|
|
public:
|
|
Jvrichedit::TParaAlignment Alignment;
|
|
Jvrichedit::TJvNumbering Numbering;
|
|
} ;
|
|
|
|
class DELPHICLASS TJvRichEditToHtml;
|
|
class PASCALIMPLEMENTATION TJvRichEditToHtml : public Jvcomponentbase::TJvComponent
|
|
{
|
|
typedef Jvcomponentbase::TJvComponent inherited;
|
|
|
|
private:
|
|
Jvrgbtohtml::TJvRGBToHTML* FCToH;
|
|
Jvstrtohtml::TJvStrToHtml* FCharToH;
|
|
AnsiString FEndSection;
|
|
AnsiString FEndPara;
|
|
AnsiString FTitle;
|
|
Classes::TStringList* FFooter;
|
|
Classes::TStringList* FHeader;
|
|
AnsiString __fastcall AttToHtml(Graphics::TFont* Value);
|
|
AnsiString __fastcall ParaToHtml(TJvParaAttributesRec Value)/* overload */;
|
|
AnsiString __fastcall ParaToHtml(TJvRichEditParaAttributesRec Value)/* overload */;
|
|
Classes::TStrings* __fastcall GetFooter(void);
|
|
Classes::TStrings* __fastcall GetHeader(void);
|
|
void __fastcall SetFooter(const Classes::TStrings* Value);
|
|
void __fastcall SetHeader(const Classes::TStrings* Value);
|
|
|
|
public:
|
|
__fastcall virtual TJvRichEditToHtml(Classes::TComponent* AOwner);
|
|
__fastcall virtual ~TJvRichEditToHtml(void);
|
|
void __fastcall ConvertToHtml(Comctrls::TRichEdit* Value, const AnsiString FileName)/* overload */;
|
|
void __fastcall ConvertToHtml(Jvrichedit::TJvRichEdit* Value, const AnsiString FileName)/* overload */;
|
|
void __fastcall ConvertToHtmlStrings(Comctrls::TRichEdit* Value, Classes::TStrings* Strings)/* overload */;
|
|
void __fastcall ConvertToHtmlStrings(Jvrichedit::TJvRichEdit* Value, Classes::TStrings* Strings)/* overload */;
|
|
|
|
__published:
|
|
__property AnsiString Title = {read=FTitle, write=FTitle};
|
|
__property Classes::TStrings* Header = {read=GetHeader, write=SetHeader};
|
|
__property Classes::TStrings* Footer = {read=GetFooter, write=SetFooter};
|
|
};
|
|
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
|
|
} /* namespace Jvrichedittohtml */
|
|
using namespace Jvrichedittohtml;
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // Jvrichedittohtml
|