Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
What Is jxl.jar 2.6.12
What is jxl.jar 2.6.12?
✍: fyicenter.com
jxl.jar 2.6.12 is the JAR file for Java Excel API 2.6.12, which is a Java library for reading, writing and modifying Microsoft Excel spreadsheet files.
JAR File Size and Download Location:
JAR name: jxl-2.6.12.jar Target JDK version: 1.6 Dependency: None File name: jxl.jar File size: 725735 bytes Release date: 24-Oct-2009 Download: Java Excel API Website.
Here are Java Source Code files for jxl-2.6.12.jar:
⏎ jxl/biff/drawing/EscherDisplay.java
/********************************************************************* * * Copyright (C) 2005 Andrew Khan * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ***************************************************************************/ package jxl.biff.drawing; import java.io.BufferedWriter; import java.io.IOException; /** * Class used to display a complete hierarchically organized Escher stream * The whole thing is dumped to System.out * * This class is only used as a debugging tool */ public class EscherDisplay { /** * The escher stream */ private EscherStream stream; /** * The writer */ private BufferedWriter writer; /** * Constructor * * @param s the stream * @param bw the writer */ public EscherDisplay(EscherStream s, BufferedWriter bw) { stream = s; writer = bw; } /** * Display the formatted escher stream * * @exception IOException */ public void display() throws IOException { EscherRecordData er = new EscherRecordData(stream, 0); EscherContainer ec = new EscherContainer(er); displayContainer(ec, 0); } /** * Displays the escher container as text * * @param ec the escher container * @param level the indent level * @exception IOException */ private void displayContainer(EscherContainer ec, int level) throws IOException { displayRecord(ec, level); // Display the contents of the container level++; EscherRecord[] children = ec.getChildren(); for (int i = 0; i < children.length; i++) { EscherRecord er = children[i]; if (er.getEscherData().isContainer()) { displayContainer((EscherContainer) er, level); } else { displayRecord(er, level); } } } /** * Displays an escher record * * @param er the record to display * @param level the amount of indentation * @exception IOException */ private void displayRecord(EscherRecord er, int level) throws IOException { indent(level); EscherRecordType type = er.getType(); // Display the code writer.write(Integer.toString(type.getValue(), 16)); writer.write(" - "); // Display the name if (type == EscherRecordType.DGG_CONTAINER) { writer.write("Dgg Container"); writer.newLine(); } else if (type == EscherRecordType.BSTORE_CONTAINER) { writer.write("BStore Container"); writer.newLine(); } else if (type == EscherRecordType.DG_CONTAINER) { writer.write("Dg Container"); writer.newLine(); } else if (type == EscherRecordType.SPGR_CONTAINER) { writer.write("Spgr Container"); writer.newLine(); } else if (type == EscherRecordType.SP_CONTAINER) { writer.write("Sp Container"); writer.newLine(); } else if (type == EscherRecordType.DGG) { writer.write("Dgg"); writer.newLine(); } else if (type == EscherRecordType.BSE) { writer.write("Bse"); writer.newLine(); } else if (type == EscherRecordType.DG) { Dg dg = new Dg(er.getEscherData()); writer.write("Dg: drawing id " + dg.getDrawingId() + " shape count " + dg.getShapeCount()); writer.newLine(); } else if (type == EscherRecordType.SPGR) { writer.write("Spgr"); writer.newLine(); } else if (type == EscherRecordType.SP) { Sp sp = new Sp(er.getEscherData()); writer.write("Sp: shape id " + sp.getShapeId() + " shape type " + sp.getShapeType()); writer.newLine(); } else if (type == EscherRecordType.OPT) { Opt opt = new Opt(er.getEscherData()); Opt.Property p260 = opt.getProperty(260); Opt.Property p261 = opt.getProperty(261); writer.write("Opt (value, stringValue): "); if (p260 != null) { writer.write("260: " + p260.value + ", " + p260.stringValue + ";"); } if (p261 != null) { writer.write("261: " + p261.value + ", " + p261.stringValue + ";"); } writer.newLine(); } else if (type == EscherRecordType.CLIENT_ANCHOR) { writer.write("Client Anchor"); writer.newLine(); } else if (type == EscherRecordType.CLIENT_DATA) { writer.write("Client Data"); writer.newLine(); } else if (type == EscherRecordType.CLIENT_TEXT_BOX) { writer.write("Client Text Box"); writer.newLine(); } else if (type == EscherRecordType.SPLIT_MENU_COLORS) { writer.write("Split Menu Colors"); writer.newLine(); } else { writer.write("???"); writer.newLine(); } } /** * Indents to the amount specified by the level * * @param level the level * @exception IOException */ private void indent(int level) throws IOException { for (int i = 0; i < level * 2; i++) { writer.write(' '); } } }
⏎ jxl/biff/drawing/EscherDisplay.java
Or download all of them as a single archive file:
File name: jxl-2.6.12-src.zip File size: 824057 bytes Release date: 2009-10-24 Download
⇐ What Is jexcelapi_2_6_12.zip
2017-06-09, 70145👍, 6💬
Popular Posts:
itextpdf.jar is a component in iText 5 Java library to provide core functionalities. iText Java libr...
What Is HttpComponents httpcore-4.4.6.jar? HttpComponents httpcore-4.4.6.jar is the JAR file for Apa...
Oracle Business Intelligence (BI) Beans enables developers to productively build business intelligen...
HttpComponents Core Source Code Files are provided in the source package file, httpcomponents-core-5...
How to download and install JDK (Java Development Kit) 5? If you want to write Java applications, yo...