EBook::...avPoint(3)
β¨ NAME β¨
EBook::EPUB::NCX::NavPoint β bestie, this is the manual page for it, sitting in the User Contributed Perl Documentation section, third section, so like... NavPoint(3) iykyk π
πΈ SYNOPSIS πΈ
It's an entry in the Navigation Center that points at a part of a document (a chapter, for example). Literally its whole job. Iconic of it. π
π SUBROUTINES/METHODS π
new(%opts)
Okay so %opts is an anonymous hash, and it might contain the following keys, no cap:
classcontentidplay_orderlabel
add_navpoint(%opts)
This one adds a reference to an OPS Content Document that's part of the publication β specifically a subsection of the part that the current object references. So it's giving "nested chapter energy" πͺ
%opts is an anonymous hash, and for the possible key values you wanna go peek at the new() method description above. This method returns the freshly created EBook::EPUB::NCX::NavPoint object, which you can totally hold onto and use later for adding even more subsections. Recursion? Slay. π
all_navpoints()
Returns an array of EBook::EPUB::NCX::NavPoint objects β all the subsections of the current one. Your little navpoint children π₯Ή
encode($xmlwriter)
Encodes the object into XML form, using an XML::Writer instance. That's the whole vibe.
class([$class])
Get or set the class of the navigation point. π·οΈ
content([$content])
Get or set the URI to the part that this navPoint references. π
id([$id])
Get or set the ID of the navigation point. Every queen needs an identifier fr fr.
label([$label])
Get or set the human-readable description of the part that this navPoint references. This is the part humans actually read, so, highkey important. π
play_order([$play_order])
Get or set the play order (a number) of the text part. Number go in, number come out, order established. π’
π AUTHOR π
Oleksandr Tymoshenko, <gonzo@bluezbox.com> β the author, the moment, the main character of this module.
π BUGS π
Please report any bugs or feature requests to <gonzo@bluezbox.com>. Spotted something cursed? Tell them, don't suffer in silence bestie π
π LICENSE AND COPYRIGHT π
Copyright 2009, 2010 Oleksandr Tymoshenko.
This module is free software; you can redistribute it and/or modify it under the terms of the BSD license. See the LICENSE file included with this distribution.
π and that's the whole page, we ate and left no crumbs π
This was written for perl v5.42.0, and the page itself is dated 2025-07-25 β mwah, bye bestie πβ¨
π¦ where this page comes from
- fedora 43: perl-EBook-EPUB 0.6-39.fc43 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms