Posted on 2008-12-16 06:10:19-08 by ryangies
Should getStyleElement look in 'style:list-style-name'?
I am expecting getStyleElement to return me a style element if it exists (in the current scope of course.) In my case I am looking for 'L1', and when I retrieve the list of styles using getStyleList, I see the one I want, but the att member which holds the 'L1' value is 'style:list-style-name'. The 'style:name' member is holding the value, 'P2'. What I see in Styles.pm v2.025 line 605 will match on "style:name". Should this code be updated to further check att member 'style:list-style-name' before punting to 'retrieve_by'?

In reality I am just trying to see if my list should be ordered or unordered, and this thread is moving me in the right direction:

http://www.cpanforum.com/posts/2408
Cheers, -Ryan
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.