Class AttributeFormat


  • public class AttributeFormat
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      AttributeFormat​(java.lang.String fontFamily, java.lang.String fontSize, java.lang.String fontWeight, java.lang.String fontStyle, java.lang.String textColor, java.lang.String fillColor)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> org.docx4j.wml.CTShd getShd​(DocxContext<T> docx)  
      boolean isEmpty()  
      <T> void setFormatRPr​(org.docx4j.wml.RPrAbstract rPr, DocxContext<T> docx)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • fontFamily

        @Nullable
        public final java.lang.String fontFamily
      • fontSize

        @Nullable
        public final java.lang.String fontSize
      • fontBold

        @Nullable
        public final java.lang.Boolean fontBold
      • fontItalic

        @Nullable
        public final java.lang.Boolean fontItalic
      • textColor

        @Nullable
        public final java.lang.String textColor
      • fillColor

        @Nullable
        public final java.lang.String fillColor
    • Constructor Detail

      • AttributeFormat

        public AttributeFormat​(@Nullable
                               java.lang.String fontFamily,
                               @Nullable
                               java.lang.String fontSize,
                               @Nullable
                               java.lang.String fontWeight,
                               @Nullable
                               java.lang.String fontStyle,
                               @Nullable
                               java.lang.String textColor,
                               @Nullable
                               java.lang.String fillColor)
    • Method Detail

      • isEmpty

        public boolean isEmpty()
      • getShd

        @NotNull
        public <T> org.docx4j.wml.CTShd getShd​(@NotNull
                                               DocxContext<T> docx)
      • setFormatRPr

        public <T> void setFormatRPr​(@NotNull
                                     org.docx4j.wml.RPrAbstract rPr,
                                     @NotNull
                                     DocxContext<T> docx)