IPresentationPage page = pageService.getPresentationPage(i);
IDrawPage drawPage = page.getDrawPage();
for (IShape shape : drawPage.getShapes()) {
if (!shape.getType().equals(IShape.TEXT_SHAPE))
continue;
ITextShape textShape = (ITextShape) shape;
String content = textShape.getText().getText();
if (content.matches(XMLArtefact.TAG_PATTERN)) {
OOArtefactPosition position = new PresentationPosition(
ooDocument, page, textShape);
positions.add(position);
}