ides.api.latex
Interface LatexManager


public interface LatexManager

Interface for the coordinator of LaTeX rendering in IDES.

Author:
Lenko Grigorov

Method Summary
 void addLatexPresentation(LatexPresentation lp)
          Adds a LatexPresentation to the list of LatexPresentation s which need to be included in the automatic prerendering when LaTeX rendering is turned on.
 Renderer getRenderer()
          Returns the Renderer to be used for rendering LaTeX.
 void handleRenderingProblem()
          Handle the situation when a LaTeX rendering problem occurs.
 boolean isLatexEnabled()
          Returns true if LaTeX rendering of labels is on, false otherwise.
 void prerenderAndRepaint(LatexPresentation lp)
          Starts the prerendering of a LatexPresentation.
 void removeLatexPresentation(LatexPresentation lp)
          Removes a LatexPresentation from the list of LatexPresentations which need to be included in the automatic prerendering when LaTeX rendering is turned on.
 void setLatexEnabled(boolean b)
          Switches LaTeX rendering of labels on and off.
 

Method Detail

addLatexPresentation

void addLatexPresentation(LatexPresentation lp)
Adds a LatexPresentation to the list of LatexPresentation s which need to be included in the automatic prerendering when LaTeX rendering is turned on.

Parameters:
lp - the LatexPresentation to be added to the list
See Also:
LatexPresentation, Workspace, FilmStrip

removeLatexPresentation

void removeLatexPresentation(LatexPresentation lp)
Removes a LatexPresentation from the list of LatexPresentations which need to be included in the automatic prerendering when LaTeX rendering is turned on.

Parameters:
lp - the LatexPresentation to be removed from the list
See Also:
LatexPresentation, Workspace, FilmStrip

isLatexEnabled

boolean isLatexEnabled()
Returns true if LaTeX rendering of labels is on, false otherwise.

Returns:
true if LaTeX rendering of labels is on, false otherwise

setLatexEnabled

void setLatexEnabled(boolean b)
Switches LaTeX rendering of labels on and off.

Parameters:
b - true to turn LaTeX rendering on, false to turn LaTeX rendering off

prerenderAndRepaint

void prerenderAndRepaint(LatexPresentation lp)
Starts the prerendering of a LatexPresentation. The presentation is repainted at the end.

Parameters:
lp - the LatexPresentation to prerender

getRenderer

Renderer getRenderer()
Returns the Renderer to be used for rendering LaTeX.

Returns:
the Renderer to be used for rendering LaTeX

handleRenderingProblem

void handleRenderingProblem()
Handle the situation when a LaTeX rendering problem occurs. Turns off LaTeX rendering of the labels. Asks the user if they wish to verify the LaTeX settings.