Thread OpenOffice::OODoc "Page Break" einfügen? (3 answers)
Opened by gmafx at 2011-03-25 23:31

gmafx
 2011-03-29 20:41
#147104 #147104
User since
2009-11-19
47 Artikel
BenutzerIn
[default_avatar]
Ich habe es endlich geschafft:

Code: (dl )
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

View full thread OpenOffice::OODoc "Page Break" einfügen?