Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.2.1

Bug #13013 incorrect xml element is rendered in style:style elements for paragraphs
Submitted: 2008-01-31 08:25 UTC
From: charonme Assigned:
Status: Verified Package: OpenDocument (version 0.1.2)
PHP Version: 5.2.1 OS: linux 2.6.20
Roadmaps: (Not assigned)    
Subscription  


 [2008-01-31 08:25 UTC] charonme (Charon Me)
Description: ------------ style:text-properties is rendered in style:style elements for paragraphs instead of style:paragraph-properties. paragraph-properties are needed for applying such attributes as fo:text-align to paragraphs, but text-properties are needed for applying other attributes, for example fo:color (even to paragraphs) Test script: --------------- for example $text_properties = $this->contentDOM->createElementNS(self::NS_STYLE, 'text-properties'); in applyStyle() in OpenDocument.php Actual result: -------------- Paragraph-related styles (for example text-align) are not visible when viewing the odt document

Comments

 [2009-06-22 00:10 UTC] cweiske (Christian Weiske)
-Status: Open +Status: Verified
While this is true, this is not a bug per se - it's a missing feature. Currently, ElementStyle does not have any paragraph styles. But once it supports them, we need a way to differentiate between text and paragraph properties, that's correct.