Lines Matching refs:table
31 def insertTextIntoCell( table, cellName, text, color ): argument
32 tableText = table.getCellByName( cellName )
53 table = doc.createInstance( "com.sun.star.text.TextTable" )
56 table.initialize( 4,4)
58 text.insertTextContent( cursor, table, 0 )
59 rows = table.Rows
61 table.setPropertyValue( "BackTransparent", uno.Bool(0) )
62 table.setPropertyValue( "BackColor", 13421823 )
69 insertTextIntoCell( table, "A1", "FirstColumn", textColor )
70 insertTextIntoCell( table, "B1", "SecondColumn", textColor )
71 insertTextIntoCell( table, "C1", "ThirdColumn", textColor )
72 insertTextIntoCell( table, "D1", "SUM", textColor )
77 table.getCellByName("A2").setValue(22.5)
78 table.getCellByName("B2").setValue(5615.3)
79 table.getCellByName("C2").setValue(-2315.7)
80 table.getCellByName("D2").setFormula("sum <A2:C2>")
82 table.getCellByName("A3").setValue(21.5)
83 table.getCellByName("B3").setValue(615.3)
84 table.getCellByName("C3").setValue(-315.7)
85 table.getCellByName("D3").setFormula("sum <A3:C3>")
87 table.getCellByName("A4").setValue(121.5)
88 table.getCellByName("B4").setValue(-615.3)
89 table.getCellByName("C4").setValue(415.7)
90 table.getCellByName("D4").setFormula("sum <A4:C4>")