TeXOptions

Inheritance: java.lang.Object

public class TeXOptions

TeX file processing options class.

Methods

Method Description
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.
consoleAppOptions(TeXConfig config) Returns options for use in 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:

Parameter Type Description
value java.lang.String The 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:

Parameter Type Description
value IInputTerminal The 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:

Parameter Type Description
value IOutputTerminal The 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:

Parameter Type Description
value IInputWorkingDirectory Input 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:

Parameter Type Description
value IOutputWorkingDirectory Output 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:

Parameter Type Description
value IInputWorkingDirectory Input 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:

Parameter Type Description
value Interaction The 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:

Parameter Type Description
value boolean The 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:

Parameter Type Description
value SaveOptions Options 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:

Parameter Type Description
value java.util.Date A 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:

Parameter Type Description
value boolean The 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:

Parameter Type Description
value boolean The flag that cancels ligatures in all fonts.

consoleAppOptions(TeXConfig config)

public static TeXOptions consoleAppOptions(TeXConfig config)

Returns options for use in console application.

Parameters:

Parameter Type Description
config TeXConfig A TeX configuration.

Returns: TeXOptions - TeX options.