Renard::Curie::ViewModel::ViewManager - Manages the currently open views
version 0.003
Glib::Object::Subclass
Moo::Object
Glib::Object
method open_pdf_document( (Path->coercibles) $pdf_filename )
Opens a PDF file stored on the disk.
method open_document_as_file_uri( (FileUri) $uri )
Takes a file in the form of a FileUri and opens the file.
FileUri
method set_view_to_continuous_page()
Sets the "current_view" to Renard::Curie::Model::View::Grid with rows GridOptions set to undef.
rows
GridOptions
undef
method set_view_to_single_page()
Sets the "current_view" to Renard::Curie::Model::View::Grid with rows GridOptions set to 1.
1
method set_zoom_level( (ZoomLevel) $zoom_level )
Sets the "current_view" to Renard::Curie::Model::View::Grid with zoom_level of Renard::Curie::Model::ViewOptions::Zoom::Percentage set to $zoom_level.
zoom_level
$zoom_level
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.