Formula MathML 연관 파일

ISO 32000-2 14.8.4.8.3과 WTPDF 1.0 8.2.5.24는 MathML 3.0을 Formula 구조 요소의 Associated File로 붙입니다

THotPDF 쓰기 멤버

THotPDF.AttachMathMLToFormulaElement(FormulaElem, MathMLXML, FileName, Description, AFRelationship)은 MathML XML을 application/mathml+xml 스트림으로 끼워 넣고, catalog associated files와 embedded-files 이름 트리에 등록한 Filespec으로 감싸며, 기존 Formula 요소와 연관 짓습니다

THotPDF.AddFormulaWithMathML(Parent, PageIndex, MCID, AltText, MathMLXML, ...)는 alt 텍스트, PDF 2.0 MathML 네임스페이스의 math 구조 자식, 붙인 MathML 파일까지 한 호출로 완전한 tagged Formula 요소를 만듭니다

THotPDF 로드 문서 조회

문자열과 THPDFFormulaMathMLInfo 오버로드를 지닌 THotPDF.GetLoadedFormulaMathML(StructElemDict, ...)은 한 요소에서 연관 MathML을 뽑아내거나, 맞는 연관 파일이 없으면 MathML 네임스페이스 구조 자식들로 재구성합니다

THotPDF.CollectLoadedFormulaMathML(Formulas)는 role map 매핑, 순환 가드, 256단계 깊이 상한으로 구조 트리를 문서 순서로 순회하며, 모든 Formula 요소와 그 MathML·텍스트 대체물을 THPDFFormulaMathMLArray에 담아 반환합니다

THotPDF.AddAccessibleMathMLFormula는 같은 워크플로의 더 이전 바이트 기반 멤버입니다