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


User rainerbielefeld changed the following:

                What    |Old value                 |New value
================================================================================
          Ever confirmed|                          |1
--------------------------------------------------------------------------------
                  Status|UNCONFIRMED               |NEW
--------------------------------------------------------------------------------
                Keywords|oooqa                     |needhelp, oooqa
--------------------------------------------------------------------------------
                Priority|P3                        |P4
--------------------------------------------------------------------------------
                 Summary|Macro bug for Date and oth|Macro inserts date from "I
                        |er fields                 |nsert - Fields - Other - C
                        |                          |ard 'Document' - Date" wit
                        |                          |h wrong format
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Sat Oct  7 06:47:03 -0700 
2006 -------
Additionally did some further tests with "2.0.4RC1 German version WIN XP:
[680m3(Build9066)]" and now I was able to reproduce the problem. It's rather 
simple:

1. open new WRITER document
2. Start Macro recorder
3. Insert Field by Menu "Insert - Fields - Other - Card 'Document' - Date"
4. Select format "31.12.1999" (or any other)
5. <Insert> (closes fields dialogue)
6. <Enter>
7. Close Macro recorder and save Macro for this document.
9. Menu "Tools - Macros - Organize - OOo" and select your macro
10. Mark from "sub" ... to "end sub"
11. <cntrl>+<c>
12. open new WRITER document 
13.  Menu "Tools - Macros - Organize - OOo"
14. Select your document and create NEW
15. replace empty sub by <cntrl>+<v>
16. close macro dialogue
17. run macro
    expected: date should be inserted to document with format "31.12.1999"
    actual: date will be inserted to document with format "decimal number"

If you do the test 1. to 17. but use Menu "Insert - Fields - Date" directly from
Insert menu in step 3 and continue with step 6, in step 17 the date will be
shown with format "31.12.1999" as expected.

The created basic code is completely different with the second method, my basic
knowledge is too poor to decide what the reason might be.

I will attach a test kit with:
- 'test202_macropastedwithdatefromotherselection.odt'
  containing a macro created with the first experiment 1 ... 17
  test202_macrosourcewithdatefromotherselection.odt
  with wrong date format in (pasted) macro created date

- test202_macrosourcewithdatefrommenu.odt
  containing a macro created with the second experiment 1 ... 17
  test202_macropastedwithdatefrommenu.odt
  with correct date format in (pasted) macro created date

@steveh_66:
It seems that no further activity is required.

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