code: private CmsDynamicFunctionBean.Format getFunctionFormat() {
  
          CmsDynamicFunctionBean functionBean = null;
          try {
              CmsXmlContent content = CmsXmlContentFactory.unmarshal(m_cms, m_cms.readFile(m_element.getResource()));
              CmsDynamicFunctionParser parser = new CmsDynamicFunctionParser();
              functionBean = parser.parseFunctionBean(m_cms, content);
          } catch (CmsException e) {
              LOG.debug(e.getLocalizedMessage(), e);
              return null;
          }
          CmsJspStandardContextBean contextBean = CmsJspStandardContextBean.getInstance(m_request);
          String type = contextBean.getContainer().getType();
          String width = contextBean.getContainer().getWidth();
          int widthNum = -1;
          try {
              widthNum = Integer.parseInt(width);
          } catch (NumberFormatException e) {
              LOG.debug(e.getLocalizedMessage(), e);
          }
          return functionBean.getFormatForContainer(m_cms, type, widthNum);
      }
docs: Returns the function format for the current element.<p>
  
  @return the function format