#!/usr/bin/perl
# writer-example2 - Creates a sxw Writer document

use ooolib;

# Set variables
$doc = new ooolib("sxw");
$doc->oooSet("builddir", ".");
$doc->oooSet("title", "Another Simple Writer Document");
$doc->oooSet("subject", "Writer Examples");
$doc->oooSet("comments", "Special characters are handled differently");
$doc->oooSet("author", "ooolib example");

$doc->oooData("default", "This is some simple text");
$doc->oooData("default"); # A blank line
$doc->oooData("default", "Special Characters: ");
$doc->oooData("default", "\t!\"#\$%\&'()`{}[];:+*\\_,.<>?|");

my($filename) = $doc->oooGenerate("writer-example2.sxw");

exit;
