Lines Matching refs:table
34 def insertTextIntoCell( table, cellName, text, color ): argument
35 tableText = table.getCellByName( cellName )
62 table = doc.createInstance( "com.sun.star.text.TextTable" ) variable
65 table.initialize( 4,4)
67 text.insertTextContent( cursor, table, 0 )
68 rows = table.Rows
70 table.setPropertyValue( "BackTransparent", uno.Bool(0) )
71 table.setPropertyValue( "BackColor", 13421823 )
78 insertTextIntoCell( table, "A1", "FirstColumn", textColor )
79 insertTextIntoCell( table, "B1", "SecondColumn", textColor )
80 insertTextIntoCell( table, "C1", "ThirdColumn", textColor )
81 insertTextIntoCell( table, "D1", "SUM", textColor )
86 table.getCellByName("A2").setValue(22.5)
87 table.getCellByName("B2").setValue(5615.3)
88 table.getCellByName("C2").setValue(-2315.7)
89 table.getCellByName("D2").setFormula("sum <A2:C2>")
91 table.getCellByName("A3").setValue(21.5)
92 table.getCellByName("B3").setValue(615.3)
93 table.getCellByName("C3").setValue(-315.7)
94 table.getCellByName("D3").setFormula("sum <A3:C3>")
96 table.getCellByName("A4").setValue(121.5)
97 table.getCellByName("B4").setValue(-615.3)
98 table.getCellByName("C4").setValue(415.7)
99 table.getCellByName("D4").setFormula("sum <A4:C4>")