public boolean addDataStyle(final DataStyle dataStyle) {
        if (dataStyle.isHidden()) {
            return this.dataStylesContainer
                    .add(dataStyle.getName(), Dest.CONTENT_AUTOMATIC_STYLES, dataStyle);
        } else {
            return this.dataStylesContainer
                    .add(dataStyle.getName(), Dest.STYLES_COMMON_STYLES, dataStyle);
        }
    }
public boolean addDataStyle ( final DataStyle dataStyle ) { if ( dataStyle . isHidden ( ) ) { return this . dataStylesContainer . add ( dataStyle . getName ( ) , Dest . CONTENT_AUTOMATIC_STYLES , dataStyle ) ; } else { return this . dataStylesContainer . add ( dataStyle . getName ( ) , Dest . STYLES_COMMON_STYLES , dataStyle ) ; } }
Create a new data style into styles container. No duplicate style name is allowed.
Must be used if the table-cell style already exists.

@param dataStyle the data style to add
@return true if the style was added