public string GetLongDescription(PowerPoint.Shape smartArtShape) { //SetColorStyle(smartArtShape.SmartArt.Color.Name); Methode die zu den Akzenten passende beschreibungen ausgibt // 1. get the first part without paceholder string firstPartDescription = SInter.GetShortDescriptionfirstPart(); // 2. get the special part string specialDescription = GetContentFromXML(); specialDescription = ReplacePlaceholder(specialDescription); // 3. get each listpoint string endDescription = GetDescrForEachPoint(smartArtShape); return(firstPartDescription + specialDescription + "\n\n" + endDescription); }
public string GetLongDescription(PowerPoint.Shape smartArtShape) { /* * this methode collegt all parts * completLongDescription = speicalDescription + endDescription * endDescription contains the description of each Point */ // 1. get the first part without paceholder string firstPartDescription = SInter.GetShortDescriptionfirstPart(); // 2. get the special part string specialDescription = GetContentFromXML(); // 3. get each listpoint string endDescription = GetDescrForEachPoint(smartArtShape); return(firstPartDescription + specialDescription + "\n\n" + endDescription); }