Home
last modified time | relevance | path

Searched refs:odtDocument (Results 1 – 4 of 4) sorted by relevance

/aoo4110/test/testuno/source/fvt/uno/sw/field/
H A DPageCountField.java49 private static XTextDocument odtDocument = null; field in PageCountField
91 odtDocument = SWUtil.openDocument(Testspace.prepareData(odtSample), app); in testPageCountFieldODT()
92 createPageCountField(odtDocument); in testPageCountFieldODT()
93 int PageCount = getPageCount(odtDocument); in testPageCountFieldODT()
95 odtDocument = SWUtil.saveAndReload(odtDocument, app); in testPageCountFieldODT()
97 PageCount = getPageCount(odtDocument); in testPageCountFieldODT()
99 SWUtil.saveAsDoc(odtDocument, Testspace.getUrl(odtSaveAsDocSample)); in testPageCountFieldODT()
100 app.closeDocument(odtDocument); in testPageCountFieldODT()
129 odtDocument = SWUtil.openDocumentFromURL(Testspace.getUrl(docSaveAsODTSample), app); in testPageCountFieldDOC()
132 PageCount = getPageCount(odtDocument); in testPageCountFieldDOC()
[all …]
H A DPageNumberField.java49 private static XTextDocument odtDocument = null; field in PageNumberField
90 odtDocument = SWUtil.openDocument(Testspace.prepareData(odtSample), app); in testPageNumberFieldODT()
91 createPageNumberFiled(odtDocument); in testPageNumberFieldODT()
92 int pageNumber = getPageNumber(odtDocument); in testPageNumberFieldODT()
94 odtDocument = SWUtil.saveAndReload(odtDocument, app); in testPageNumberFieldODT()
96 pageNumber = getPageNumber(odtDocument); in testPageNumberFieldODT()
98 SWUtil.saveAsDoc(odtDocument, Testspace.getUrl(odtSaveAsDocSample)); in testPageNumberFieldODT()
99 app.closeDocument(odtDocument); in testPageNumberFieldODT()
129 odtDocument = SWUtil.openDocumentFromURL(Testspace.getUrl(docSaveAsODTSample), app); in testPageNumberFieldDOC()
132 pageNumber = getPageNumber(odtDocument); in testPageNumberFieldDOC()
[all …]
H A DSubjectField.java46 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 exsit 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()
106 isContainSubjectText(odtDocument, subjectStr)); in testSubjectFieldODT()
107 SWUtil.saveAsDoc(odtDocument, Testspace.getUrl(odtSaveAsDocSample)); in testSubjectFieldODT()
[all …]
H A DTitleField.java47 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()
107 isContainTitleText(odtDocument, titleStr)); in testTitleFieldODT()
108 SWUtil.saveAsDoc(odtDocument, Testspace.getUrl(odtSaveAsDocSample)); in testTitleFieldODT()
[all …]

Completed in 40 milliseconds