code: @Override
      public void startElementContents(ElementBox elem)
      {
          if (!elem.isReplaced())
          {
              SimpleAttributeSet attr = buildElement(elem);
              attr.addAttribute(Constants.ATTRIBUTE_DRAWING_ORDER, order++);
              elements.add(new ElementSpec(attr, ElementSpec.StartTagType, "{".toCharArray(), 1, 0));
          }
      }
docs: BoxRenderer implementation