class AttributeRunFormatProvider<T> extends RunFormatProviderBase<T> {
    final public AttributeFormat myAttributeFormat;

    public AttributeRunFormatProvider(DocxContext<T> docx, String fontFamily, String fontSize, String fontWeight, String fontStyle, String textColor, String fillColor) {
        super(docx, null, false, null);
        myAttributeFormat = new AttributeFormat(fontFamily, fontSize, fontWeight, fontStyle, textColor, fillColor);
    }

    public AttributeRunFormatProvider(DocxContext<T> docx, AttributeFormat attributeFormat) {
        super(docx, null, false, null);
        myAttributeFormat = attributeFormat;
    }

    @Override
    public void getRPr(RPr rPr) {<FILL_FUNCTION_BODY>}
}

        RunFormatProvider<T> parent = myParent;
        if (parent != null) {
            RPr rpr1 = myDocx.getFactory().createRPr();
            parent.getRPr(rpr1);

            inheritParentStyle(rPr, rpr1);
        }

        ParaRPr paraRPr = myDocx.getP().getPPr().getRPr();

        myAttributeFormat.setFormatRPr(rPr, myDocx);
        myDocx.getHelper().keepDiff(rPr, paraRPr);
    
<methods>public void <init>(DocxContext<T>, java.lang.String, boolean, java.lang.String) ,public void close() ,public T getProviderFrame() ,public void getRPr(org.docx4j.wml.RPr) ,public RunFormatProvider<T> getRunParent() ,public org.docx4j.wml.Style getStyle() ,public java.lang.String getStyleId() ,public void open() <variables>protected final non-sealed java.lang.String myBaseStyleId,protected final non-sealed DocxContext<T> myDocx,protected final non-sealed T myFrame,protected final non-sealed java.lang.String myHighlightShadingColor,protected final non-sealed boolean myNoCharacterStyles,protected final non-sealed RunFormatProvider<T> myParent