To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=56808 Issue #:|56808 Summary:|Under certain condition automatic styles are |overwhelmed by their template style Component:|Spreadsheet Version:|OOo 2.0 Platform:|All URL:| OS/Version:|All Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|open-import Assigned to:|dr Reported by:|sus
------- Additional comments from [EMAIL PROTECTED] Thu Oct 27 10:15:43 -0700 2005 ------- Scenario: Created a document via XSLT filter, where border attribute does not remain during the import into Calc. Therefore created a simple test document, where two different cells using the same style properties, but one using a template, the other an automatic style, inherit from the same parent style. Theoretially both cells should look the same, as they use the same properties and inherit from the same parent. But they don't. Only the cell using the template style inherits correctly from the parent, the styles from the automatic style cell are overwritten from it's parent. (Happens here for Border style attributes). The reason is the use of the attribute style:text-align-source with the value "fix" in the automatic style. <define name="style-table-cell-properties-attlist" combine="interleave"> <optional> <attribute name="style:text-align-source"> <choice> <value>fix</value> <value>value-type</value> </choice> </attribute> </optional> </define> 'fix' means that the horizontal align is not dependent on the cell content type but of the 'fo:text-align' value. <define name="style-paragraph-properties-attlist" combine="interleave"> <ref name="common-text-align"/> </define> <define name="common-text-align"> <optional> <attribute name="fo:text-align"> <choice> <value>start</value> <value>end</value> <value>left</value> <value>right</value> <value>center</value> <value>justify</value> </choice> </attribute> </optional> </define> The problem appears, when style:text-align-source is being used, without providing a value for fo:text-align="center". --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]