This commit is contained in:
pablo rodriguez 2022-05-26 20:15:20 +02:00
parent 5d67dfe080
commit e972bb5be8
12 changed files with 10 additions and 22 deletions

Binary file not shown.

4
bin/.gitignore vendored
View File

@ -1,2 +1,6 @@
/MEPTL/
/app/
/fichierODF.png
/fichierSVG.png
/fichier_analyseXML.svg
/fichier_svg.svg

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -481,7 +481,8 @@ public class meptl {
* @return le node contenant tous les nodes de la lectures.
* @throws IOException Input Output exception file.
*/
public static node LectureFichierEtudiantSousFormeDeNode(node nod, Run a, Integer i) throws IOException {
@SuppressWarnings("unchecked")
public static node LectureFichierEtudiantSousFormeDeNode(node nod, Run a, Integer i) throws IOException {
node nodecontent = nod.retourneFirstEnfantsByName("office:document-content");
node nodestyle = nod.retourneFirstEnfantsByName("office:document-styles");
node nodbody = nod.retourneFirstEnfantsByName("office:text"); //a.NodeFirstName(nodecontent, "office:text");

View File

@ -1,12 +1,7 @@
package app;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.IOException;
@ -27,26 +22,12 @@ import javax.xml.parsers.ParserConfigurationException;
import org.xml.sax.SAXException;
import MEPTL.commandes;
import MEPTL.feedbacks;
import MEPTL.meptl;
import cXML.Run;
import cXML.node;
import net.lingala.zip4j.exception.ZipException;
import javax.swing.SwingConstants;
import javax.swing.Timer;
import java.awt.GridLayout;
import java.awt.Image;
import javax.swing.JTextArea;
import javax.swing.JScrollPane;
import java.awt.Component;
import javax.swing.Box;
import javax.swing.JEditorPane;
import javax.swing.JProgressBar;
import javax.swing.JSeparator;
import net.miginfocom.swing.MigLayout;
import java.awt.Label;
public class evaluate extends JFrame {
@ -328,7 +309,6 @@ public class evaluate extends JFrame {
} catch (ParserConfigurationException | SAXException | IOException | CloneNotSupportedException e1) {
e1.printStackTrace();
} catch (InterruptedException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
}else {

View File

@ -3,7 +3,6 @@ package app;
import java.awt.Color;
import java.awt.EventQueue;
import java.awt.Font;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

View File

@ -13,6 +13,10 @@ import java.awt.event.ActionEvent;
public class msgBox extends JDialog {
/**
*
*/
private static final long serialVersionUID = 1L;
private final JPanel contentPanel = new JPanel();