Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Can OpenOffice::OODoc create tab stops?

by brap (Pilgrim)
on Jun 08, 2010 at 12:34 UTC ( #843651=note: print w/ replies, xml ) Need Help??


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

The documentation for updateDefaultStyle mentions adjusting the tab stop distance. Maybe that's what you're looking for, or at least hopefully points you in the right direction?


Comment on Re: Can OpenOffice::OODoc create tab stops?
Re^2: Can OpenOffice::OODoc create tab stops?
by Anonymous Monk on Oct 12, 2012 at 15:10 UTC
    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
Node Status?
node history
Node Type: note [id://843651]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (14)
As of 2014-07-24 20:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls