1EBook::EPUB::NCX::NavPoUisnetr(3C)ontributed Perl DocumeEnBtoaotki:o:nEPUB::NCX::NavPoint(3)
2
3
4
6 EBook::EPUB::NCX::NavPoint
7
9 Entry in Navigation Center that refers to part of a document (e.g.
10 chapter)
11
13 new(%opts)
14 %opts is an anonymous hash that might containe followig keys:
15
16 class
17 content
18 id
19 play_order
20 label
21
22 add_navpoint(%opts)
23 Add refrence to an OPS Content Document that is a part of
24 publication, subsection of the part current object references to.
25 %opts is an anonymous hash, for possible key values see new()
26 method description. Method returns created
27 EBook::EPUB::NCX::NavPoint object that could be used later for
28 adding subsections.
29
30 all_navpoints()
31 Returns array of EBook::EPUB::NCX::NavPoint objects, subsections of
32 current one
33
34 encode($xmlwriter)
35 Encode object to XML form using XML::Writer instance
36
37 class([$class])
38 Get/set class of navigation point
39
40 content([$content])
41 Get/set URI to the part navPoint references to
42
43 id([$id])
44 Get/set ID of navigation point
45
46 label([$label])
47 Get/set human readable description of part navPoint references to
48
49 play_order([$play_order])
50 Get/set play order (number) of text part.
51
53 Oleksandr Tymoshenko, <gonzo@bluezbox.com>
54
56 Please report any bugs or feature requests to <gonzo@bluezbox.com>
57
59 Copyright 2009, 2010 Oleksandr Tymoshenko.
60
61 <http://bluezbox.com>
62
63 This module is free software; you can redistribute it and/or modify it
64 under the terms of the BSD license. See the LICENSE file included with
65 this distribution.
66
67
68
69perl v5.28.0 2010-10-06 EBook::EPUB::NCX::NavPoint(3)