docs: protected Format getMainFormat(CmsObject cms, I_CmsXmlContentLocation location, CmsResource functionRes) {
  
          I_CmsXmlContentValueLocation jspLoc = location.getSubValue("FunctionProvider");
          CmsUUID structureId = jspLoc.asId(cms);
          I_CmsXmlContentValueLocation containerSettings = location.getSubValue("ContainerSettings");
          Map<String, String> parameters = parseParameters(cms, location, "Parameter");
          if (containerSettings != null) {
              String type = getStringValue(cms, containerSettings.getSubValue("Type"), "");
              String minWidth = getStringValue(cms, containerSettings.getSubValue("MinWidth"), "");
              String maxWidth = getStringValue(cms, containerSettings.getSubValue("MaxWidth"), "");
              Format result = new Format(structureId, type, minWidth, maxWidth, parameters);
              return result;
          } else {
              Format result = new Format(structureId, "", "", "", parameters);
              result.setNoContainerSettings(true);
              return result;
          }
      }