Java Doc for JRXlsExporter.java in  » Report » jasperreports-2.0.1 » net » sf » jasperreports » engine » export » 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 » jasperreports 2.0.1 » net.sf.jasperreports.engine.export 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


net.sf.jasperreports.engine.export.JRXlsAbstractExporter
   net.sf.jasperreports.engine.export.JRXlsExporter

JRXlsExporter
public class JRXlsExporter extends JRXlsAbstractExporter (Code)
Exports a JasperReports document to XLS format. It has binary output type and exports the document to a grid-based layout.

Since classic AWT fonts can be sometimes very different from system fonts (which are used by XLS viewers), a font mapping feature was added. By using the net.sf.jasperreports.engine.JRExporterParameter.FONT_MAP parameter, a logical font like "sansserif" can be mapped to a system specific font, like "Comic Sans MS". Both map keys and values are strings.
author:
   Teodor Danciu (teodord@users.sourceforge.net)
version:
   $Id: JRXlsExporter.java 1830 2007-08-24 14:44:17Z teodord $


Inner Class :protected static class BoxStyle
Inner Class :protected static class StyleInfo

Field Summary
protected  shortbackgroundMode
    
protected  shortblackIndex
    
protected  HSSFCellcell
    
protected  HSSFDataFormatdataFormat
    
protected  HSSFCellStyleemptyCellStyle
    
protected  MapformatPatternsMap
    
protected  MaploadedCellStyles
    
protected  HSSFRowrow
    
protected  HSSFSheetsheet
    
protected  shortwhiteIndex
    
protected  HSSFWorkbookworkbook
    


Method Summary
protected  voidaddBlankCell(JRExporterGridCell gridCell, int colIndex, int rowIndex)
    
protected  voidcloseWorkbook(OutputStream os)
    
protected  voidcreateMergeRegion(JRExporterGridCell gridCell, int colIndex, int rowIndex, HSSFCellStyle cellStyle)
    
protected  voidcreateSheet(String name)
    
protected  voidcreateTextCell(JRPrintText textElement, JRExporterGridCell gridCell, int colIndex, int rowIndex, JRStyledText styledText, StyleInfo baseStyle)
    
protected  voidendCreateCell(HSSFCellStyle cellStyle)
    
protected  voidexportFrame(JRPrintFrame frame, JRExporterGridCell gridCell, int x, int y)
    
protected  voidexportImage(JRPrintImage image, JRExporterGridCell gridCell, int colIndex, int rowIndex)
    
protected  voidexportLine(JRPrintLine line, JRExporterGridCell gridCell, int colIndex, int rowIndex)
    
protected  voidexportRectangle(JRPrintElement element, JRExporterGridCell gridCell, int colIndex, int rowIndex)
    
protected  voidexportText(JRPrintText textElement, JRExporterGridCell gridCell, int colIndex, int rowIndex)
    
protected static  shortgetBorder(byte pen)
    
protected  HSSFCellStylegetLoadedCellStyle(StyleInfo style)
    
protected  HSSFCellStylegetLoadedCellStyle(short mode, short backcolor, short horizontalAlignment, short verticalAlignment, short rotation, HSSFFont font, JRExporterGridCell gridCell)
    
protected  HSSFFontgetLoadedFont(JRFont font, short forecolor)
    
protected  ExporterNaturegetNature()
    
protected static  HSSFColorgetNearestColor(Color awtColor)
    
protected  StyleInfogetStyleInfo(short mode, short backcolor, short horizontalAlignment, short verticalAlignment, short rotation, HSSFFont font, JRExporterGridCell gridCell)
    
protected  HSSFCellStyleinitCreateCell(JRExporterGridCell gridCell, int colIndex, int rowIndex, StyleInfo baseStyle)
    
protected  voidopenWorkbook(OutputStream os)
    
protected  voidsetBackground()
    
protected  voidsetCell(int colIndex, int rowIndex)
    
