MCPcopy Create free account
hub / github.com/PDFMathTranslate/PDFMathTranslate / end_figure

Method end_figure

pdf2zh/converter.py:72–78  ·  view source on GitHub ↗
(self, _: str)

Source from the content-addressed store, hash-verified

70 self.cur_item.pageid = self._stack[-1].pageid
71
72 def end_figure(self, _: str) -> None:
73 # 重载返回指令流
74 fig = self.cur_item
75 assert isinstance(self.cur_item, LTFigure), str(type(self.cur_item))
76 self.cur_item = self._stack.pop()
77 self.cur_item.add(fig)
78 return self.receive_layout(fig)
79
80 def render_char(
81 self,

Callers 1

do_DoMethod · 0.80

Calls 1

receive_layoutMethod · 0.80

Tested by

no test coverage detected