Package org.docx4j.dml.BaseStyles

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

Related Classes of org.docx4j.dml.BaseStyles.FontScheme

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.