| java.lang.Object org.apache.poi.hslf.record.Record org.apache.poi.hslf.record.RecordContainer org.apache.poi.hslf.record.FontCollection
FontCollection | public class FontCollection extends RecordContainer (Code) | | FontCollection ia a container that holds information
about all the fonts in the presentation.
author: Yegor Kozlov |
Constructor Summary | |
protected | FontCollection(byte[] source, int start, int len) |
FontCollection | protected FontCollection(byte[] source, int start, int len)(Code) | | |
addFont | public int addFont(String name)(Code) | | Add font with the specified name to the font collection.
If the font is already present return its index.
Parameters: name - of the font zero based index of the font in the collection |
getFontWithId | public String getFontWithId(int id)(Code) | | Get the name of the font at the given ID, or null if there is
no font at that ID.
Parameters: id - |
getRecordType | public long getRecordType()(Code) | | Return the type, which is 2005
|
Methods inherited from org.apache.poi.hslf.record.RecordContainer | public void addChildAfter(Record newChild, Record after)(Code)(Java Doc) public void addChildBefore(Record newChild, Record before)(Code)(Java Doc) public void appendChildRecord(Record newChild)(Code)(Java Doc) public Record[] getChildRecords()(Code)(Java Doc) public boolean isAnAtom()(Code)(Java Doc) public void moveChildBefore(Record child, Record before)(Code)(Java Doc) public void moveChildrenAfter(Record firstChild, int number, Record after)(Code)(Java Doc) public void moveChildrenBefore(Record firstChild, int number, Record before)(Code)(Java Doc) public void writeOut(byte headerA, byte headerB, long type, Record[] children, OutputStream out) throws IOException(Code)(Java Doc)
|
|
|