Java Doc for LaTeXLE.java in  » Report » datavision-1.1.0 » jimm » datavision » layout » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Report » datavision 1.1.0 » jimm.datavision.layout 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   jimm.datavision.layout.LayoutEngine
      jimm.datavision.layout.LaTeXLE

LaTeXLE
public class LaTeXLE extends LayoutEngine implements LineDrawer(Code)
A LaTeX2e layout engine.
author:
   Jim Menard, jimm@io.com


Field Summary
protected  doublelinethickness
    

Constructor Summary
public  LaTeXLE(PrintWriter out)
    

Method Summary
protected  voiddoEnd()
     Outputs the end of the document.
protected  voiddoEndPage()
     End a page.
protected  voiddoOutputField(Field field)
     Outputs a field.
protected  voiddoOutputImage(ImageField field)
    
protected  voiddoOutputLine(Line line)
     Outputs a line.
protected  voiddoStart()
     Outputs the beginning of the document.
protected  voiddoStartPage()
     Start a new page.
public  voiddrawLine(Line line, Object arg)
     Draw a single line.
protected  voidmakeBorders(Field field)
     Outputs borders.
protected  StringmakeSafe(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  voidputField(Field field)
     Outputs the LaTeX2e code that places the field on the page.
protected  voidputLine(Line line, double xslope, double yslope)
     Outputs the LaTeX2e code that places the line on the page.
protected  String[]selectFontSize(Format format)
     Returns array of two strings that set/reset font size.
protected  voidsetLineThickness(double t)
     Sets the line thickness for drawing.

Field Detail
linethickness
protected double linethickness(Code)




Constructor Detail
LaTeXLE
public LaTeXLE(PrintWriter out)(Code)




Method Detail
doEnd
protected void doEnd()(Code)
Outputs the end of the document.



doEndPage
protected void doEndPage()(Code)
End a page.



doOutputField
protected void doOutputField(Field field)(Code)
Outputs a field.
Parameters:
  field - the field to output



doOutputImage
protected void doOutputImage(ImageField field)(Code)
Ignores image output
Parameters:
  field - an image field



doOutputLine
protected void doOutputLine(Line line)(Code)
Outputs a line. Calls LaTeXLE.drawLine .
Parameters:
  line - a line



doStart
protected void doStart()(Code)
Outputs the beginning of the document.



doStartPage
protected void doStartPage()(Code)
Start a new page.



drawLine
public void drawLine(Line line, Object arg)(Code)
Draw a single line.
Parameters:
  line - a line



makeBorders
protected void makeBorders(Field field)(Code)
Outputs borders.



makeSafe
protected String makeSafe(String str)(Code)
Returns a new string with all LaTeX2e special characters replaced by their printable equivalents.
Parameters:
  str - a string safe for LaTeX2e output



pickNearestSlope
protected double[] pickNearestSlope(double slope)(Code)
Returns an array containing two doubleing-point values representing the x and y values needed for a LaTeX2e line. LaTeX2e insists that these two values be integers, but we use doubles for accuracy and let putLine truncate them.
Parameters:
  slope - a double an array containing x and y values



putField
protected void putField(Field field)(Code)
Outputs the LaTeX2e code that places the field on the page.



putLine
protected void putLine(Line line, double xslope, double yslope)(Code)
Outputs the LaTeX2e code that places the line on the page. Both xslope and yslope are cast to ints because that's what LaTeX2e requires.
Parameters:
  line - the line to draw
Parameters:
  xslope - the X slope of the line; must be from -6 through 6
Parameters:
  yslope - the Y slope of the line; must be from -6 through 6



selectFontSize
protected String[] selectFontSize(Format format)(Code)
Returns array of two strings that set/reset font size. If format is null or has no size, return null. an array of two strings



setLineThickness
protected void setLineThickness(double t)(Code)
Sets the line thickness for drawing.
Parameters:
  t - thickness



Fields inherited from jimm.datavision.layout.LayoutEngine
final public static int POINTS_PER_INCH(Code)(Java Doc)
final protected static int SECT_DETAIL(Code)(Java Doc)
final protected static int SECT_GROUP_FOOTER(Code)(Java Doc)
final protected static int SECT_GROUP_HEADER(Code)(Java Doc)
final protected static int SECT_PAGE_FOOTER(Code)(Java Doc)
final protected static int SECT_PAGE_HEADER(Code)(Java Doc)
final protected static int SECT_REPORT_FOOTER(Code)(Java Doc)
final protected static int SECT_REPORT_HEADER(Code)(Java Doc)
protected Section currentSection(Code)(Java Doc)
protected boolean newPage(Code)(Java Doc)
protected PrintWriter out(Code)(Java Doc)
protected double pageHeight(Code)(Java Doc)
protected double pageHeightUsed(Code)(Java Doc)
protected int pageNumber(Code)(Java Doc)
protected double pageWidth(Code)(Java Doc)
protected int previousSectionArea(Code)(Java Doc)
protected Report report(Code)(Java Doc)
protected boolean wantsMoreData(Code)(Java Doc)

Methods inherited from jimm.datavision.layout.LayoutEngine
protected double calcDetailHeight()(Code)(Java Doc)
protected double calcPageFooterHeight()(Code)(Java Doc)
protected double calcReportFooterHeight()(Code)(Java Doc)
protected double calcSectionHeights(SectionArea area)(Code)(Java Doc)
public void cancel()(Code)(Java Doc)
protected void checkRemainingPageLength(boolean isLastRow, boolean includeDetail)(Code)(Java Doc)
protected void closeOutput()(Code)(Java Doc)
protected String currentSectionTypeAsString()(Code)(Java Doc)
public void detail(boolean isLastRow)(Code)(Java Doc)
protected void doEnd()(Code)(Java Doc)
protected void doEndPage()(Code)(Java Doc)
abstract protected void doOutputField(Field field)(Code)(Java Doc)
abstract protected void doOutputImage(ImageField image)(Code)(Java Doc)
abstract protected void doOutputLine(Line line)(Code)(Java Doc)
protected void doOutputSection(Section sect)(Code)(Java Doc)
protected void doStart()(Code)(Java Doc)
protected void doStartPage()(Code)(Java Doc)
public void end()(Code)(Java Doc)
protected void endPage(boolean isLastPage)(Code)(Java Doc)
public void groupFooters(boolean isLastRow)(Code)(Java Doc)
public void groupHeaders(boolean isLastRow)(Code)(Java Doc)
protected void outputField(Field field)(Code)(Java Doc)
protected void outputImage(ImageField image)(Code)(Java Doc)
protected void outputLine(Line line)(Code)(Java Doc)
protected void outputSection(Section sect, int which)(Code)(Java Doc)
public double pageHeight()(Code)(Java Doc)
public int pageNumber()(Code)(Java Doc)
public double pageWidth()(Code)(Java Doc)
public void setReport(Report r)(Code)(Java Doc)
public void start()(Code)(Java Doc)
protected void startPage()(Code)(Java Doc)
public boolean wantsMoreData()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.