Lines Matching refs:SCUtil

41 import testlib.uno.SCUtil;
103 scDocument = SCUtil.getSCDocument(scComponent); in setUp()
120 SCUtil.clearTempDir(); in tearDownConnection()
148 XSpreadsheet sheet = SCUtil.getCurrentSheet(scDocument); in testCreateMainTitle()
150 SCUtil.setValueToCellRange(sheet, 0, 0, numberData); in testCreateMainTitle()
153 cellAddress[0] = SCUtil.getChartDataRangeByName(sheet, cellRangeName); in testCreateMainTitle()
156 xChartDocument = SCUtil.createChart(sheet, rectangle, cellAddress, chartName); in testCreateMainTitle()
157 SCUtil.setChartType(xChartDocument, inputType); in testCreateMainTitle()
159 result = (Boolean) SCUtil.getProperties(xChartDocument, "HasMainTitle"); in testCreateMainTitle()
161 SCUtil.setProperties(xChartDocument, "HasMainTitle", true); in testCreateMainTitle()
164 defaultTitle = (String) SCUtil.getProperties(aTitle, "String"); in testCreateMainTitle()
166 SCUtil.saveFileAs(scComponent, fileName, fileType); in testCreateMainTitle()
167 scDocument = SCUtil.reloadFile(unoApp, scDocument, fileName + "." + fileType); in testCreateMainTitle()
168 sheet = SCUtil.getCurrentSheet(scDocument); in testCreateMainTitle()
170 xChartDocument = SCUtil.getChartByName(sheet, chartName); in testCreateMainTitle()
171 result = (Boolean) SCUtil.getProperties(xChartDocument, "HasMainTitle"); in testCreateMainTitle()
172 resultTitle = (String) SCUtil.getProperties(xChartDocument.getTitle(), "String"); in testCreateMainTitle()
173 SCUtil.closeFile(scDocument); in testCreateMainTitle()
205 XSpreadsheet sheet = SCUtil.getCurrentSheet(scDocument); in testCreateSubTitle()
207 SCUtil.setValueToCellRange(sheet, 0, 0, numberData); in testCreateSubTitle()
210 cellAddress[0] = SCUtil.getChartDataRangeByName(sheet, cellRangeName); in testCreateSubTitle()
213 xChartDocument = SCUtil.createChart(sheet, rectangle, cellAddress, chartName); in testCreateSubTitle()
214 SCUtil.setChartType(xChartDocument, inputType); in testCreateSubTitle()
215 result = (Boolean) SCUtil.getProperties(xChartDocument, "HasSubTitle"); in testCreateSubTitle()
217 SCUtil.setProperties(xChartDocument, "HasSubTitle", true); in testCreateSubTitle()
220 defaultTitle = (String) SCUtil.getProperties(aSubTitle, "String"); in testCreateSubTitle()
222 SCUtil.saveFileAs(scComponent, fileName, fileType); in testCreateSubTitle()
223 scDocument = SCUtil.reloadFile(unoApp, scDocument, fileName + "." + fileType); in testCreateSubTitle()
224 sheet = SCUtil.getCurrentSheet(scDocument); in testCreateSubTitle()
226 xChartDocument = SCUtil.getChartByName(sheet, chartName); in testCreateSubTitle()
227 result = (Boolean) SCUtil.getProperties(xChartDocument, "HasSubTitle"); in testCreateSubTitle()
228 resultTitle = (String) SCUtil.getProperties(xChartDocument.getSubTitle(), "String"); in testCreateSubTitle()
229 SCUtil.closeFile(scDocument); in testCreateSubTitle()
266 XSpreadsheet sheet = SCUtil.getCurrentSheet(scDocument); in testInputTitles()
268 SCUtil.setValueToCellRange(sheet, 0, 0, numberData); in testInputTitles()
271 cellAddress[0] = SCUtil.getChartDataRangeByName(sheet, cellRangeName); in testInputTitles()
274 xChartDocument = SCUtil.createChart(sheet, rectangle, cellAddress, chartName); in testInputTitles()
275 SCUtil.setChartType(xChartDocument, inputType); in testInputTitles()
276 SCUtil.setProperties(xChartDocument, "HasMainTitle", true); in testInputTitles()
277 SCUtil.setProperties(xChartDocument, "HasSubTitle", true); in testInputTitles()
279 SCUtil.setProperties(xChartDocument.getTitle(), "String", titles[0]); in testInputTitles()
280 SCUtil.setProperties(xChartDocument.getSubTitle(), "String", titles[1]); in testInputTitles()
282 SCUtil.saveFileAs(scComponent, fileName, fileType); in testInputTitles()
283 scDocument = SCUtil.reloadFile(unoApp, scDocument, fileName + "." + fileType); in testInputTitles()
284 sheet = SCUtil.getCurrentSheet(scDocument); in testInputTitles()
286 xChartDocument = SCUtil.getChartByName(sheet, chartName); in testInputTitles()
287 result[0] = (Boolean) SCUtil.getProperties(xChartDocument, "HasMainTitle"); in testInputTitles()
288 result[1] = (Boolean) SCUtil.getProperties(xChartDocument, "HasSubTitle"); in testInputTitles()
289 resultTitle[0] = (String) SCUtil.getProperties(xChartDocument.getTitle(), "String"); in testInputTitles()
290 resultTitle[1] = (String) SCUtil.getProperties(xChartDocument.getSubTitle(), "String"); in testInputTitles()
291 SCUtil.closeFile(scDocument); in testInputTitles()