Ejemplo n.º 1
0
 def apply(self, **kwargs):
     # type: (Any) -> None
     for node in self.document.traverse():  # type: nodes.Node
         if isinstance(node, (nodes.TextElement, nodes.image)):
             apply_source_workaround(node)
Ejemplo n.º 2
0
 def apply(self, **kwargs):
     # type: (Any) -> None
     for node in self.document.traverse():  # type: nodes.Node
         if isinstance(node, (nodes.TextElement, nodes.image)):
             apply_source_workaround(node)
Ejemplo n.º 3
0
 def apply(self):
     # type: () -> None
     for n in self.document.traverse():
         if isinstance(n, (nodes.TextElement, nodes.image)):
             apply_source_workaround(n)
Ejemplo n.º 4
0
 def apply(self):
     # type: () -> None
     for n in self.document.traverse():
         if isinstance(n, (nodes.TextElement, nodes.image)):
             apply_source_workaround(n)
Ejemplo n.º 5
0
 def apply(self):
     for n in self.document.traverse():
         if isinstance(n, nodes.TextElement):
             apply_source_workaround(n)
Ejemplo n.º 6
0
 def apply(self):
     for n in self.document.traverse():
         if isinstance(n, nodes.TextElement):
             apply_source_workaround(n)
Ejemplo n.º 7
0
 def apply(self, **kwargs: Any) -> None:
     for node in self.document.findall():  # type: Node
         if isinstance(node, (nodes.TextElement, nodes.image, nodes.topic)):
             apply_source_workaround(node)