IArtefactRepresentation representation, Configuration configuration) {
if (representation == null
|| !OODrawRepresentation.TYPE.equals(representation.getType()))
return null;
OODrawRepresentation ooRepresentation = (OODrawRepresentation) representation;
IShapeProvider shapeProvider = ooRepresentation.getShapeProvider();
IOfficeApplication officeApplication = EditorCorePlugin.getDefault()
.getManagedLocalOfficeApplication();
IDrawingDocument document;