http_throw('no such spreadsheet exists') unless$file->exists;
$file->fetch_formatted($ctx);
}
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
Yukki::Web::Plugin::Spreadsheet - add spreadsheet functionality to wiki pages
=head1 VERSION
version 0.991_003
=head1 SYNOPSIS
{{=:a:5}
{{=:b:4}}
{{=:SUM([a],[b],[main:Other Page!c])}}
=head1 DESCRIPTION
Provides a quick format helper to give you spreadsheet variables in your page. This is based upon L<Spreadsheet::Engine>, so all the features and functions there are available here.
In addition, this provides a variable mapping. The variables are mapped using square brackets. You can link between variables on different pages using an exclamation mark ("!") as a separated between page name and variable name.
=head1 ATTRIBUTES
=head2 format_helpers
This sets up the "=" format helper mapped to the L</spreadsheet_eval> method.
=head1 METHODS
=head2 initialize_context
Used to setup the spreadsheet information for the current context. Do not use.
=head2 setup_spreadsheet
Sets up spreadsheet for the current request context. Do not use.
=head2 row
Used to lookup the current row letter for a file. Do not use.
=head2 cell
Used to lookup the cell for a variable. Do not use.
=head2 lookup_name
Used to convert the square bracket names to cell names. Do not use.
=head2 spreadsheet_eval
This is used to format the double-curly brace C< {{=:...}} >. Do not use.
=head2 load_spreadsheet
Used to load spreadsheet variables from an externally referenced wiki page. Do not use.
=head1 AUTHOR
Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by Qubling Software LLC.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
Keyboard Shortcuts
Global
s
Focus search bar
?
Bring up this help dialog
GitHub
gp
Go to pull requests
gi
go to github issues (only if github is preferred repository)