To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=79471
------- Additional comments from [EMAIL PROTECTED] Fri Jul 13 11:20:24 +0000
2007 -------
SetExpression fields can have a NumberFormat (if they are used as variable) or a
NumberingType (if used as sequence fields).
If the following macro is executed the inserted sequence field will have always
have an alphanumeric numbering. No matter which value is set as numberingtype.
Sub Main
varfield =
thiscomponent.createinstance("com.sun.star.text.TextField.SetExpression")
varfieldtype =
thiscomponent.createinstance("com.sun.star.text.FieldMaster.SetExpression")
varfieldtype.name = "mymaster"
varfield.numberingtype = 3
varfieldtype.subtype = 1
varfield.attachTextFieldMaster(varfieldtype)
varfield.attach( thiscomponent.text.getstart )
print varfield.numberingtype
End Sub
---------------------------------------------------------------------
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]