To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=105806





------- Additional comments from atjen...@openoffice.org Mon Oct 12 02:40:13 
+0000 2009 -------
OK - looks like it is the save to container step.

Looked at an the content.xml for an embedded form and compared it that of a
saved Writer file's content.xml with nothing but a table control. Both created
w/OOO320m_1, in both cases I had one tabe control and changed the column
"Description" to alignment 'center', saved and closed the files. 

In the writer file there is the an element "form:text-style-name=" added to the
grid column entry for a column with the custom alignment setting.

i.e. <form:column form:name="TextField1"
form:control-implementation="ooo:TextField" form:label="Description"
form:text-style-name="ctrl2"><form:text form:id="control5"
form:data-field="Description"
form:convert-empty-to-null="true"><form:properties><form:property
form:property-name="DefaultControl" office:value-type="string"
office:string-value="com.sun.star.form.control.TextField"/></form:properties></form:text></form:column>

The text-style named is defined earlier in the file with the custom setting.
i.e. <style:style style:name="ctrl2"
style:family="paragraph"><style:paragraph-properties fo:text-align="center"/>


In the embedded form this form:text-style is completely missing.

i.e. <form:column form:name="Description"
form:control-implementation="ooo:TextField" form:label="Description"><form:text
form:id="control5" form:data-field="Description"
form:convert-empty-to-null="true"><form:properties><form:property
form:property-name="DefaultControl" office:value-type="string"
office:string-value="com.sun.star.form.control.TextField"/><form:property
form:property-name="Width" office:value-type="float"
office:value="603"/></form:properties></form:text></form:column>

---------------------------------------------------------------------
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: issues-unsubscr...@dba.openoffice.org
For additional commands, e-mail: issues-h...@dba.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to