protected  voidsetColumnWidth(short index, short width)
    
protected  voidsetParameters()
    
protected  voidsetRowHeight(int rowIndex, int lastRowHeight)
    
final protected  voidsetStringCellValue(String textStr)
    

Field Detail
backgroundMode
protected short backgroundMode(Code)



blackIndex
protected short blackIndex(Code)



cell
protected HSSFCell cell(Code)



dataFormat
protected HSSFDataFormat dataFormat(Code)



emptyCellStyle
protected HSSFCellStyle emptyCellStyle(Code)



formatPatternsMap
protected Map formatPatternsMap(Code)



loadedCellStyles
protected Map loadedCellStyles(Code)



row
protected HSSFRow row(Code)



sheet
protected HSSFSheet sheet(Code)



whiteIndex
protected short whiteIndex(Code)



workbook
protected HSSFWorkbook workbook(Code)





Method Detail
addBlankCell
protected void addBlankCell(JRExporterGridCell gridCell, int colIndex, int rowIndex)(Code)



closeWorkbook
protected void closeWorkbook(OutputStream os) throws JRException(Code)



createMergeRegion
protected void createMergeRegion(JRExporterGridCell gridCell, int colIndex, int rowIndex, HSSFCellStyle cellStyle)(Code)



createSheet
protected void createSheet(String name)(Code)



createTextCell
protected void createTextCell(JRPrintText textElement, JRExporterGridCell gridCell, int colIndex, int rowIndex, JRStyledText styledText, StyleInfo baseStyle) throws JRException(Code)



endCreateCell
protected void endCreateCell(HSSFCellStyle cellStyle)(Code)



exportFrame
protected void exportFrame(JRPrintFrame frame, JRExporterGridCell gridCell, int x, int y)(Code)



exportImage
protected void exportImage(JRPrintImage image, JRExporterGridCell gridCell, int colIndex, int rowIndex)(Code)



exportLine
protected void exportLine(JRPrintLine line, JRExporterGridCell gridCell, int colIndex, int rowIndex)(Code)



exportRectangle
protected void exportRectangle(JRPrintElement element, JRExporterGridCell gridCell, int colIndex, int rowIndex)(Code)



exportText
protected void exportText(JRPrintText textElement, JRExporterGridCell gridCell, int colIndex, int rowIndex) throws JRException(Code)



getBorder
protected static short getBorder(byte pen)(Code)



getLoadedCellStyle
protected HSSFCellStyle getLoadedCellStyle(StyleInfo style)(Code)



getLoadedCellStyle
protected HSSFCellStyle getLoadedCellStyle(short mode, short backcolor, short horizontalAlignment, short verticalAlignment, short rotation, HSSFFont font, JRExporterGridCell gridCell)(Code)



getLoadedFont
protected HSSFFont getLoadedFont(JRFont font, short forecolor)(Code)



getNature
protected ExporterNature getNature()(Code)



getNearestColor
protected static HSSFColor getNearestColor(Color awtColor)(Code)



getStyleInfo
protected StyleInfo getStyleInfo(short mode, short backcolor, short horizontalAlignment, short verticalAlignment, short rotation, HSSFFont font, JRExporterGridCell gridCell)(Code)



initCreateCell
protected HSSFCellStyle initCreateCell(JRExporterGridCell gridCell, int colIndex, int rowIndex, StyleInfo baseStyle)(Code)



openWorkbook
protected void openWorkbook(OutputStream os)(Code)



setBackground
protected void setBackground()(Code)



setCell
protected void setCell(int colIndex, int rowIndex)(Code)



setColumnWidth
protected void setColumnWidth(short index, short width)(Code)



setParameters
protected void setParameters()(Code)



setRowHeight
protected void setRowHeight(int rowIndex, int lastRowHeight)(Code)



setStringCellValue
final protected void setStringCellValue(String textStr)(Code)



