PyMuPDF 1.12.2 documentation
accessed. Attribute Short Description Link.rect clickable area in untransformed coordinates. Link.uri link destination Link.isExternal external link destination? Link.next points to next link Link.dest current document. index next | previous | PyMuPDF 1.12.2 documentation » Classes » Type: bool uri A string specifying the link target. The meaning of this property should be evaluated in conjunction which case isExternal == False. If uri starts with file://, mailto:, or an internet resource name, isExternal is True. In all other cases isExternal == False and uri points to an internal location. In0 码力 | 387 页 | 2.70 MB | 1 年前3MuPDF 1.25.0 Documentation
7.4.7 Outline Iterator Object This Object has properties for: title The title of the item. uri A URI pointing to the destination. Likely to be a document internal link that can be resolved by Docu- resolveLink(uri) Resolve a document internal link URI to a page index. Arguments • uri – String. Returns Integer. var pageNumber = document.resolveLink(my_link); resolveLinkDestination(uri) Resolve Resolve a document internal link URI to a link destination. Arguments • uri – String. Returns Link destination. var linkDestination = document.resolveLinkDestination(uri); isPDF() Returns true if the0 码力 | 259 页 | 1.11 MB | 7 月前3MuPDF 1.23.0 Documentation
6.4.6 Outline Iterator Object This Object has properties for: title The title of the item. uri A URI pointing to the destination. Likely to be a document internal link that can be resolved by Docu- OutlineIterator. var obj = document.outlineIterator(); resolveLink(uri) Resolve a document internal link URI to a link destination. Arguments • uri – String. Returns Link destination. var linkDestination document internal link destination object to a URI string suitable for createLink(). Arguments • linkDestination – Link destination. Returns String. var uri = document.formatLinkURI({chapter:0, page:420 码力 | 245 页 | 817.74 KB | 7 月前3MuPDF 1.24.0 Documentation
6.4.6 Outline Iterator Object This Object has properties for: title The title of the item. uri A URI pointing to the destination. Likely to be a document internal link that can be resolved by Docu- 1.24.0 var obj = document.outlineIterator(); resolveLink(uri) Resolve a document internal link URI to a link destination. Arguments • uri – String. Returns Link destination. var linkDestination document internal link destination object to a URI string suitable for createLink(). Arguments • linkDestination – Link destination. Returns String. var uri = document.formatLinkURI({chapter:0, page:420 码力 | 249 页 | 830.15 KB | 7 月前3PyMuPDF 1.24.2 Documentation
also possible to mix multiple fonts and languages, to output HTML tables and to insert images and URI links. For even more styling flexibility, an additional CSS source may also be given. The method index of the item in list Document.get_toc(). set_toc_item(idx, dest_dict=None, kind=None, pno=None, uri=None, title=None, to=None, filename=None, zoom=0) • New in v1.17.7 • Changed in v1.18.6 PDF only: number, i.e. a value 1 <= pno <= doc.page_count. Required for LINK_GOTO. • uri (str) – the URL text. Required for LINK_URI. • title (str) – the desired new title. None if no change. • to (point_like)0 码力 | 565 页 | 6.84 MB | 1 年前3MuPDF 1.22.0 Documentation
is a dictionary with keys for: bounds A rectangle describing the link’s location on the page. uri A uri describing either a document internal destination or a URL for a web page. 54 Chapter 3. MuPDF lineCap:'Round'} Outline Iterator Object This Object has properties for: title The title of the item. uri A URI pointing to the destination. Likely to be a document internal link that can be resolved by Docu- document outline. Returns OutlineIterator. resolveLink(uri) Resolve a document internal link URI to a link destination. Arguments • uri – String. Returns Link destination. formatLinkURI(linkDestination)0 码力 | 175 页 | 698.87 KB | 7 月前3
共 6 条
- 1