/usr/share/doc/libooolib-perl/examples/calc-example4 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 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #!/usr/bin/perl
# calc-example4 - This program creates a SXC Calc file by name
use ooolib;
# Set variables
$doc = new ooolib("sxc");
$doc->oooSet("builddir", ".");
$doc->oooSet("title", "Title - Example 3");
$doc->oooSet("subject", "Subject - Example 3");
$doc->oooSet("comments", "Who needs comments?");
$doc->oooSet("keyword", "keyword1");
$doc->oooSet("keyword", "keyword2");
$doc->oooSet("author", "ooolib examples");
$doc->oooSet("meta1-name", "Programmer");
$doc->oooSet("meta1-value", "Joseph Colton");
# Write the spreadsheet data
$doc->oooData("cell-float", 1);
$doc->oooSet("cell-down");
$doc->oooData("cell-float", 2);
$doc->oooSet("cell-down");
$doc->oooData("cell-float", 3);
$doc->oooSet("cell-right");
$doc->oooData("cell-float", 4);
$doc->oooSet("cell-right");
$doc->oooData("cell-float", 5);
$doc->oooSet("cell-up");
$doc->oooData("cell-float", 6);
$doc->oooSet("cell-up");
$doc->oooData("cell-float", 7);
$doc->oooSet("cell-left");
$doc->oooData("cell-float", 8);
$filename = $doc->oooGenerate("calc-example4.sxc");
exit;
|