document.newPage();
}
private LinkedList<Paragraph> addChordsShape(ArrayList<String> chordsName) throws DocumentException{
ChordsDB chordsDB = ChordsDB.getInstance();
String notCatalogued = "";
LinkedList<Chunk> images = new LinkedList<Chunk>();
LinkedList<File> filesToDelete = new LinkedList<File>();
LinkedList<Paragraph> ret = new LinkedList<Paragraph>();
for(int i=0; i<chordsName.size();i++){
Chord chord = chordsDB.getChordByName(chordsName.get(i));
if(chord!=null){
ChordShapePanel csp = new ChordShapePanel(2, chord.getName(),chord.getShape());
BufferedImage im = csp.createImage();
try{
File tmp = File.createTempFile("datasoul-img", ".png");