Lines Matching refs:SCUtil

41 import testlib.uno.SCUtil;
104 scDocument = SCUtil.getSCDocument(scComponent); in setUp()
121 SCUtil.clearTempDir(); in tearDownConnection()
145 XSpreadsheet sheet = SCUtil.getCurrentSheet(scDocument); in testDisableLegend()
147 SCUtil.setValueToCellRange(sheet, 0, 0, numberData); in testDisableLegend()
149 cellAddress[0] = SCUtil.getChartDataRangeByName(sheet, cellRangeName); in testDisableLegend()
152 xChartDocument = SCUtil.createChart(sheet, rectangle, cellAddress, chartName); in testDisableLegend()
154 SCUtil.setChartType(xChartDocument, inputType); in testDisableLegend()
155 result = (Boolean) SCUtil.getProperties(xChartDocument, "HasLegend"); in testDisableLegend()
157 SCUtil.setProperties(xChartDocument, "HasLegend", false); in testDisableLegend()
160 SCUtil.saveFileAs(scComponent, fileName, fileType); in testDisableLegend()
161 scDocument = SCUtil.reloadFile(unoApp, scDocument, fileName + "." + fileType); in testDisableLegend()
162 sheet = SCUtil.getCurrentSheet(scDocument); in testDisableLegend()
164 xChartDocument = SCUtil.getChartByName(sheet, chartName); in testDisableLegend()
165 result = (Boolean) SCUtil.getProperties(xChartDocument, "HasLegend"); in testDisableLegend()
167 SCUtil.closeFile(scDocument); in testDisableLegend()
196 XSpreadsheet sheet = SCUtil.getCurrentSheet(scDocument); in testLegendPosition()
198 SCUtil.setValueToCellRange(sheet, 0, 0, numberData); in testLegendPosition()
200 cellAddress[0] = SCUtil.getChartDataRangeByName(sheet, cellRangeName); in testLegendPosition()
203 xChartDocument = SCUtil.createChart(sheet, rectangle, cellAddress, chartName); in testLegendPosition()
205 SCUtil.setChartType(xChartDocument, inputType); in testLegendPosition()
212 SCUtil.saveFileAs(scComponent, fileName, fileType); in testLegendPosition()
213 scDocument = SCUtil.reloadFile(unoApp, scDocument, fileName + "." + fileType); in testLegendPosition()
214 sheet = SCUtil.getCurrentSheet(scDocument); in testLegendPosition()
216 xChartDocument = SCUtil.getChartByName(sheet, chartName); in testLegendPosition()
217 result = (Boolean) SCUtil.getProperties(xChartDocument, "HasLegend"); in testLegendPosition()
221 SCUtil.closeFile(scDocument); in testLegendPosition()