Lines Matching refs:odtDocument
46 private static XTextDocument odtDocument = null; field in SubjectField
87 odtDocument = SWUtil.openDocument(Testspace.prepareData(odtSample), app); in testSubjectFieldODT()
91 createSubjectFiled(odtDocument); in testSubjectFieldODT()
93 …assertTrue("Verify Subject field is created use exist subject", isContainSubjectField(odtDocument,… in testSubjectFieldODT()
95 isContainSubjectText(odtDocument, "UNO API Subject")); in testSubjectFieldODT()
97 SWUtil.setDocumentProperty(odtDocument, "Subject", subjectStr); in testSubjectFieldODT()
100 isContainSubjectText(odtDocument, subjectStr)); in testSubjectFieldODT()
102 odtDocument = SWUtil.saveAndReload(odtDocument, app); in testSubjectFieldODT()
104 …bject field is created, after save, still exist.", isContainSubjectField(odtDocument, subjectStr)); in testSubjectFieldODT()
106 isContainSubjectText(odtDocument, subjectStr)); in testSubjectFieldODT()
107 SWUtil.saveAsDoc(odtDocument, Testspace.getUrl(odtSaveAsDocSample)); in testSubjectFieldODT()
108 app.closeDocument(odtDocument); in testSubjectFieldODT()