The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Renard::Curie::ViewModel::ViewManager - Manages the currently open views

VERSION

version 0.003

EXTENDS

METHODS

open_pdf_document

  method open_pdf_document( (Path->coercibles) $pdf_filename )

Opens a PDF file stored on the disk.

open_document_as_file_uri

  method open_document_as_file_uri( (FileUri) $uri )

Takes a file in the form of a FileUri and opens the file.

set_view_to_continuous_page

  method set_view_to_continuous_page()

Sets the "current_view" to Renard::Curie::Model::View::Grid with rows GridOptions set to undef.

set_view_to_single_page

  method set_view_to_single_page()

Sets the "current_view" to Renard::Curie::Model::View::Grid with rows GridOptions set to 1.

set_zoom_level

  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.

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.