/** * Fetches the ALL the text of the powerpoint file, in a List of * strings, one per text record */ public List<String> getTextAsVector() { List<String> textV = new ArrayList<>(); // Set to the start of the file int walkPos = 0; // Start walking the file, looking for the records while(walkPos != -1) { walkPos = findTextRecords(walkPos,textV); } // Return what we find return textV; }
/** * Fetches the ALL the text of the powerpoint file, in a vector of * strings, one per text record */ public Vector<String> getTextAsVector() { Vector<String> textV = new Vector<String>(); // Set to the start of the file int walkPos = 0; // Start walking the file, looking for the records while(walkPos != -1) { int newPos = findTextRecords(walkPos,textV); walkPos = newPos; } // Return what we find return textV; }