Search in sources :

Example 1 with FontBasisRecord

use of org.apache.poi.hssf.record.chart.FontBasisRecord in project poi by apache.

the class HSSFChart method createFontBasisRecord1.

private FontBasisRecord createFontBasisRecord1() {
    FontBasisRecord r = new FontBasisRecord();
    r.setXBasis((short) 9120);
    r.setYBasis((short) 5640);
    r.setHeightBasis((short) 200);
    r.setScale((short) 0);
    r.setIndexToFontTable((short) 5);
    return r;
}
Also used : FontBasisRecord(org.apache.poi.hssf.record.chart.FontBasisRecord)

Example 2 with FontBasisRecord

use of org.apache.poi.hssf.record.chart.FontBasisRecord in project poi by apache.

the class HSSFChart method createFontBasisRecord2.

private FontBasisRecord createFontBasisRecord2() {
    FontBasisRecord r = createFontBasisRecord1();
    r.setIndexToFontTable((short) 6);
    return r;
}
Also used : FontBasisRecord(org.apache.poi.hssf.record.chart.FontBasisRecord)

Aggregations

FontBasisRecord (org.apache.poi.hssf.record.chart.FontBasisRecord)2