/usr/share/doc/libooolib-perl/examples/zip-example1 is in libooolib-perl 0.1.9-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #!/usr/bin/perl
# zip-example1 - This program creates a SXC Calc file using the zip command.
use ooolib;
# Set variables
$doc = new ooolib("sxc", "zip");
$doc->oooSet("builddir", "."); # Directory to create document in
$doc->oooSet("title", "Zip Command Calc"); # Title of document
$doc->oooSet("subject", "Zip Example"); # Subject of document
$doc->oooSet("author", "ooolib example"); # Set the author of the document
# User defined variables
$doc->oooSet("meta1-name", "Programmer"); # 1-4 user defined variables
$doc->oooSet("meta1-value", "Joseph Colton"); # 1-4 user defined variables
# Document
$doc->oooSet("cell-loc", 1, 1);
$doc->oooData("cell-text", "zip");
$filename = $doc->oooGenerate("zip-example1.sxc");
exit;
|