You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/document.rst
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1307,27 +1307,27 @@ For details on **embedded files** refer to Appendix 3.
1307
1307
1308
1308
*(New in version 1.16.8)*
1309
1309
1310
-
PDF only: Return the definition of a PDF object. For details please refer to :meth:`Document.xrefObject`.
1310
+
PDF only: Return the definition of a PDF object.
1311
1311
1312
1312
.. method:: PDFCatalog()
1313
1313
1314
1314
*(New in version 1.16.8)*
1315
1315
1316
-
PDF only: Return the :data:`xref` of the PDF catalog (or root) object. For details please refer to :meth:`Document._getPDFroot`.
1316
+
PDF only: Return the :data:`xref` of the PDF catalog (or root) object.
1317
1317
1318
1318
1319
1319
.. method:: PDFTrailer(compressed=False)
1320
1320
1321
1321
*(New in version 1.16.8)*
1322
1322
1323
-
PDF only: Return the trailer of the PDF (UTF-8), which is usually located at the PDF file's end. For details please refer to :meth:`Document._getTrailerString`.
1323
+
PDF only: Return the trailer of the PDF (UTF-8), which is usually located at the PDF file's end.
1324
1324
1325
1325
1326
1326
.. method:: metadataXML()
1327
1327
1328
1328
*(New in version 1.16.8)*
1329
1329
1330
-
PDF only: Return the :data:`xref` of the document's XML metadata. For details please refer to :meth:`Document._getXmlMetadataXref`.
1330
+
PDF only: Return the :data:`xref` of the document's XML metadata.
1331
1331
1332
1332
.. method:: xrefStream(xref)
1333
1333
@@ -1517,7 +1517,7 @@ Clear metadata information. If you do this out of privacy / data protection conc
Copy file name to clipboardExpand all lines: docs/functions.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -410,7 +410,7 @@ Yet others are handy, general-purpose utilities.
410
410
411
411
.. method:: Document.xml_metadata_xref()
412
412
413
-
Return the XML-based metadata :data:`xref` of the PDF if present -- also refer to :meth:`Document._delXmlMetadata`. You can use it to retrieve the content via :meth:`Document.xrefStream` and then work with it using some XML software.
413
+
Return the XML-based metadata :data:`xref` of the PDF if present -- also refer to :meth:`Document.del_xml_metadata`. You can use it to retrieve the content via :meth:`Document.xrefStream` and then work with it using some XML software.
414
414
415
415
:rtype: int
416
416
:returns::data:`xref` of PDF file level XML metadata -- or 0 if none exists.
0 commit comments