NAME

EBook::EPUB::Spine::Itemref

SYNOPSIS

Itemref for <spine> element of OPF file.

SUBROUTINES/METHODS

new(%opts)

%opts is an anonymous hash that might containe followig keys:

linear (0 or 1)
idhref (string)
encode($xmlwriter)

Encode object to XML form using XML::Writer instance

idref([$href])

Get/set reference to an OPS Content Document included in the manifest.

linear([$linear])

Get/set linear property. If $linear is true - document is primary, otherwise - auxiliary (like appendix, notes, etc..)

AUTHOR

Oleksandr Tymoshenko, <gonzo@bluezbox.com>

BUGS

Please report any bugs or feature requests to <gonzo@bluezbox.com>

LICENSE AND COPYRIGHT

Copyright 2009, 2010 Oleksandr Tymoshenko.

http://bluezbox.com

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.