CPAN::Forum
OpenOffice-OODoc - Nasted text paragraph question
| Posted on Thu Sep 15 16:59:21 2005 by dan |
| Nasted text paragraph question |
|
hi
till now i was writing odt's with pure xml. today i found this nice module :-)
maybe somone is willing to help me?
i would like to produce the following code:
<style:style style:auto-update="true" style:class="text" style:family="paragraph"
style:name="Code" style:parent-style-name="Standard">
<style:paragraph-properties fo:background-color="#e6e6ff" fo:border-bottom="0.002cm solid #000000
+"
fo:border-left="0.002cm solid #000000" fo:border-right="none"
fo:border-top="0.002cm solid #000000" fo:padding="0.25cm"
style:shadow="none">
</style:paragraph-properties>
<style:text-properties fo:font-size="8pt" style:font-name="Bitstream Vera Sans Mono"/>
</style:style>
Any ideas? The following didn't worked:
$content->createStyle('Code', family=>'paragraph', properties =>; {
'fo:background-color' => "#e6e6ff",
'fo:border-bottom' => "0.002cm solid #000000",
'fo:border-left' => "0.002cm solid #000000",
'fo:border-right' => "none",
'fo:border-top' => "0.002cm solid #000000",
'fo:padding' => "0.25cm",
'style:shadow' => "none",
'fo:font-size' => "8pt",
'style:font-name' => "Bitstream Vera Sans Mono",
}
);
any idea?
thanks dan
|
| Direct Responses: 993 | Write a response |
(4)
]