To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=66145
                  Issue #:|66145
                  Summary:|Height of Row in TextTable with Autoheight Always 0
                Component:|Word processor
                  Version:|OOo 2.0.1
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P2
             Subcomponent:|programming
              Assigned to:|mru
              Reported by:|rkentgibson





------- Additional comments from [EMAIL PROTECTED] Tue Jun  6 00:36:17 -0700 
2006 -------
It seems impossible to ascertain the height of a row when the reow is set to
autoheight.

I am setting this to p2 as this is a showstopper for us.

###########
Sub Main

Dim s As String
Dim oTable
Dim oVC
Dim oCell
Dim nCol As Long
Dim nRow As Long
oVC =  ThisComponent.getCurrentController().getViewCursor()
If IsEmpty(oVC.TextTable) Then
        Print "The view cursor is not in a text table"
Exit Sub
End If
oTable = oVC.TextTable
For nRow = 0 To oTable.getRows().getCount() - 1
        oRow = 
ThisComponent.getTextTables().getByIndex(0).getRows().getByIndex(nRow )
        oRow.IsAutoHeight = true
        msgbox  " is autoheight " + oRow.IsAutoHeight + " HEIGHT " + 
oRow.Height  
Next

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]

Reply via email to