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





------- Additional comments from [email protected] Wed Apr  1 14:43:54 +0000 
2009 -------
i've just had a look at this.

currently:
word document variables are imported as user-defined document properties.
word document variable get/set fields are imported as ??? don't know.

ODF has fields for getting user-defined document properties:
<text:user-defined>, but not for setting them.

ODF also has variables:
<text:variable-decl>
<text:variable-get>
<text:variable-input>
<text:variable-set>

corresponding OOo API:
com.sun.star.text.FieldMaster.SetExpression
com.sun.star.text.textfield.SetExpression
com.sun.star.text.textfield.GetExpression

the writer core objects seem to be in encfld.hxx:
SwSetExpField SwGetExpField

so maybe we could import word document variables as expression fields,
which has the advantage that we can store them in ODF as well.


---------------------------------------------------------------------
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]

Reply via email to