}
@Test
public void testImpress() throws NOAException, OfficeApplicationException,
PresentationException {
IPresentationDocument document = (IPresentationDocument) ooApplication
.constructNewDocument(IDocument.IMPRESS);
OODocument ooDocument = new OODocument(document, new EclipseFile(
"tmp file")); //$NON-NLS-1$
String tag = "<aTag/>"; //$NON-NLS-1$
ConnectorMaster.getInstance().insertTagsIntoDocument(tag, ooDocument);
IPresentationPage page = document.getPageService().getPresentationPage(
0);
ITextShape shape = (ITextShape) page.getDrawPage().getShapes().get(0);
String text = shape.getText().getText();
Assert.assertEquals(tag, text);
}