To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51622
                  Issue #:|51622
                  Summary:|reading a number per api fails
                Component:|api
                  Version:|680m112
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|tl
              Reported by:|sg





------- Additional comments from [EMAIL PROTECTED] Wed Jul  6 01:30:40 -0700 
2005 -------
When a writer table contains a value set there by UI, it cannot be read per API.
Only if the value was set by API, it works.

To reproduce:

- create a writer table with, e.g "8" in cell A1.
- execute this macro:
        xText = ThisComponent.getText()
        xEnum = xText.createEnumeration()
        xTextTable = xEnum.nextElement()
        xCellRange = xTextTable.getCellRangeByName("A1:A1")
        dataArray = xCellRange.getData()
        data = dataArray(0)
        msgbox data(0)

The message box returns 0, although it should be 8.

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