Interface AuthorAttributesController

  • All Known Subinterfaces:
    AuthorDocumentController

    @API(type=NOT_EXTENDABLE,
         src=PUBLIC)
    public interface AuthorAttributesController
    Helper used to set attributes
    • Method Detail

      • setAttribute

        void setAttribute​(java.lang.String attributeName,
                          AttrValue value,
                          AuthorElement element)
        Sets the value of an attribute in the specified element. Attributes set in this manner (as opposed to calling AuthorElement.setAttribute(String, AttrValue) directly) will be subject to undo/redo.
        Parameters:
        attributeName - Name of the attribute being changed.
        value - New AttrValue for the attribute. If null, the attribute is removed from the element.
        element - The AuthorElement whose attribute is changing.