Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Can OpenOffice::OODoc create tab stops?

by Anonymous Monk
on Oct 12, 2012 at 15:10 UTC ( [id://998719]=note: print w/replies, xml ) Need Help??


in reply to Re: Can OpenOffice::OODoc create tab stops?
in thread Can OpenOffice::OODoc create tab stops?

Though propably too late for the original requester, here is how I do this:
my $tab_stops = self->getStylesRef()->createElement('<style:tab-stops> +'. '<style:tab-stop style:position="0.9839in"/>'. '<style:tab-stop style:position="1.102in"/>'. '</style:tab-stops>'); $styleStore{$styleName} = $self->getStylesRef()->createStyle($styleNam +e, #category => 'named', #namespace => ..., #type => ..., family => "paragraph", #class => ..., check => 'true', parent => $self->getStyleElement('Dashitem1'), #next => ..., properties => { 'fo:margin-left' => "0.3154in", 'fo:margin-right' => "0in", 'fo:margin-top' => "0.0201in", 'fo:margin-bottom' => "0.0193in", 'fo:text-indent' => "0in", 'style:auto-text-indent' => "false", }); my $props = $styleStore{$styleName}->selectChildElement('style:paragra +ph-properties'); $props->appendChild($tab_stops);
Thought it might be of interest to all googlers dealing with a similar issue.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://998719]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-20 01:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found