WorkingWithFonts - Apache POI Excel File Example
What is WorkingWithFonts example in the Apache POI package? How to run WorkingWithFonts example?
WorkingWithFonts example in the Apache POI package is created by Glen Stampoultzis. It demonstrates how to create and use fonts in *.xls file format.
WorkingWithFonts example uses the HSSF (Horrible SpreadSheet Format) API, which supports Excel files in *.xls format only.
Here is the command to run WorkingWithFonts to generate a sample *.xls file. Note that poi-ooxml.jar is not needed for HSSF API.
C:\fyicenter>\local\jdk-1.8.0\bin\java -cp .;C:\local\poi-3.15\poi-examples-3.15.jar; C:\local\poi-3.15\poi-3.15.jar; org.apache.poi.hssf.usermodel.examples.WorkingWithFonts
If you open the output file, workbook.xls, in Excel,
you will see a sample text as shown below:
2017-03-17, 723👍, 0💬
How to read XML document with DTD validation from socket connections with the socket\DelayedInput.ja.. .
dom4j is an easy to use, open source library for working with XML, XPath and XSLT on the Java platfo...
The goal of the Geronimo project is to produce a server runtime framework that pulls together the be...
How to download and install ojdbc5.jar for Oracle 11g R1? ojdbc5.jar for Oracle 11g R1 is a Java 5 J...
OOXML (Office Open XML) Schemas. JAR File Size and Download Location: File name: ooxml-schemas.jar, ...