All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.poi.xwpf.converter.core.styles.run.RunFontFamilyHAnsiValueProvider Maven / Gradle / Ivy

package org.apache.poi.xwpf.converter.core.styles.run;

import org.openxmlformats.schemas.wordprocessingml.x2006.main.CTFonts;
import org.openxmlformats.schemas.wordprocessingml.x2006.main.STTheme;

public class RunFontFamilyHAnsiValueProvider
    extends RunFontFamilyValueProvider
{

    public static RunFontFamilyHAnsiValueProvider INSTANCE = new RunFontFamilyHAnsiValueProvider();

    @Override
    protected STTheme.Enum getTheme( CTFonts fonts )
    {
        return fonts.getHAnsiTheme();
    }

    @Override
    protected String getFamily( CTFonts fonts )
    {
        return fonts.getHAnsi();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy