File tree Expand file tree Collapse file tree
source/NVDAObjects/IAccessible Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -154,6 +154,22 @@ def _getNodeMathMl(self, node: IPDDomElement) -> str:
154154 answer += AcrobatNode .getMathMLAttributes (node , ["encoding" ])
155155 case "ms" :
156156 answer += AcrobatNode .getMathMLAttributes (node , ["open" , "close" ])
157+ case "mspace" :
158+ answer += AcrobatNode .getMathMLAttributes (node , ["width" ])
159+ case "msgroup" :
160+ answer += AcrobatNode .getMathMLAttributes (node , ["position" , "shift" ])
161+ case "msrow" :
162+ answer += AcrobatNode .getMathMLAttributes (node , ["position" ])
163+ case "msline" :
164+ answer += AcrobatNode .getMathMLAttributes (node , ["position" , "length" ])
165+ case "mscarries" :
166+ answer += AcrobatNode .getMathMLAttributes (node , ["position" , "crossout" ])
167+ case "mscarry" :
168+ answer += AcrobatNode .getMathMLAttributes (node , ["crossout" ])
169+ case "mstack" :
170+ answer += AcrobatNode .getMathMLAttributes (node , ["align" , "stackalign" ])
171+ case "mlongdiv" :
172+ answer += AcrobatNode .getMathMLAttributes (node , ["longdivstyle" ])
157173 case _:
158174 pass
159175 answer += ">"
Original file line number Diff line number Diff line change 1313
1414### Bug Fixes
1515
16+ * Fixed missing MathML attributes for `mspace` in PDF documents. Also passed along attributes for elementary math elements.
1617* Fixed support for paragraph mouse text unit in Java applications. (#18231, @hwf1324)
1718
1819### Changes for Developers
You can’t perform that action at this time.
0 commit comments