Renard::Curie::ViewModel::ViewManager::Role::TTS
version 0.005
A Bool that indicates if the TTS is playing or not.
Bool
Stores the current sentence number index (0-based): PositiveOrZeroInt.
PositiveOrZeroInt
method current_text_page()
Returns a HashRef of sentences on the page.
HashRef
Keys:
sentence: String::Tagged of the sentence substring
sentence
String::Tagged
bbox: ArrayRef of bounding boxes
bbox
ArrayRef
extent: extent
extent
spans: ArrayRef of font spans
spans
first_char: first character information
first_char
last_char: last character information
last_char
method num_of_sentences_on_page()
Retrieves the number of sentences on the page.
method choose_previous_sentence()
Move to the previous sentence or the last sentence on the previous page.
method choose_next_sentence()
Move to the next sentence on this page or to the first sentence on the next page.
Project Renard
This software is copyright (c) 2016 by Project Renard.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Renard::Curie, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Renard::Curie
CPAN shell
perl -MCPAN -e shell install Renard::Curie
For more information on module installation, please visit the detailed CPAN module installation guide.