TeXOptions

Inheritance: java.lang.Object

public class TeXOptions

TeX file processing options class.

Methods

MethodDescription
getJobName()Gets the name of the job.
setJobName(String value)Sets the name of the job.
getTerminalIn()Gets the input terminal reader.
setTerminalIn(IInputTerminal value)Sets the input terminal reader.
getTerminalOut()Gets the output terminal writer.
setTerminalOut(IOutputTerminal value)Sets the output terminal writer.
getInputWorkingDirectory()Gets input working directory.
setInputWorkingDirectory(IInputWorkingDirectory value)Sets input working directory.
getOutputWorkingDirectory()Gets output working directory.
setOutputWorkingDirectory(IOutputWorkingDirectory value)Sets output working directory.
getRequiredInputDirectory()Gets the directory for the required input, e.g., packages that are beyond Aspose.TeX’s LaTeX support.
setRequiredInputDirectory(IInputWorkingDirectory value)Sets the directory for the required input, e.g., packages that are beyond Aspose.TeX’s LaTeX support.
getInteraction()Gets the interaction mode to run a TeX engine in.
setInteraction(Interaction value)Sets the interaction mode to run a TeX engine in.
ignoreMissingPackages()Gets the flag that instructs the engine whether to halt on missing package read attempt or ignore it.
ignoreMissingPackages(boolean value)Sets the flag that instructs the engine whether to halt on missing package read attempt or ignore it.
getSaveOptions()Gets options used for rendering into destination format (XPS, PDF, image, etc.).
setSaveOptions(SaveOptions value)Sets options used for rendering into destination format (XPS, PDF, image, etc.).
getDateTime()Gets a certain value for date/time primitives like \year, \month, \day and \time.
setDateTime(Date value)Sets a certain value for date/time primitives like \year, \month, \day and \time.
repeat()Gets the flag indicating whether it is necessary to run the TeX job twice in case, for example, there are references in input TeX file(s).
repeat(boolean value)Sets the flag indicating whether it is necessary to run the TeX job twice in case, for example, there are references in input TeX file(s).
noLigatures()Gets the flag that cancels ligatures in all fonts.
noLigatures(boolean value)Sets the flag that cancels ligatures in all fonts.
fullInputFileNames()Gets the flag indicating whether full or short filenames are output to the transcript file and to the terminal when file input begins.
fullInputFileNames(boolean value)Sets the flag indicating whether full or short filenames are output to the transcript file and to the terminal when file input begins.
consoleAppOptions(TeXConfig config)Returns options for use in a console application.

getJobName()

public String getJobName()

Gets the name of the job.

Returns: java.lang.String - The name of the job.

setJobName(String value)

public void setJobName(String value)

Sets the name of the job.

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe name of the job.

getTerminalIn()

public IInputTerminal getTerminalIn()

Gets the input terminal reader.

Returns: IInputTerminal - The input terminal reader.

setTerminalIn(IInputTerminal value)

public void setTerminalIn(IInputTerminal value)

Sets the input terminal reader.

Parameters:

ParameterTypeDescription
valueIInputTerminalThe input terminal reader.

getTerminalOut()

public IOutputTerminal getTerminalOut()

Gets the output terminal writer.

Returns: IOutputTerminal - The output terminal writer.

setTerminalOut(IOutputTerminal value)

public void setTerminalOut(IOutputTerminal value)

Sets the output terminal writer.

Parameters:

ParameterTypeDescription
valueIOutputTerminalThe output terminal writer.

getInputWorkingDirectory()

public IInputWorkingDirectory getInputWorkingDirectory()

Gets input working directory.

Returns: IInputWorkingDirectory - Input working directory.

setInputWorkingDirectory(IInputWorkingDirectory value)

public void setInputWorkingDirectory(IInputWorkingDirectory value)

Sets input working directory.

Parameters:

ParameterTypeDescription
valueIInputWorkingDirectoryInput working directory.

getOutputWorkingDirectory()

public IOutputWorkingDirectory getOutputWorkingDirectory()

Gets output working directory.

Returns: IOutputWorkingDirectory - Output working directory.

setOutputWorkingDirectory(IOutputWorkingDirectory value)

public void setOutputWorkingDirectory(IOutputWorkingDirectory value)

Sets output working directory.

Parameters:

ParameterTypeDescription
valueIOutputWorkingDirectoryOutput working directory.

getRequiredInputDirectory()

public IInputWorkingDirectory getRequiredInputDirectory()

Gets the directory for the required input, e.g., packages that are beyond Aspose.TeX’s LaTeX support.

