NAME
Renard::Curie::ViewModel::ViewManager::Role::TTS
VERSION
version 0.005
ATTRIBUTES
tts_playing
A Bool
that indicates if the TTS is playing or not.
current_sentence_number
Stores the current sentence number index (0-based): PositiveOrZeroInt
.
METHODS
current_text_page
method current_text_page()
Returns a HashRef
of sentences on the page.
Keys:
sentence
:String::Tagged
of the sentence substringbbox
:ArrayRef
of bounding boxesextent
: extentspans
:ArrayRef
of font spansfirst_char
: first character informationlast_char
: last character information
num_of_sentences_on_page
method num_of_sentences_on_page()
Retrieves the number of sentences on the page.
choose_previous_sentence
method choose_previous_sentence()
Move to the previous sentence or the last sentence on the previous page.
choose_next_sentence
method choose_next_sentence()
Move to the next sentence on this page or to the first sentence on the next page.
AUTHOR
Project Renard
COPYRIGHT AND LICENSE
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.