Package org.apache.poi.hslf.model

Examples of org.apache.poi.hslf.model.PPFont


    FontCollection fonts = getDocumentRecord().getEnvironment().getFontCollection();
    for (Record ch : fonts.getChildRecords()) {
      if (ch instanceof FontEntityAtom) {
        FontEntityAtom atom = (FontEntityAtom) ch;
        if (atom.getFontIndex() == idx) {
          return new PPFont(atom);
        }
      }
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of org.apache.poi.hslf.model.PPFont

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.