Return a reference to the main document part for this package. Examples include a document part for a WordprocessingML package, a presentation part for a PresentationML package, or a workbook part for a SpreadsheetML package.
(self)
| 98 | |
| 99 | @property |
| 100 | def main_document_part(self): |
| 101 | """Return a reference to the main document part for this package. |
| 102 | |
| 103 | Examples include a document part for a WordprocessingML package, a presentation |
| 104 | part for a PresentationML package, or a workbook part for a SpreadsheetML |
| 105 | package. |
| 106 | """ |
| 107 | return self.part_related_by(RT.OFFICE_DOCUMENT) |
| 108 | |
| 109 | def next_partname(self, template: str) -> PackURI: |
| 110 | """Return a |PackURI| instance representing partname matching `template`. |
nothing calls this directly
no test coverage detected