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

📄 synexporttex.hpp

📁 嵌入式IDE
💻 HPP
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'SynExportTeX.pas' rev: 6.00

#ifndef SynExportTeXHPP
#define SynExportTeXHPP

#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 Synexporttex
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TSynExporterTeX;
class PASCALIMPLEMENTATION TSynExporterTeX : public Syneditexport::TSynCustomExporter 
{
	typedef Syneditexport::TSynCustomExporter inherited;
	
private:
	int fMargin;
	Synedithighlighter::TSynHighlighterAttributes* fLastAttri;
	AnsiString __fastcall AttriToCommand(Synedithighlighter::TSynHighlighterAttributes* Attri, AnsiString UniqueAttriName);
	bool __fastcall AttriToCommandCallback(Synedithighlighter::TSynCustomHighlighter* Highlighter, Synedithighlighter::TSynHighlighterAttributes* Attri, AnsiString UniqueAttriName, const void * const * Params, const int Params_Size);
	bool __fastcall CommandNameCallback(Synedithighlighter::TSynCustomHighlighter* Highlighter, Synedithighlighter::TSynHighlighterAttributes* Attri, AnsiString UniqueAttriName, const void * const * Params, const int Params_Size);
	AnsiString __fastcall GetCommandName(Synedithighlighter::TSynCustomHighlighter* Highlighter, Synedithighlighter::TSynHighlighterAttributes* Attri);
	AnsiString __fastcall GetNewCommands();
	AnsiString __fastcall MakeValidName(AnsiString Name);
	
protected:
	bool fCreateTeXFragment;
	int fTabWidth;
	bool fPageStyleEmpty;
	virtual void __fastcall FormatNewLine(void);
	virtual AnsiString __fastcall GetFooter();
	virtual AnsiString __fastcall GetFormatName();
	virtual AnsiString __fastcall GetHeader();
	virtual void __fastcall SetTokenAttribute(Synedithighlighter::TSynHighlighterAttributes* Attri);
	virtual void __fastcall FormatToken(AnsiString Token);
	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);
	
public:
	__fastcall virtual TSynExporterTeX(Classes::TComponent* AOwner);
	
__published:
	__property int Margin = {read=fMargin, write=fMargin, default=2};
	__property int TabWidth = {read=fTabWidth, write=fTabWidth, default=2};
	__property Color ;
	__property bool CreateTeXFragment = {read=fCreateTeXFragment, write=fCreateTeXFragment, default=0};
	__property bool PageStyleEmpty = {read=fPageStyleEmpty, write=fPageStyleEmpty, default=0};
	__property DefaultFilter ;
	__property Font ;
	__property Highlighter ;
	__property Title ;
	__property UseBackground ;
public:
	#pragma option push -w-inl
	/* TSynCustomExporter.Destroy */ inline __fastcall virtual ~TSynExporterTeX(void) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------

}	/* namespace Synexporttex */
using namespace Synexporttex;
#pragma option pop	// -w-
#pragma option pop	// -Vx

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

⌨️ 快捷键说明

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