code: public boolean addContentStyle(final ObjectStyle objectStyle) {
          if (objectStyle.isHidden()) {
              return this.objectStylesContainer
                      .add(objectStyle.getKey(), Dest.CONTENT_AUTOMATIC_STYLES, objectStyle);
          } else {
              return this.objectStylesContainer
                      .add(objectStyle.getKey(), Dest.STYLES_COMMON_STYLES, objectStyle);
          }
      }
docs: Add an object style (style:style) to content.xml/automatic-styles
  
  @param objectStyle the style
  @return true if the style was created or updated