Returns: IInputWorkingDirectory - Input directory.

setRequiredInputDirectory(IInputWorkingDirectory value)

public void setRequiredInputDirectory(IInputWorkingDirectory value)

Sets the directory for the required input, e.g., packages that are beyond Aspose.TeX’s LaTeX support.

Parameters:

ParameterTypeDescription
valueIInputWorkingDirectoryInput directory.

getInteraction()

public Interaction getInteraction()

Gets the interaction mode to run a TeX engine in.

Returns: Interaction - The interaction mode to run a TeX engine in.

setInteraction(Interaction value)

public void setInteraction(Interaction value)

Sets the interaction mode to run a TeX engine in.

Parameters:

ParameterTypeDescription
valueInteractionThe interaction mode to run a TeX engine in.

ignoreMissingPackages()

public boolean ignoreMissingPackages()

Gets the flag that instructs the engine whether to halt on missing package read attempt or ignore it.

Returns: boolean - The flag that instructs the engine whether to halt on missing package read attempt or ignore it.

ignoreMissingPackages(boolean value)

public void ignoreMissingPackages(boolean value)

Sets the flag that instructs the engine whether to halt on missing package read attempt or ignore it.

Parameters:

ParameterTypeDescription
valuebooleanThe flag that instructs the engine whether to halt on missing package read attempt or ignore it.

getSaveOptions()

public SaveOptions getSaveOptions()

Gets options used for rendering into destination format (XPS, PDF, image, etc.). Default value is the set of default options for rendering to XPS.

Returns: SaveOptions - Options used for rendering into destination format (XPS, PDF, image, etc.).

setSaveOptions(SaveOptions value)

public void setSaveOptions(SaveOptions value)

Sets options used for rendering into destination format (XPS, PDF, image, etc.). Default value is the set of default options for rendering to XPS.

Parameters:

ParameterTypeDescription
valueSaveOptionsOptions used for rendering into destination format (XPS, PDF, image, etc.).

getDateTime()

public Date getDateTime()

Gets a certain value for date/time primitives like \year, \month, \day and \time.

Returns: java.util.Date - A certain value for date/time primitives like \year, \month, \day and \time.

setDateTime(Date value)

public void setDateTime(Date value)

Sets a certain value for date/time primitives like \year, \month, \day and \time.

Parameters:

ParameterTypeDescription
valuejava.util.DateA certain value for date/time primitives like \year, \month, \day and \time.

repeat()

public boolean repeat()

Gets the flag indicating whether it is necessary to run the TeX job twice in case, for example, there are references in input TeX file(s). In general, this behavior is useful when the engine collects some data along the typesetting process and stores it in an auxilliary file, all at the first run. And at the second run, the engine somehow uses that data.

Returns: boolean - The flag indicating whether it is necessary to run the TeX job twice.

repeat(boolean value)

public void repeat(boolean value)

Sets the flag indicating whether it is necessary to run the TeX job twice in case, for example, there are references in input TeX file(s). In general, this behavior is useful when the engine collects some data along the typesetting process and stores it in an auxilliary file, all at the first run. And at the second run, the engine somehow uses that data.

Parameters:

ParameterTypeDescription
valuebooleanThe flag indicating whether it is necessary to run the TeX job twice.

noLigatures()

public boolean noLigatures()

Gets the flag that cancels ligatures in all fonts.

Returns: boolean - The flag that cancels ligatures in all fonts.

noLigatures(boolean value)

public void noLigatures(boolean value)

Sets the flag that cancels ligatures in all fonts.

Parameters:

ParameterTypeDescription
valuebooleanThe flag that cancels ligatures in all fonts.

fullInputFileNames()

public boolean fullInputFileNames()

Gets the flag indicating whether full or short filenames are output to the transcript file and to the terminal when file input begins.

Returns: boolean - The flag indicating whether full or short filenames are output to the transcript file and to the terminal when file input begins.

fullInputFileNames(boolean value)

public void fullInputFileNames(boolean value)

Sets the flag indicating whether full or short filenames are output to the transcript file and to the terminal when file input begins.

Parameters:

ParameterTypeDescription
valuebooleanThe flag indicating whether full or short filenames are output to the transcript file and to the terminal when file input begins.

consoleAppOptions(TeXConfig config)

public static TeXOptions consoleAppOptions(TeXConfig config)

Returns options for use in a console application.

Parameters:

ParameterTypeDescription
configTeXConfigA TeX configuration.

Returns: TeXOptions - TeX options.