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 testCreateXYAxes()
167 SCUtil.setValueToCellRange(sheet, 0, 0, numberData); in testCreateXYAxes()
170 cellAddress[0] = SCUtil.getChartDataRangeByName(sheet, cellRangeName); in testCreateXYAxes()
173 xChartDocument = SCUtil.createChart(sheet, rectangle, cellAddress, chartName); in testCreateXYAxes()
174 SCUtil.setChartType(xChartDocument, inputType); in testCreateXYAxes()
178 SCUtil.setProperties(xDiagram, "HasXAxis", axes[0]); in testCreateXYAxes()
179 SCUtil.setProperties(xDiagram, "HasYAxis", axes[1]); in testCreateXYAxes()
184 SCUtil.setProperties(xDiagram, "HasSecondaryXAxis", secondaryAxes[0]); in testCreateXYAxes()
185 SCUtil.setProperties(xDiagram, "HasSecondaryYAxis", secondaryAxes[1]); in testCreateXYAxes()
195 SCUtil.setProperties(xDiagram.getDataRowProperties(1), "Axis", 4); in testCreateXYAxes()
199 SCUtil.saveFileAs(scComponent, fileName, fileType); in testCreateXYAxes()
200 scDocument = SCUtil.reloadFile(unoApp, scDocument, fileName + "." + fileType); in testCreateXYAxes()
201 sheet = SCUtil.getCurrentSheet(scDocument); in testCreateXYAxes()
203 xChartDocument = SCUtil.getChartByName(sheet, chartName); in testCreateXYAxes()
205 results[0][0] = (Boolean) SCUtil.getProperties(xDiagram, "HasXAxis"); in testCreateXYAxes()
206 results[0][1] = (Boolean) SCUtil.getProperties(xDiagram, "HasYAxis"); in testCreateXYAxes()
207 results[1][0] = (Boolean) SCUtil.getProperties(xDiagram, "HasSecondaryXAxis"); in testCreateXYAxes()
208 results[1][1] = (Boolean) SCUtil.getProperties(xDiagram, "HasSecondaryYAxis"); in testCreateXYAxes()
210 SCUtil.closeFile(scDocument); in testCreateXYAxes()
246 XSpreadsheet sheet = SCUtil.getCurrentSheet(scDocument); in testCreateXYZAxes()
248 SCUtil.setValueToCellRange(sheet, 0, 0, numberData); in testCreateXYZAxes()
251 cellAddress[0] = SCUtil.getChartDataRangeByName(sheet, cellRangeName); in testCreateXYZAxes()
254 xChartDocument = SCUtil.createChart(sheet, rectangle, cellAddress, chartName); in testCreateXYZAxes()
255 SCUtil.setChartType(xChartDocument, inputType); in testCreateXYZAxes()
256 SCUtil.setProperties(xChartDocument.getDiagram(), "Dim3D", true); in testCreateXYZAxes()
260 SCUtil.setProperties(xDiagram, "HasXAxis", axes[0]); in testCreateXYZAxes()
261 SCUtil.setProperties(xDiagram, "HasYAxis", axes[1]); in testCreateXYZAxes()
262 SCUtil.setProperties(xDiagram, "HasZAxis", axes[2]); in testCreateXYZAxes()
269 SCUtil.saveFileAs(scComponent, fileName, fileType); in testCreateXYZAxes()
270 scDocument = SCUtil.reloadFile(unoApp, scDocument, fileName + "." + fileType); in testCreateXYZAxes()
271 sheet = SCUtil.getCurrentSheet(scDocument); in testCreateXYZAxes()
273 xChartDocument = SCUtil.getChartByName(sheet, chartName); in testCreateXYZAxes()
275 results[0][0] = (Boolean) SCUtil.getProperties(xDiagram, "HasXAxis"); in testCreateXYZAxes()
276 results[0][1] = (Boolean) SCUtil.getProperties(xDiagram, "HasYAxis"); in testCreateXYZAxes()
277 results[0][2] = (Boolean) SCUtil.getProperties(xDiagram, "HasZAxis"); in testCreateXYZAxes()
279 SCUtil.closeFile(scDocument); in testCreateXYZAxes()