Lines Matching refs:SCUtil

39 import testlib.uno.SCUtil;
115 scDocument = SCUtil.getSCDocument(scComponent); in setUp()
132 SCUtil.clearTempDir(); in tearDownConnection()
165 XSpreadsheet sheet = SCUtil.getCurrentSheet(scDocument); in testCreateXYGrid()
167 SCUtil.setValueToCellRange(sheet, 0, 0, numberData); in testCreateXYGrid()
170 cellAddress[0] = SCUtil.getChartDataRangeByName(sheet, cellRangeName); in testCreateXYGrid()
173 xChartDocument = SCUtil.createChart(sheet, rectangle, cellAddress, chartName); in testCreateXYGrid()
174 SCUtil.setChartType(xChartDocument, inputType); in testCreateXYGrid()
178 SCUtil.setProperties(xDiagram, "HasXAxisGrid", majorGrids[0]); in testCreateXYGrid()
179 SCUtil.setProperties(xDiagram, "HasYAxisGrid", majorGrids[1]); in testCreateXYGrid()
184 SCUtil.setProperties(xDiagram, "HasXAxisHelpGrid", minorGrids[0]); in testCreateXYGrid()
185 SCUtil.setProperties(xDiagram, "HasYAxisHelpGrid", minorGrids[1]); in testCreateXYGrid()
190 SCUtil.saveFileAs(scComponent, fileName, fileType); in testCreateXYGrid()
191 scDocument = SCUtil.reloadFile(unoApp, scDocument, fileName + "." + fileType); in testCreateXYGrid()
192 sheet = SCUtil.getCurrentSheet(scDocument); in testCreateXYGrid()
194 xChartDocument = SCUtil.getChartByName(sheet, chartName); in testCreateXYGrid()
196 results[0][0] = (Boolean) SCUtil.getProperties(xDiagram, "HasXAxisGrid"); in testCreateXYGrid()
197 results[0][1] = (Boolean) SCUtil.getProperties(xDiagram, "HasYAxisGrid"); in testCreateXYGrid()
198 results[1][0] = (Boolean) SCUtil.getProperties(xDiagram, "HasXAxisHelpGrid"); in testCreateXYGrid()
199 results[1][1] = (Boolean) SCUtil.getProperties(xDiagram, "HasYAxisHelpGrid"); in testCreateXYGrid()
201 SCUtil.closeFile(scDocument); in testCreateXYGrid()
237 XSpreadsheet sheet = SCUtil.getCurrentSheet(scDocument); in testCreateXYZGrid()
239 SCUtil.setValueToCellRange(sheet, 0, 0, numberData); in testCreateXYZGrid()
242 cellAddress[0] = SCUtil.getChartDataRangeByName(sheet, cellRangeName); in testCreateXYZGrid()
245 xChartDocument = SCUtil.createChart(sheet, rectangle, cellAddress, chartName); in testCreateXYZGrid()
246 SCUtil.setChartType(xChartDocument, inputType); in testCreateXYZGrid()
247 SCUtil.setProperties(xChartDocument.getDiagram(), "Dim3D", true); in testCreateXYZGrid()
251 SCUtil.setProperties(xDiagram, "HasXAxisGrid", majorGrids[0]); in testCreateXYZGrid()
252 SCUtil.setProperties(xDiagram, "HasYAxisGrid", majorGrids[1]); in testCreateXYZGrid()
253 SCUtil.setProperties(xDiagram, "HasZAxisGrid", majorGrids[2]); in testCreateXYZGrid()
259 SCUtil.setProperties(xDiagram, "HasXAxisHelpGrid", minorGrids[0]); in testCreateXYZGrid()
260 SCUtil.setProperties(xDiagram, "HasYAxisHelpGrid", minorGrids[1]); in testCreateXYZGrid()
261 SCUtil.setProperties(xDiagram, "HasZAxisHelpGrid", minorGrids[2]); in testCreateXYZGrid()
267 SCUtil.saveFileAs(scComponent, fileName, fileType); in testCreateXYZGrid()
268 scDocument = SCUtil.reloadFile(unoApp, scDocument, fileName + "." + fileType); in testCreateXYZGrid()
269 sheet = SCUtil.getCurrentSheet(scDocument); in testCreateXYZGrid()
271 xChartDocument = SCUtil.getChartByName(sheet, chartName); in testCreateXYZGrid()
273 results[0][0] = (Boolean) SCUtil.getProperties(xDiagram, "HasXAxisGrid"); in testCreateXYZGrid()
274 results[0][1] = (Boolean) SCUtil.getProperties(xDiagram, "HasYAxisGrid"); in testCreateXYZGrid()
275 results[0][2] = (Boolean) SCUtil.getProperties(xDiagram, "HasZAxisGrid"); in testCreateXYZGrid()
276 results[1][0] = (Boolean) SCUtil.getProperties(xDiagram, "HasXAxisHelpGrid"); in testCreateXYZGrid()
277 results[1][1] = (Boolean) SCUtil.getProperties(xDiagram, "HasYAxisHelpGrid"); in testCreateXYZGrid()
278 results[1][2] = (Boolean) SCUtil.getProperties(xDiagram, "HasZAxisHelpGrid"); in testCreateXYZGrid()
280 SCUtil.closeFile(scDocument); in testCreateXYZGrid()