Lines Matching refs:table
35 def insertTextIntoCell( table, cellName, text, color ): argument
36 tableText = table.getCellByName( cellName )
64 table = doc.createInstance( "com.sun.star.text.TextTable" )
67 table.initialize( 4,4)
69 text.insertTextContent( cursor, table, 0 )
70 rows = table.Rows
72 table.setPropertyValue( "BackTransparent", uno.Bool(0) )
73 table.setPropertyValue( "BackColor", 13421823 )
80 insertTextIntoCell( table, "A1", "FirstColumn", textColor )
81 insertTextIntoCell( table, "B1", "SecondColumn", textColor )
82 insertTextIntoCell( table, "C1", "ThirdColumn", textColor )
83 insertTextIntoCell( table, "D1", "SUM", textColor )
88 table.getCellByName("A2").setValue(22.5)
89 table.getCellByName("B2").setValue(5615.3)
90 table.getCellByName("C2").setValue(-2315.7)
91 table.getCellByName("D2").setFormula("sum <A2:C2>")
93 table.getCellByName("A3").setValue(21.5)
94 table.getCellByName("B3").setValue(615.3)
95 table.getCellByName("C3").setValue(-315.7)
96 table.getCellByName("D3").setFormula("sum <A3:C3>")
98 table.getCellByName("A4").setValue(121.5)
99 table.getCellByName("B4").setValue(-615.3)
100 table.getCellByName("C4").setValue(415.7)
101 table.getCellByName("D4").setFormula("sum <A4:C4>")