|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjimm.datavision.layout.LayoutEngine
jimm.datavision.layout.LaTeXLE
public class LaTeXLE
A LaTeX2e layout engine.
| Field Summary | |
|---|---|
protected double |
linethickness
|
| Fields inherited from class jimm.datavision.layout.LayoutEngine |
|---|
currentSection, newPage, out, pageHeight, pageHeightUsed, pageNumber, pageWidth, POINTS_PER_INCH, previousSectionArea, report, SECT_DETAIL, SECT_GROUP_FOOTER, SECT_GROUP_HEADER, SECT_PAGE_FOOTER, SECT_PAGE_HEADER, SECT_REPORT_FOOTER, SECT_REPORT_HEADER, wantsMoreData |
| Constructor Summary | |
|---|---|
LaTeXLE(java.io.PrintWriter out)
|
|
| Method Summary | |
|---|---|
protected void |
doEnd()
Outputs the end of the document. |
protected void |
doEndPage()
End a page. |
protected void |
doOutputField(Field field)
Outputs a field. |
protected void |
doOutputImage(ImageField field)
Ignores image output |
protected void |
doOutputLine(Line line)
Outputs a line. |
protected void |
doStart()
Outputs the beginning of the document. |
protected void |
doStartPage()
Start a new page. |
void |
drawLine(Line line,
java.lang.Object arg)
Draw a single line. |
protected void |
makeBorders(Field field)
Outputs borders. |
protected java.lang.String |
makeSafe(java.lang.String str)
Returns a new string with all LaTeX2e special characters replaced by their printable equivalents. |
protected double[] |
pickNearestSlope(double slope)
Returns an array containing two doubleing-point values representing the x and y values needed for a LaTeX2e line. |
protected void |
putField(Field field)
Outputs the LaTeX2e code that places the field on the page. |
protected void |
putLine(Line line,
double xslope,
double yslope)
Outputs the LaTeX2e code that places the line on the page. |
protected java.lang.String[] |
selectFontSize(Format format)
Returns array of two strings that set/reset font size. |
protected void |
setLineThickness(double t)
Sets the line thickness for drawing. |
| Methods inherited from class jimm.datavision.layout.LayoutEngine |
|---|
calcDetailHeight, calcPageFooterHeight, calcReportFooterHeight, calcSectionHeights, cancel, checkRemainingPageLength, closeOutput, currentSectionTypeAsString, detail, doOutputSection, end, endPage, groupFooters, groupHeaders, outputField, outputImage, outputLine, outputSection, pageHeight, pageNumber, pageWidth, setReport, start, startPage, wantsMoreData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected double linethickness
| Constructor Detail |
|---|
public LaTeXLE(java.io.PrintWriter out)
| Method Detail |
|---|
protected void doStart()
doStart in class LayoutEngineprotected void doEnd()
doEnd in class LayoutEngineprotected void doStartPage()
doStartPage in class LayoutEngineprotected void doEndPage()
doEndPage in class LayoutEngineprotected void doOutputField(Field field)
doOutputField in class LayoutEnginefield - the field to outputprotected void doOutputImage(ImageField field)
doOutputImage in class LayoutEnginefield - an image fieldprotected void doOutputLine(Line line)
drawLine(jimm.datavision.Line, java.lang.Object).
doOutputLine in class LayoutEngineline - a lineprotected java.lang.String[] selectFontSize(Format format)
null or has no size, return null.
protected void makeBorders(Field field)
public void drawLine(Line line,
java.lang.Object arg)
drawLine in interface LineDrawerline - a linearg - whatever you want it to beprotected double[] pickNearestSlope(double slope)
putLine truncate them.
slope - a double
protected void setLineThickness(double t)
t - thicknessprotected void putField(Field field)
protected void putLine(Line line,
double xslope,
double yslope)
line - the line to drawxslope - the X slope of the line; must be from -6 through 6yslope - the Y slope of the line; must be from -6 through 6protected java.lang.String makeSafe(java.lang.String str)
str -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||