OpenOffice-OODoc - Re: change indentation of a paragraph style

Posted on Fri May 16 13:43:37 2008 by jmgdoc in response to 7884 (See the whole thread of 2)
Re: change indentation of a paragraph style

The issue could have a lot of possible reasons, partly depending on the source style.
You should put intermediate trace messages in order to get the name and the properties of the selected source style ($new_style), and not only the final result.

#lib_doc and doc_styles are existing here my $new_style = $lib_doc->textStyle($hga); my $rc = $doc_styles->createStyle($new_style, source=> $lib_style); if(!$rc){ print "style could not be created\n"; }else{ print "style created $new_style \n"; my $prop = $doc_styles->styleProperties($rc); print "Style properties -> " . Dumper($prop); }
Write a response