MCPcopy Index your code
hub / github.com/python-openxml/python-docx / document

Method document

src/docx/parts/document.py:59–61  ·  view source on GitHub ↗

A |Document| object providing access to the content of this document.

(self)

Source from the content-addressed store, hash-verified

57
58 @property
59 def document(self):
60 """A |Document| object providing access to the content of this document."""
61 return Document(self._element, self)
62
63 def drop_header_part(self, rId: str) -> None:
64 """Remove related header part identified by `rId`."""

Callers

nothing calls this directly

Calls 1

DocumentClass · 0.90

Tested by

no test coverage detected