Examples of FontScheme


Examples of org.docx4j.dml.BaseStyles.FontScheme

  public static List<Style> generateStyles(PresentationMLPackage presentationMLPackage)
    throws InvalidFormatException {
   
    ThemePart tp = (ThemePart)presentationMLPackage.getParts().getParts().get(
        new PartName("/ppt/theme/theme1.xml"));
    FontScheme fontScheme = tp.getFontScheme();
    List<Style> styles = new ArrayList<Style>();
   
    // root
    styles.add(TextStyles.createVirtualStylesForDocDefaults(fontScheme));
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.