Example #1
0
        public EFontfamily GetFontTheme(ThemeFontScheme themeFontScheme)
        {
            EFontfamily fontfamily = new EFontfamily();

            fontfamily.MajorFont = themeFontScheme.MajorFont.Item(MsoFontLanguageIndex.msoThemeLatin).Name;
            fontfamily.MinorFont = themeFontScheme.MinorFont.Item(MsoFontLanguageIndex.msoThemeLatin).Name;
            fontfamily.TagName   = fontfamily.MajorFont + "-" + fontfamily.MinorFont;
            return(fontfamily);
        }
Example #2
0
 public FontsStep(EFontfamily oldFont, EFontfamily newFont)
 {
     OldFont = oldFont;
     NewFont = newFont;
 }