程序包 org.ddr.poi.math

类 MathMLUtils

java.lang.Object
org.ddr.poi.math.MathMLUtils

public class MathMLUtils extends Object
MathML工具类
从以下版本开始:
2021-04-10 22:56
  • 字段详细资料

    • MATH_NS

      public static final String MATH_NS
      另请参阅:
    • OMATH_QNAME

      public static final QName OMATH_QNAME
    • NARY_QNAME

      public static final QName NARY_QNAME
    • E_QNAME

      public static final QName E_QNAME
    • PHANT_QNAME

      public static final QName PHANT_QNAME
    • PHANT_PR_QNAME

      public static final QName PHANT_PR_QNAME
    • ZERO_WIDTH_QNAME

      public static final QName ZERO_WIDTH_QNAME
    • SHOW_QNAME

      public static final QName SHOW_QNAME
    • VALUE_QNAME

      public static final QName VALUE_QNAME
  • 构造器详细资料

    • MathMLUtils

      public MathMLUtils()
  • 方法详细资料

    • renderTo

      public static void renderTo(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph, org.openxmlformats.schemas.wordprocessingml.x2006.main.CTR ctr, String math, MathRenderConfig config)
      将MathML渲染到段落中
      参数:
      paragraph - 段落
      ctr - 占位符所属run,如果总是在末尾渲染可传null
      math - MathML字符串
    • normalize

      public static String normalize(String math)
      将html实体符号转换为xml形式