Lines Matching refs:odtDocument
47 private static XTextDocument odtDocument = null; field in TitleField
88 odtDocument = SWUtil.openDocument(Testspace.prepareData(odtSample), app); in testTitleFieldODT()
92 createTitleFiled(odtDocument); in testTitleFieldODT()
94 …assertTrue("Verify Title field is created use exsit Title", isContainTitleField(odtDocument, title… in testTitleFieldODT()
96 isContainTitleText(odtDocument, titleStr)); in testTitleFieldODT()
98 SWUtil.setDocumentProperty(odtDocument, "Title", titleStr); in testTitleFieldODT()
101 isContainTitleText(odtDocument, titleStr)); in testTitleFieldODT()
103 odtDocument = SWUtil.saveAndReload(odtDocument, app); in testTitleFieldODT()
105 …ify Title field is created, after save, still exist.", isContainTitleField(odtDocument, titleStr)); in testTitleFieldODT()
107 isContainTitleText(odtDocument, titleStr)); in testTitleFieldODT()
108 SWUtil.saveAsDoc(odtDocument, Testspace.getUrl(odtSaveAsDocSample)); in testTitleFieldODT()
109 app.closeDocument(odtDocument); in testTitleFieldODT()