/usr/share/doc/libooolib-perl/examples/writer-example5 is in libooolib-perl 0.1.9-1.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 | #!/usr/bin/perl -I.
# writer-example5 - Creates a sxw Writer document with sizes colors
use ooolib;
# Set variables
$doc = new ooolib("sxw");
$doc->oooSet("builddir", ".");
$doc->oooSet("title", "Colored Sizes");
$doc->oooSet("subject", "Writer Examples");
$doc->oooSet("comments", "Some fonts cannot be used with some sizes");
$doc->oooSet("author", "ooolib examples");
for($size = 6; $size <= 96; $size+=2) {
$red = $size * 2;
$blue = 256 - $red;
$color = sprintf("%02X99%02X", $red, $blue);
$doc->oooSet("text-color", $color);
$doc->oooSet("text-size", $size);
$doc->oooData("default", "ABC");
}
my($filename) = $doc->oooGenerate("writer-example5.sxw");
exit;
|