I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2010-11-03 17:28:17.79284-07 by noordung
style:text-properties not supported?
I'am trying to get the "style:text-properties" properties from an *.odt file.
How can I do it? The methods getStyleAttributes and styleProperties can't do it...

Considering the following:

<style:style style:name="P3" style:family="paragraph" style:parent-style-name="Standard"> <style:paragraph-properties fo:text-align="center" style:justify-single-word="false"/> <style:text-properties fo:color="#000000" style:font-name="Palatino Linotype" fo:font-size="18pt" f +o:font-weight="bold" style:font-size-asian="18pt" style:font-weight-asian="bold" style:font-size-c +omplex="18pt"/> </style:style>

both method returns only the "style:paragraph-properties" informations:
style:justify-single-word="false" fo:text-align="center"
Direct Responses: 13047 | Write a response
Posted on 2010-11-07 07:38:39.826234-08 by jmgdoc in response to 13041
Re: style:text-properties not supported?

The properties of a paragraph style are distributed among so-called "paragraph" and "style" areas. The styleProperties() method selects one property set at a time, according to the "area" optional parameter, whose value is either "paragraph" or "text". The default value of this parameter depends on the style family; with a paragraph style, the default area is "paragraph", so as long as styleProperties() is used without the "area" option it returns the paragraph property set.

Of course, styleProperties() must be called twice in the user needs to extract the two property sets.

See styleProperties()
Direct Responses: 13048 | Write a response
Posted on 2010-11-07 07:51:23.476243-08 by jmgdoc in response to 13047
Re: style:text-properties not supported (correction)

Sorry, there is a typo in the 1st sentence of my previous post: the right sentence is:
"The properties of a paragraph style are distributed among so-called *paragraph* and *text* areas"
(I wrongly wrote "style" instead of "text")
Direct Responses: Write a response