📄 synexporthtml.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'SynExportHTML.pas' rev: 6.00
#ifndef SynExportHTMLHPP
#define SynExportHTMLHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Classes.hpp> // Pascal unit
#include <SynEditHighlighter.hpp> // Pascal unit
#include <SynEditExport.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <SysInit.hpp> // Pascal unit
#include <System.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Synexporthtml
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TSynExporterHTML;
class PASCALIMPLEMENTATION TSynExporterHTML : public Syneditexport::TSynCustomExporter
{
typedef Syneditexport::TSynCustomExporter inherited;
private:
Synedithighlighter::TSynHighlighterAttributes* fLastAttri;
AnsiString __fastcall AttriToCSS(Synedithighlighter::TSynHighlighterAttributes* Attri, AnsiString UniqueAttriName);
bool __fastcall AttriToCSSCallback(Synedithighlighter::TSynCustomHighlighter* Highlighter, Synedithighlighter::TSynHighlighterAttributes* Attri, AnsiString UniqueAttriName, const void * const * Params, const int Params_Size);
AnsiString __fastcall ColorToHTML(Graphics::TColor AColor);
AnsiString __fastcall GetStyleName(Synedithighlighter::TSynCustomHighlighter* Highlighter, Synedithighlighter::TSynHighlighterAttributes* Attri);
AnsiString __fastcall MakeValidName(AnsiString Name);
bool __fastcall StyleNameCallback(Synedithighlighter::TSynCustomHighlighter* Highlighter, Synedithighlighter::TSynHighlighterAttributes* Attri, AnsiString UniqueAttriName, const void * const * Params, const int Params_Size);
protected:
bool fCreateHTMLFragment;
virtual void __fastcall FormatAfterLastAttribute(void);
virtual void __fastcall FormatAttributeDone(bool BackgroundChanged, bool ForegroundChanged, Graphics::TFontStyles FontStylesChanged);
virtual void __fastcall FormatAttributeInit(bool BackgroundChanged, bool ForegroundChanged, Graphics::TFontStyles FontStylesChanged);
virtual void __fastcall FormatBeforeFirstAttribute(bool BackgroundChanged, bool ForegroundChanged, Graphics::TFontStyles FontStylesChanged);
virtual void __fastcall FormatNewLine(void);
virtual AnsiString __fastcall GetFooter();
virtual AnsiString __fastcall GetFormatName();
virtual AnsiString __fastcall GetHeader();
virtual void __fastcall SetTokenAttribute(Synedithighlighter::TSynHighlighterAttributes* Attri);
public:
__fastcall virtual TSynExporterHTML(Classes::TComponent* AOwner);
__published:
__property Color ;
__property bool CreateHTMLFragment = {read=fCreateHTMLFragment, write=fCreateHTMLFragment, default=0};
__property DefaultFilter ;
__property Font ;
__property Highlighter ;
__property Title ;
__property UseBackground ;
public:
#pragma option push -w-inl
/* TSynCustomExporter.Destroy */ inline __fastcall virtual ~TSynExporterHTML(void) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Synexporthtml */
using namespace Synexporthtml;
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // SynExportHTML
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -