IArtefactRepresentation representation, Configuration configuration) {
if(representation == null || !StyledTextRepresentation.TYPE.equals(representation.getType())){
return null;
}
StyledTextRepresentation rtfText = (StyledTextRepresentation) representation;
String text = rtfText.getDocument();
String id = generateID();
TextInfo textInfo = new TextInfo(text, id, VertOrientation.TOP, HoriOrientation.LEFT, TextContentAnchorType.AT_CHARACTER);