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));