C# Class TeX2img.Converter

Inheritance: IDisposable
Mostrar archivo Open project: abenori/TeX2img Class Usage Examples

Public Properties

Property Type Description
ShortToolPath string
bmpExtensions string[]
vectorExtensions string[]

Public Methods

Method Description
Abort ( ) : void
AddInputPath ( string path ) : void
CheckFormat ( ) : bool
CheckInputFormat ( ) : bool
Convert ( ) : bool
Converter ( IOutputController controller, string inputTeXFilePath, string outputFilePath ) : System
Dispose ( ) : void
GetInputEncoding ( ) : Encoding
GetOutputEncoding ( ) : Encoding
GetOutputEncoding ( string latex, string arg ) : Encoding
GetToolsPath ( ) : string
KillChildProcesses ( Process proc ) : void
setProcStartInfo ( String path ) : string
setProcStartInfo ( String path, string &Arguments ) : string
which ( string name ) : string

Private Methods

Method Description
AddMargineToBoundingBox ( BoundingBox bb, bool use_bp ) : BoundingBox
AddMargineToBoundingBox ( BoundingBoxPair bb, bool use_bp ) : BoundingBoxPair
DeleteHeightAndWidthFromSVGFile ( string svgFile ) : void
GetProcess ( ) : Process
GetProcessStartInfo ( ) : ProcessStartInfo
GetpdftexPath ( ) : string
IsGenerated ( string file1, string file2 ) : int
IsNewGhostscript ( ) : bool
IspTeX ( string latex ) : bool
IsupTeX ( string latex ) : bool
ReadOutputs ( Process proc, string freezemsg ) : void
ReadOutputs ( Process proc, string freezemsg, Action stdOutRead, Action stdErrRead ) : void
dashtoline ( string input, int version ) : bool
dvi2pdf ( string fileName ) : bool
enlargeBB ( string inputEpsFileName, bool use_bp = true ) : void
eps2pdf ( List filename, string output, int resolution, int version ) : bool
generate ( string inputTeXFilePath, string outputFilePath ) : bool
gifconcat ( List files, string output, uint delay, uint loop ) : bool
gs_pdfwrite ( string input, string output, string option, string msg, int resolution, int version, string cmd ) : bool
img2img_pdfium ( string inputFileName, string outputFileName ) : bool
make_dummyeps ( string filename ) : bool
pdf2eps ( string inputFileName, string outputFileName, int resolution, int page, int version, BoundingBoxPair origbb = null ) : bool
pdf2img ( string inputFileName, string outputFileName, int page ) : bool
pdf2img ( string input, string output, string device, int page ) : bool
pdf2img_mudraw ( string inputFileName, string outputFileName, List pages ) : bool
pdf2img_mudraw ( string inputFileName, string outputFileName, int page ) : bool
pdf2img_pdfium ( string inputFilename, string outputFileName, List pages ) : bool
pdf2img_pdfium ( string inputFilename, string outputFileName, int pages ) : bool
pdf2pdf ( string input, string output, int resolution, int version, int page ) : bool
pdf2pdf_pdfium ( string input, string output, List pagelist ) : bool
pdf2pdf_pdfium ( string input, string output, int page ) : bool
pdfcrop ( string inputFileName, string outputFileName, bool use_bp, List pages, List origbb, bool drawback = true, bool deleteemptypages = false, bool crop = true, int version = -1 ) : bool
pdfcrop ( string inputFileName, string outputFileName, bool use_bp, int page = 1, BoundingBoxPair origbb = null, int version = -1 ) : bool
pdfinfo ( string file, int &page, int &version ) : bool
png2img ( string inputFileName, string outputFileName ) : bool
printCommandLine ( Process proc ) : void
ps2pdf ( string filename, string output, int version = -1 ) : bool
readBB ( string inputEpsFileName ) : BoundingBoxPair
readPDFBB ( string inputPDFFileName, int page ) : BoundingBoxPair
readPDFBB ( string inputPDFFileName, int firstpage, int lastpage ) : List
readPDFBox ( string inputPDFFileName, List pages, string boxname ) : List
rewriteBB ( string inputEpsFileName, BoundingBox>.Func bb, BoundingBox>.Func hiresbb ) : void
svgconcat ( List files, string output, uint delay, uint loop ) : bool
tex2dvi ( string fileName ) : bool
tiffconcat ( List files, string output ) : bool

Method Details

Abort() public method

public Abort ( ) : void
return void

AddInputPath() public method

public AddInputPath ( string path ) : void
path string
return void

CheckFormat() public method

public CheckFormat ( ) : bool
return bool

CheckInputFormat() public method

public CheckInputFormat ( ) : bool
return bool

Convert() public method

public Convert ( ) : bool
return bool

Converter() public method

public Converter ( IOutputController controller, string inputTeXFilePath, string outputFilePath ) : System
controller IOutputController
inputTeXFilePath string
outputFilePath string
return System

Dispose() public method

public Dispose ( ) : void
return void

GetInputEncoding() public static method

public static GetInputEncoding ( ) : Encoding
return System.Text.Encoding

GetOutputEncoding() public static method

public static GetOutputEncoding ( ) : Encoding
return System.Text.Encoding

GetOutputEncoding() public static method

public static GetOutputEncoding ( string latex, string arg ) : Encoding
latex string
arg string
return System.Text.Encoding

GetToolsPath() public static method

public static GetToolsPath ( ) : string
return string

KillChildProcesses() public static method

public static KillChildProcesses ( Process proc ) : void
proc System.Diagnostics.Process
return void

setProcStartInfo() public static method

public static setProcStartInfo ( String path ) : string
path String
return string

setProcStartInfo() public static method

public static setProcStartInfo ( String path, string &Arguments ) : string
path String
Arguments string
return string

which() public static method

public static which ( string name ) : string
name string
return string

Property Details

ShortToolPath public_oe static_oe property

public static string ShortToolPath
return string

bmpExtensions public_oe static_oe property

public static string[] bmpExtensions
return string[]

vectorExtensions public_oe static_oe property

public static string[] vectorExtensions
return string[]