Ich habe es endlich geschafft:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$styles->createStyle
(
"Colour",
family => 'paragraph',
parent => 'Standard',
properties =>
{
-area => 'paragraph',
'fo:text-align' => 'justify'
}
);
if ($doc->isOpenDocument)
{
$styles->styleProperties
("Colour", -area => 'text');
}
my $pg = $doc->appendParagraph(text => "@line[14]", style => "Colour" );
$doc -> setPageBreak($pg , position => "after",style=>"Colour");
tut es! Endlich!
Vielen Dank für den Link zur Doku!
gma