Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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?

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://843651]
[mz2255]: I'm trying to post a question to "seekers of perl wisdom" but always getting a permission denied when I want to submit. There are no links in my post...
[ambrus]: again? someone complained about this just a few days ago (although eventually they could post)
[choroba]: Can you post the question in mz2255's scratchpad?
[ambrus]: Corion, if you're here, can you check the spam filter logs to see what's triggering this time?
[ambrus]: Petroza had trouble posting yesterday, but has posted Issues Fetching URL with a variable token since.
[mz2255]: Yes, just edited the scratchpad. Not sure if I'm doing something wrong, it's my first time.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2017-10-19 15:23 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (255 votes). Check out past polls.