(self, text)
| 2417 | mupdf.fz_dom_insert_before( self.this, node.this) |
| 2418 | |
| 2419 | def insert_text(self, text): |
| 2420 | lines = text.splitlines() |
| 2421 | line_count = len(lines) |
| 2422 | for i, line in enumerate(lines): |
| 2423 | self.append_child(self.create_text_node(line)) |
| 2424 | if i < line_count - 1: |
| 2425 | self.append_child(self.create_element("br")) |
| 2426 | return self |
| 2427 | |
| 2428 | @property |
| 2429 | def is_text(self): |