Fields inherited from net.sf.jasperreports.engine.export.JRXlsAbstractExporter
protected String currentSheetName(Code)(Java Doc)
protected JRFont defaultFont(Code)(Java Doc)
protected Map fontMap(Code)(Java Doc)
protected JRHyperlinkProducerFactory hyperlinkProducerFactory(Code)(Java Doc)
protected boolean isAutoDetectCellType(Code)(Java Doc)
protected boolean isCollapseRowSpan(Code)(Java Doc)
protected boolean isDetectCellType(Code)(Java Doc)
protected boolean isFontSizeFixEnabled(Code)(Java Doc)
protected boolean isIgnoreCellBorder(Code)(Java Doc)
protected boolean isIgnoreGraphics(Code)(Java Doc)
protected boolean isOnePagePerSheet(Code)(Java Doc)
protected boolean isRemoveEmptySpace(Code)(Java Doc)
protected boolean isWhitePageBackground(Code)(Java Doc)
protected List loadedFonts(Code)(Java Doc)
protected int maxRowsPerSheet(Code)(Java Doc)
protected JRExportProgressMonitor progressMonitor(Code)(Java Doc)
protected int reportIndex(Code)(Java Doc)
protected int sheetIndex(Code)(Java Doc)
protected String[] sheetNames(Code)(Java Doc)
protected Map sheetNamesMap(Code)(Java Doc)
protected JRStyledTextParser styledTextParser(Code)(Java Doc)

Methods inherited from net.sf.jasperreports.engine.export.JRXlsAbstractExporter
abstract protected void addBlankCell(JRExporterGridCell gridCell, int colIndex, int rowIndex) throws JRException(Code)(Java Doc)
abstract protected void closeWorkbook(OutputStream os) throws JRException(Code)(Java Doc)
abstract protected void createSheet(String name)(Code)(Java Doc)
abstract protected void exportFrame(JRPrintFrame frame, JRExporterGridCell cell, int colIndex, int rowIndex) throws JRException(Code)(Java Doc)
abstract protected void exportImage(JRPrintImage image, JRExporterGridCell cell, int colIndex, int rowIndex) throws JRException(Code)(Java Doc)
abstract protected void exportLine(JRPrintLine line, JRExporterGridCell cell, int colIndex, int rowIndex) throws JRException(Code)(Java Doc)
protected int exportPage(JRPrintPage page, List xCuts, int startRow) throws JRException(Code)(Java Doc)
abstract protected void exportRectangle(JRPrintElement element, JRExporterGridCell cell, int colIndex, int rowIndex) throws JRException(Code)(Java Doc)
public void exportReport() throws JRException(Code)(Java Doc)
protected void exportReportToStream(OutputStream os) throws JRException(Code)(Java Doc)
abstract protected void exportText(JRPrintText text, JRExporterGridCell cell, int colIndex, int rowIndex) throws JRException(Code)(Java Doc)
protected JRHyperlinkProducer getCustomHandler(JRPrintHyperlink link)(Code)(Java Doc)
protected JRFont getDefaultFont()(Code)(Java Doc)
abstract protected ExporterNature getNature()(Code)(Java Doc)
protected JRStyledText getStyledText(JRPrintText textElement)(Code)(Java Doc)
protected static TextAlignHolder getTextAlignHolder(JRPrintText textElement)(Code)(Java Doc)
abstract protected void openWorkbook(OutputStream os) throws JRException(Code)(Java Doc)
abstract protected void setBackground()(Code)(Java Doc)
abstract protected void setCell(int colIndex, int rowIndex)(Code)(Java Doc)
abstract protected void setColumnWidth(short index, short width)(Code)(Java Doc)
protected void setColumnWidths(List xCuts)(Code)(Java Doc)
protected void setParameters()(Code)(Java Doc)
abstract protected void setRowHeight(int rowIndex, int lastRowHeight) throws JRException(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.