1. Как создать текстовый курсор для OpenOffice OCalc на java
cell =xSpreadsheet.getCellByPosition(0,1);
XText xText = (XText) UnoRuntime.queryInterface(XText.class, cell);
XTextCursor xTextCursor = xText.createTextCursor();
// insert the string
xText.insertString(xTextCursor, “hello open office!!”, false);
2. Как объединить текстовые ячейки для OpenOffice OCalc на java
OW.Tables[0].CellRangeByName[‘A2:A4’].MergeRange;
3. Как указать что заголовки не должны скролироваться для OpenOffice OCalc на java
FreezeAtPosition – заголовки морозит
4. Как при формировании отчета отображать шапку на каждом листе для OpenOffice OCalc на java
OC.Sheets[0].CellRange[0,0,0,0].SetAsTitleRows;
OC.Sheets[0].CellRange[0,0,0,0].SetAsTitleColumns;