/** * Fetches the ALL the text of the powerpoint file, as a single string */ public String getTextAsString() { StringBuffer ret = new StringBuffer(); List<String> textV = getTextAsVector(); for(String text : textV) { ret.append(text); if(! text.endsWith("\n")) { ret.append('\n'); } } return ret.toString(); }
/** * Fetches the ALL the text of the powerpoint file, as a single string */ public String getTextAsString() { StringBuffer ret = new StringBuffer(); Vector<String> textV = getTextAsVector(); for(String text : textV) { ret.append(text); if(! text.endsWith("\n")) { ret.append('\n'); } } return ret.toString(); }