To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113519
                 Issue #|113519
                 Summary|SwXTextFieldTypes.refresh() does not change format
               Component|Word processor
                 Version|OOo 3.2.1
                Platform|PC
                     URL|
              OS/Version|Windows 7
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|programming
             Assigned to|writerneedsconfirm
             Reported by|thegambler





------- Additional comments from thegamb...@openoffice.org Thu Jul 29 11:29:52 
+0000 2010 -------
If you run this code:

<code>
oTextFieldCon = thisComponent.getTextFields()
oTextFields = oTextFieldCon.createEnumeration()
Do while oTextFields.hasMoreElements()
   oTextField = oTextFields.nextElement()
      
   if oTextField.VariableName = "TEST" then
      oTextField.NumberFormat = 5036
      oTextField.setPropertyValue("Content", "2009-05-01")
   end if
loop
oTextFieldCon.refresh()
</code>

it will set the text field to the content "2009-05-01" but the presentation will
show "25.06.1905". If I change the format manually via menu it will work fine.

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


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

Reply via email to