To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=85188
                 Issue #|85188
                 Summary|Table.width incorrect in API
               Component|api
                 Version|OOo 2.3
                Platform|PC
                     URL|
              OS/Version|Windows 2000
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|jsc
             Reported by|dysmas





------- Additional comments from [EMAIL PROTECTED] Sat Jan 12 12:09:04 +0000 
2008 -------
Open a document in Writer. 
Create a table, either with the button or with the menu.
Put the cursor in the table.
Run the following code :

o_curs = thisComponent.getcurrentcontroller.getviewCursor
o_table = o_curs.TextTable
msgbox o_table.width

the value reported is : 115595 (sometimes 155596)

Open the table properties and set the alignment to anything else than 
automatic. Run the code again : the correct value is reported (17000 in my 
example). 

Setback alignment to automatic and run the code : the value is correct. 

Close the document. Open it again, run the code : you get 115595.

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