Example #1
0
 void SetText(OOo.sheet.XSpreadsheet f, int x, int y, string text)
 {
     OOo.table.XCell cc = f.getCellByPosition(x, y);
     cc.setFormula(text);
 }
Example #2
0
 void SetStyleTitle(OOo.sheet.XSpreadsheet f, int x, int y, int FontSize)
 {
     OOo.table.XCellRange xRange = (OOo.table.XCellRange)f.getCellByPosition(x, y);
     OOo.beans.XPropertySet options = (OOo.beans.XPropertySet)xRange;
     options.setPropertyValue("CharHeight", new uno.Any((Single)FontSize));
 }