Palm::ZtxtPerl extension for creating and manipulating zTXTs using libztxt | |
Download |
Palm::Ztxt Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Rudy Lippan
- Publisher web site:
- http://search.cpan.org/~rudy/
Palm::Ztxt Tags
Palm::Ztxt Description
Perl extension for creating and manipulating zTXTs using libztxt The Palm::Ztxt module is NOT related to Palm::ZTxt module found on the weasel reader website (). The module, Palm-ZText-0.1, is a pure perl module that allows for the manipulation of zTXTs; this module however, is an XS interface to the ztxt library used by the Weasel Reader (), with the addition that This module extends on libztext somewhat to give access to some fields that libztxt does not provide api functions for.SYNOPSIS use Palm::Ztxt; my $ztxt = new Palm::Ztxt; $ztxt->set_title($title); $ztxt->set_data($data); $ztxt->add_bookmark($bkmark_title, $offset); $ztxt->add_annotation($anno_title, $offset); my $zbook = $ztxt->get_output(); my $ztxt = new Palm::Ztxt; $ztxt->disect($zbook); my $title = $ztxt->get_title(); my $book = $ztxt->get_data(); my $bookmarks = $ztxt->get_bookmarks(); my $get_annotations = $ztxt->get_annotations(); $ztxt->delete_bookmark($title, $offset); $ztxt->delete_annotation($title, $offset, $annotation); # Stuff that will probably never need to be changed $ztxt->set_type($type); $type = $ztxt->get_type(); $ztxt->attribs($attribs); $attribs = $ztxt->attribs(); $ztxt->creator($creator); $creator = $ztxt->creator(); # Attributes that affect the way ztext processes()/generates() the ztext # These can be set at any time before $ztxt->get_output() is called. $ztxt->{process_length}; $ztxt->{Wbits}; $ztxt->{CompressType}; $ztxt->{ProcessMethod}; $ztxt->{attribs}; Requirements: · Perl
Palm::Ztxt Related Software