MAJ V4.4.2 - Ajout de la méthode evalSautPageColonne
|
@ -3,28 +3,6 @@
|
||||||
/evaluer/
|
/evaluer/
|
||||||
/fenetres/
|
/fenetres/
|
||||||
/list/
|
/list/
|
||||||
/open2.png
|
|
||||||
/openmax.png
|
|
||||||
/openmini.png
|
|
||||||
/ordreparagraphe.svg
|
|
||||||
/ou.png
|
|
||||||
/ouenviron.png
|
|
||||||
/ouenviron.svg
|
|
||||||
/ouenvironmini.png
|
|
||||||
/ouenvironsimilitude.png
|
|
||||||
/ouenvironsimilitude.svg
|
|
||||||
/ouenvironsimilitudemini.png
|
|
||||||
/oumini.png
|
|
||||||
/oustrict.png
|
|
||||||
/oustrict.svg
|
|
||||||
/oustrictmini.png
|
|
||||||
/oustrictseps.png
|
|
||||||
/oustrictseps.svg
|
|
||||||
/oustrictsepsmini.png
|
|
||||||
/paragraphe_source.svg
|
|
||||||
/paste.png
|
|
||||||
/piedpagenon.png
|
|
||||||
/piedpagenon.svg
|
|
||||||
/piedpagenonmini.png
|
/piedpagenonmini.png
|
||||||
/piedpageoui.png
|
/piedpageoui.png
|
||||||
/piedpageoui.svg
|
/piedpageoui.svg
|
||||||
|
|
After Width: | Height: | Size: 772 B |
After Width: | Height: | Size: 557 B |
|
@ -0,0 +1,101 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
width="45"
|
||||||
|
height="45"
|
||||||
|
viewBox="0 0 11.90625 11.90625"
|
||||||
|
version="1.1"
|
||||||
|
id="svg5"
|
||||||
|
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
|
||||||
|
sodipodi:docname="sautpageColonne.svg"
|
||||||
|
inkscape:export-filename="sautpagecolonnemini.png"
|
||||||
|
inkscape:export-xdpi="51.200001"
|
||||||
|
inkscape:export-ydpi="51.200001"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="namedview7"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1.0"
|
||||||
|
inkscape:showpageshadow="2"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pagecheckerboard="0"
|
||||||
|
inkscape:deskcolor="#d1d1d1"
|
||||||
|
inkscape:document-units="mm"
|
||||||
|
showgrid="false"
|
||||||
|
showguides="true"
|
||||||
|
inkscape:zoom="16.511111"
|
||||||
|
inkscape:cx="22.5"
|
||||||
|
inkscape:cy="22.076043"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="1009"
|
||||||
|
inkscape:window-x="-8"
|
||||||
|
inkscape:window-y="-8"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="layer1">
|
||||||
|
<sodipodi:guide
|
||||||
|
position="2.7722493,6.922611"
|
||||||
|
orientation="1,0"
|
||||||
|
id="guide1265"
|
||||||
|
inkscape:locked="false" />
|
||||||
|
<sodipodi:guide
|
||||||
|
position="9.0378533,10.544162"
|
||||||
|
orientation="1,0"
|
||||||
|
id="guide1267"
|
||||||
|
inkscape:locked="false" />
|
||||||
|
<sodipodi:guide
|
||||||
|
position="2.7722493,10.576211"
|
||||||
|
orientation="0,-1"
|
||||||
|
id="guide1269"
|
||||||
|
inkscape:locked="false" />
|
||||||
|
</sodipodi:namedview>
|
||||||
|
<defs
|
||||||
|
id="defs2">
|
||||||
|
<marker
|
||||||
|
style="overflow:visible"
|
||||||
|
id="Arrow4"
|
||||||
|
refX="0"
|
||||||
|
refY="0"
|
||||||
|
orient="auto-start-reverse"
|
||||||
|
inkscape:stockid="Arrow4"
|
||||||
|
markerWidth="5"
|
||||||
|
markerHeight="6"
|
||||||
|
viewBox="0 0 5 6"
|
||||||
|
inkscape:isstock="true"
|
||||||
|
inkscape:collect="always"
|
||||||
|
preserveAspectRatio="xMidYMid">
|
||||||
|
<path
|
||||||
|
style="fill:context-stroke;fill-rule:evenodd;stroke:none"
|
||||||
|
d="m 1,0 -3,3 h -2 l 3,-3 -3,-3 h 2 z"
|
||||||
|
id="path1741" />
|
||||||
|
</marker>
|
||||||
|
</defs>
|
||||||
|
<g
|
||||||
|
inkscape:label="Calque 1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1">
|
||||||
|
<rect
|
||||||
|
style="fill:#ffcc00;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
|
||||||
|
id="rect234"
|
||||||
|
width="5.3041301"
|
||||||
|
height="7.7238393"
|
||||||
|
x="0.49676141"
|
||||||
|
y="3.0767162" />
|
||||||
|
<rect
|
||||||
|
style="fill:#ffcc00;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
|
||||||
|
id="rect344"
|
||||||
|
width="5.3041301"
|
||||||
|
height="7.7238393"
|
||||||
|
x="6.3136778"
|
||||||
|
y="3.0286424" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:0.873125;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow4)"
|
||||||
|
d="m 2.7722493,5.6887196 0,-4.3586809 6.265604,3e-7 0,4.3907297"
|
||||||
|
id="path400"
|
||||||
|
sodipodi:nodetypes="cccc" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 772 B |
After Width: | Height: | Size: 557 B |
|
@ -158,10 +158,13 @@ public class calculNombrePointEvaluation {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(nod.getAttributs().get("evalSautPageColonne")!=null) {
|
||||||
|
try {
|
||||||
|
point = point + Integer.valueOf(nod.getAttributs().get("evalSautPageColonne"));
|
||||||
|
} catch (Exception e) {
|
||||||
|
JOptionPane.showInternalMessageDialog(null, "Erreur dans la valeur de l'attribut evalSautPageColonne");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//***********************************************
|
//***********************************************
|
||||||
//** Les points par la méthode analyseStyle *****
|
//** Les points par la méthode analyseStyle *****
|
||||||
|
|
|
@ -311,7 +311,7 @@ public class evaluation {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Traitement des points du paramètre
|
* Traitement des points de l'attribut.</br>
|
||||||
* @param B
|
* @param B
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
|
@ -748,7 +748,7 @@ public class evaluation {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sans les point
|
* Sans les point et le code ‽.</br>
|
||||||
* @param B
|
* @param B
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
|
@ -759,12 +759,21 @@ public class evaluation {
|
||||||
return B;
|
return B;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sans le code ¢.</br>
|
||||||
|
* @param B
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
public static String withoutCode(String B) {
|
public static String withoutCode(String B) {
|
||||||
B=B.replace("¢", "");
|
B=B.replace("¢", "");
|
||||||
return B;
|
return B;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sans le code ‽, ¢ et les points.</br>
|
||||||
|
* @param B
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
public static String withoutCodeAndPoint(String B) {
|
public static String withoutCodeAndPoint(String B) {
|
||||||
if(B!=null) {
|
if(B!=null) {
|
||||||
if(B.contains("‽")) B=B.substring(0, B.indexOf("‽"));
|
if(B.contains("‽")) B=B.substring(0, B.indexOf("‽"));
|
||||||
|
@ -774,7 +783,7 @@ public class evaluation {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Uniquement suppression des codes ‽, ↑, ↕, ≡, ¢<br>
|
* Uniquement suppression des codes ‽, ↑, ↕, ≡, ¢,╬ et les points<br>
|
||||||
* pour effectuer la recherche d'un node par son contenu.
|
* pour effectuer la recherche d'un node par son contenu.
|
||||||
* @param B un string
|
* @param B un string
|
||||||
* @return B un string
|
* @return B un string
|
||||||
|
@ -786,6 +795,7 @@ public class evaluation {
|
||||||
if(!B.isEmpty()) if(B.contains("↕")) B=B.replace("↕", "");
|
if(!B.isEmpty()) if(B.contains("↕")) B=B.replace("↕", "");
|
||||||
if(!B.isEmpty()) if(B.contains("≡")) B=B.replace("≡", "");
|
if(!B.isEmpty()) if(B.contains("≡")) B=B.replace("≡", "");
|
||||||
if(!B.isEmpty()) if(B.contains("¢")) B=B.replace("¢", "");
|
if(!B.isEmpty()) if(B.contains("¢")) B=B.replace("¢", "");
|
||||||
|
if(!B.isEmpty()) if(B.contains("╬")) B=B.replace("╬", "");
|
||||||
if(!B.isEmpty()) B=B.replaceAll("‽[0-9]{1,}", "");
|
if(!B.isEmpty()) B=B.replaceAll("‽[0-9]{1,}", "");
|
||||||
}
|
}
|
||||||
return B;
|
return B;
|
||||||
|
|
|
@ -336,6 +336,13 @@ public class evaluationAttribut {
|
||||||
retour = evalFormatageDirect(sujet,nodeStudent,retour,nameElt);
|
retour = evalFormatageDirect(sujet,nodeStudent,retour,nameElt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//evaluation de l'absence ou de la présence du saut de page ou de colonne
|
||||||
|
if(k.equals("evalSautPageColonne") && listeDesNodesFormatageDirect.isFormatageDirect(sujet)) {
|
||||||
|
retour = evalSautPageColonne(sujet,nodeStudent,retour,nameElt);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -607,7 +614,15 @@ public class evaluationAttribut {
|
||||||
return retour;
|
return retour;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Méthode evalFormatgeDirect.</br>
|
||||||
|
* Evaluer la présence ou l'absence d'un formatage direct d'un style.</br>
|
||||||
|
* @param sujet
|
||||||
|
* @param nodeStudent
|
||||||
|
* @param retour
|
||||||
|
* @param nameElt
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
private static node evalFormatageDirect(node sujet,node nodeStudent, node retour, String nameElt) {
|
private static node evalFormatageDirect(node sujet,node nodeStudent, node retour, String nameElt) {
|
||||||
if(nodeStudent!=null) {
|
if(nodeStudent!=null) {
|
||||||
String nameStyleStudent = "nonStudent";
|
String nameStyleStudent = "nonStudent";
|
||||||
|
@ -621,6 +636,7 @@ public class evaluationAttribut {
|
||||||
|
|
||||||
if(sujet.getAttributs().get("text:style-name")!=null) {
|
if(sujet.getAttributs().get("text:style-name")!=null) {
|
||||||
nameStyleSujet = sujet.getAttributs().get("text:style-name");
|
nameStyleSujet = sujet.getAttributs().get("text:style-name");
|
||||||
|
nameStyleSujet = evaluation.withoutCodeAndPointPourRechercheContenuExact(nameStyleSujet);
|
||||||
}
|
}
|
||||||
|
|
||||||
Pattern p = Pattern.compile("^P[0-9]{1,}$");
|
Pattern p = Pattern.compile("^P[0-9]{1,}$");
|
||||||
|
@ -663,6 +679,79 @@ public class evaluationAttribut {
|
||||||
return retour;
|
return retour;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Méthode evalSautPageColonne.</br>
|
||||||
|
* Evaluer la présence ou l'absence d'un saut de page ou de colonne.</br>
|
||||||
|
* @param sujet
|
||||||
|
* @param nodeStudent
|
||||||
|
* @param retour
|
||||||
|
* @param nameElt
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
private static node evalSautPageColonne(node sujet,node nodeStudent, node retour, String nameElt) {
|
||||||
|
if(nodeStudent!=null) {
|
||||||
|
String typeSautStudent = "pas de saut";
|
||||||
|
String typeSautSujet = "pas de saut";
|
||||||
|
|
||||||
|
if(nodeStudent.getAttributs().get("text:style-name")!=null) {
|
||||||
|
String styleName = nodeStudent.getAttributs().get("text:style-name");
|
||||||
|
node styleStudent = nodeStudent.racineDuNode().retourneFirstEnfantsByName("style:paragraph").retourneFirstNodeByNameAndAttributValueExactStrict("style:style", "style:name", styleName);
|
||||||
|
if(styleStudent!=null) {
|
||||||
|
styleStudent = styleStudent.retourneFirstEnfantsByName("style:paragraph-properties");
|
||||||
|
if(styleStudent!=null) {
|
||||||
|
if(styleStudent.getAttributs().get("fo:break-before")!=null) {
|
||||||
|
typeSautStudent = styleStudent.getAttributs().get("fo:break-before");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if(sujet.getAttributs().get("text:style-name")!=null) {
|
||||||
|
String styleName = sujet.getAttributs().get("text:style-name");
|
||||||
|
node styleSujet = sujet.racineDuNode().retourneFirstEnfantsByName("style:paragraph").retourneFirstNodeByNameAndAttributValueExactStrict("style:style", "style:name", styleName);
|
||||||
|
if(styleSujet!=null) {
|
||||||
|
styleSujet = styleSujet.retourneFirstEnfantsByName("style:paragraph-properties");
|
||||||
|
if(styleSujet!=null) {
|
||||||
|
if(styleSujet.getAttributs().get("fo:break-before")!=null) {
|
||||||
|
typeSautSujet = styleSujet.getAttributs().get("fo:break-before");
|
||||||
|
typeSautSujet = evaluation.withoutCodeAndPointPourRechercheContenuExact(typeSautSujet);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
retour = evaluationSautPageColonne(retour,typeSautStudent, typeSautSujet, sujet.getAttributs().get("evalSautPageColonne"),"Saut");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}else {
|
||||||
|
|
||||||
|
String typeSautStudent = "pas de saut";
|
||||||
|
String typeSautSujet = "pas de saut";
|
||||||
|
|
||||||
|
if(sujet.getAttributs().get("text:style-name")!=null) {
|
||||||
|
String styleName = sujet.getAttributs().get("text:style-name");
|
||||||
|
node styleSujet = sujet.racineDuNode().retourneFirstEnfantsByName("style:paragraph").retourneFirstNodeByNameAndAttributValueExactStrict("style:style", "style:name", styleName);
|
||||||
|
if(styleSujet!=null) {
|
||||||
|
styleSujet = styleSujet.retourneFirstEnfantsByName("style:paragraph-properties");
|
||||||
|
if(styleSujet!=null) {
|
||||||
|
if(styleSujet.getAttributs().get("fo:break-before")!=null) {
|
||||||
|
typeSautSujet = styleSujet.getAttributs().get("fo:break-before");
|
||||||
|
typeSautSujet = evaluation.withoutCodeAndPointPourRechercheContenuExact(typeSautSujet);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
retour = evaluationSautPageColonne(retour,typeSautStudent, typeSautSujet, sujet.getAttributs().get("evalSautPageColonne"),"Saut");
|
||||||
|
|
||||||
|
}
|
||||||
|
return retour;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//***********************************************************************************
|
//***********************************************************************************
|
||||||
|
@ -1001,6 +1090,29 @@ public class evaluationAttribut {
|
||||||
return retour;
|
return retour;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param retour
|
||||||
|
* @param formatStudent
|
||||||
|
* @param FormatSujet
|
||||||
|
* @param point
|
||||||
|
* @param nameElt
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
private static node evaluationSautPageColonne(node retour, String sautStudent, String sautSujet, String point, String nameElt) {
|
||||||
|
node item = null;
|
||||||
|
if(sautStudent!=null) {
|
||||||
|
//compare la même valeur "contenuParagraph" pour obtenir les points mais si un voisinage du contenu.
|
||||||
|
item = retourneNoteAvecResultatsAnalyse("Saut","", sautStudent , sautSujet + "‽" +point, nameElt );
|
||||||
|
}else {
|
||||||
|
evaluation.IncrementPointTotal(Integer.valueOf(point));
|
||||||
|
item = new node("Saut", "Erreur : -"+ point, "" , "null", sautSujet , 2, evaluation.getPointEnJeu(),nameElt);
|
||||||
|
}
|
||||||
|
retour.getNodes().add(item);
|
||||||
|
return retour;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Evaluation du dernier enfant.</br>
|
* Evaluation du dernier enfant.</br>
|
||||||
|
|
|
@ -76,6 +76,7 @@ public class afficheText extends JEditorPane {
|
||||||
String imageIsDoublon= "<img src="+afficheText.class.getResource("/resources/rechercheDoublonmini.png").toString()+">";
|
String imageIsDoublon= "<img src="+afficheText.class.getResource("/resources/rechercheDoublonmini.png").toString()+">";
|
||||||
String imageEvalAncrageNumeroAbsoluPage= "<img src="+afficheText.class.getResource("/resources/evalnumeropageancragemini.png").toString()+">";
|
String imageEvalAncrageNumeroAbsoluPage= "<img src="+afficheText.class.getResource("/resources/evalnumeropageancragemini.png").toString()+">";
|
||||||
String imageEvalFormatageDirect= "<img src="+afficheText.class.getResource("/resources/evalformatagedirectmini.png").toString()+">";
|
String imageEvalFormatageDirect= "<img src="+afficheText.class.getResource("/resources/evalformatagedirectmini.png").toString()+">";
|
||||||
|
String imageEvalSautPageColonne= "<img src="+afficheText.class.getResource("/resources/sautpagecolonnemini.png").toString()+">";
|
||||||
|
|
||||||
|
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
|
@ -150,106 +151,109 @@ public class afficheText extends JEditorPane {
|
||||||
Pattern p = Pattern.compile("[1-9]$|[0-9]{2,}$");
|
Pattern p = Pattern.compile("[1-9]$|[0-9]{2,}$");
|
||||||
Matcher m = p.matcher(nod.getAttributs().get(Lesattributsdunode.get(i)));
|
Matcher m = p.matcher(nod.getAttributs().get(Lesattributsdunode.get(i)));
|
||||||
if(m.find()) {
|
if(m.find()) {
|
||||||
sb.append("<li class=\"p4\">"+imageAllContent + " <b>" + Lesattributsdunode.get(i) + "=\"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imageAllContent + "<b> " + Lesattributsdunode.get(i) + "=\"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("marquenode")) {
|
if(Lesattributsdunode.get(i).equals("marquenode")) {
|
||||||
if(nod.getAttributs().get(Lesattributsdunode.get(i)).length()>0) {
|
if(nod.getAttributs().get(Lesattributsdunode.get(i)).length()>0) {
|
||||||
sb.append("<li class=\"p4\">"+imageMarqueNode + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imageMarqueNode + "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
}if(Lesattributsdunode.get(i).equals("information")) {
|
}if(Lesattributsdunode.get(i).equals("information")) {
|
||||||
if(nod.getAttributs().get(Lesattributsdunode.get(i)).length()>0) {
|
if(nod.getAttributs().get(Lesattributsdunode.get(i)).length()>0) {
|
||||||
sb.append("<li class=\"p4\">"+imageInformation + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imageInformation + "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("titre")||Lesattributsdunode.get(i).equals("titre1")||Lesattributsdunode.get(i).equals("titre2")||Lesattributsdunode.get(i).equals("titre3")) {
|
if(Lesattributsdunode.get(i).equals("titre")||Lesattributsdunode.get(i).equals("titre1")||Lesattributsdunode.get(i).equals("titre2")||Lesattributsdunode.get(i).equals("titre3")) {
|
||||||
if(nod.getAttributs().get(Lesattributsdunode.get(i)).length()>0) {
|
if(nod.getAttributs().get(Lesattributsdunode.get(i)).length()>0) {
|
||||||
sb.append("<li class=\"p4\">"+imageTitre + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imageTitre + "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("saut") && nod.getAttributs().get(Lesattributsdunode.get(i)).equals("true")) {
|
if(Lesattributsdunode.get(i).equals("saut") && nod.getAttributs().get(Lesattributsdunode.get(i)).equals("true")) {
|
||||||
sb.append("<li class=\"p4\">"+imageSaut + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imageSaut + "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("addmenu") && nod.getAttributs().get(Lesattributsdunode.get(i)).equals("true")) {
|
if(Lesattributsdunode.get(i).equals("addmenu") && nod.getAttributs().get(Lesattributsdunode.get(i)).equals("true")) {
|
||||||
sb.append("<li class=\"p4\">"+imageaddmenu + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imageaddmenu + "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("recherche_index") && nod.getAttributs().get(Lesattributsdunode.get(i)).equals("true")) {
|
if(Lesattributsdunode.get(i).equals("recherche_index") && nod.getAttributs().get(Lesattributsdunode.get(i)).equals("true")) {
|
||||||
sb.append("<li class=\"p4\">"+imagerechercheIndex + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imagerechercheIndex + "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("recherche_contenu_exact") && nod.getAttributs().get(Lesattributsdunode.get(i)).equals("true")) {
|
if(Lesattributsdunode.get(i).equals("recherche_contenu_exact") && nod.getAttributs().get(Lesattributsdunode.get(i)).equals("true")) {
|
||||||
sb.append("<li class=\"p4\">"+imagerechercheContenuExact + " <b>" + Lesattributsdunode.get(i) + "=\"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imagerechercheContenuExact + "<b> " + Lesattributsdunode.get(i) + "=\"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("analyseStyle") && nod.getAttributs().get(Lesattributsdunode.get(i)).equals("true")) {
|
if(Lesattributsdunode.get(i).equals("analyseStyle") && nod.getAttributs().get(Lesattributsdunode.get(i)).equals("true")) {
|
||||||
sb.append("<li class=\"p4\">"+imagereanalyseStyle + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imagereanalyseStyle + "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("evalNameNode") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
if(Lesattributsdunode.get(i).equals("evalNameNode") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
sb.append("<li class=\"p4\">"+imagereEvaleNode + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imagereEvaleNode + "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("recherche_anchor-page-number") && nod.getAttributs().get(Lesattributsdunode.get(i)).equals("true")) {
|
if(Lesattributsdunode.get(i).equals("recherche_anchor-page-number") && nod.getAttributs().get(Lesattributsdunode.get(i)).equals("true")) {
|
||||||
sb.append("<li class=\"p4\">"+imagereRechercheAncragePage + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imagereRechercheAncragePage + "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("recherche_contenu_plus_proche_voisin") && nod.getAttributs().get(Lesattributsdunode.get(i)).equals("true")) {
|
if(Lesattributsdunode.get(i).equals("recherche_contenu_plus_proche_voisin") && nod.getAttributs().get(Lesattributsdunode.get(i)).equals("true")) {
|
||||||
sb.append("<li class=\"p4\">"+imagereRecherchePlusProcheVoisin + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imagereRecherchePlusProcheVoisin + "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("evalNameInitialCreator") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
if(Lesattributsdunode.get(i).equals("evalNameInitialCreator") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
sb.append("<li class=\"p4\">"+imagerePremierAuteur + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imagerePremierAuteur + "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("evalNameCreator") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
if(Lesattributsdunode.get(i).equals("evalNameCreator") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
sb.append("<li class=\"p4\">"+imagereDernierEditeur + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imagereDernierEditeur + "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("EvaluerATraversAnalyseStyle") && nod.getAttributs().get(Lesattributsdunode.get(i)).equals("true")) {
|
if(Lesattributsdunode.get(i).equals("EvaluerATraversAnalyseStyle") && nod.getAttributs().get(Lesattributsdunode.get(i)).equals("true")) {
|
||||||
sb.append("<li class=\"p4\">"+imageAtraversAnalyseStyle + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imageAtraversAnalyseStyle + "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("evalEntetePasActive") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
if(Lesattributsdunode.get(i).equals("evalEntetePasActive") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
sb.append("<li class=\"p4\">"+imageEntetePasActive + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imageEntetePasActive + "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("evalPiedPagePasActive") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
if(Lesattributsdunode.get(i).equals("evalPiedPagePasActive") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
sb.append("<li class=\"p4\">"+imagePiedPagePasActive + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imagePiedPagePasActive + "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("evalNameSequence") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
if(Lesattributsdunode.get(i).equals("evalNameSequence") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
sb.append("<li class=\"p4\">"+imageEvalNameSequence + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imageEvalNameSequence + "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("evalNamePage") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
if(Lesattributsdunode.get(i).equals("evalNamePage") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
sb.append("<li class=\"p4\">"+imageEvalNamePage + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imageEvalNamePage + "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("evalNumeroPage") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
if(Lesattributsdunode.get(i).equals("evalNumeroPage") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
sb.append("<li class=\"p4\">"+imageEvalNumeroPage + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imageEvalNumeroPage + "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("evalNumeroAbsoluePage") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
if(Lesattributsdunode.get(i).equals("evalNumeroAbsoluePage") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
sb.append("<li class=\"p4\">"+imageEvalNumeroAbsoluePage + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imageEvalNumeroAbsoluePage + "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("poids") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
if(Lesattributsdunode.get(i).equals("poids") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
sb.append("<li class=\"p4\">"+imagePoids + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imagePoids + "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("evalTextUserDefined") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
if(Lesattributsdunode.get(i).equals("evalTextUserDefined") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
sb.append("<li class=\"p4\">"+imageEvalTextUserDefined + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imageEvalTextUserDefined + "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("evalEnteteActive") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
if(Lesattributsdunode.get(i).equals("evalEnteteActive") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
sb.append("<li class=\"p4\">"+imageEnteteActive + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imageEnteteActive + "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("evalPiedPageActive") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
if(Lesattributsdunode.get(i).equals("evalPiedPageActive") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
sb.append("<li class=\"p4\">"+imagePiedPageActive + " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imagePiedPageActive + "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("evalPlacement") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
if(Lesattributsdunode.get(i).equals("evalPlacement") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
sb.append("<li class=\"p4\">"+imageEvalPlacement+ " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imageEvalPlacement+ "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("evalLastChild") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
if(Lesattributsdunode.get(i).equals("evalLastChild") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
sb.append("<li class=\"p4\">"+imageDernierEnfant+ " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imageDernierEnfant+ "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("evalFirstChild") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
if(Lesattributsdunode.get(i).equals("evalFirstChild") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
sb.append("<li class=\"p4\">"+imagePremierEnfant+ " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imagePremierEnfant+ "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("evalNameLegacyStyle") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
if(Lesattributsdunode.get(i).equals("evalNameLegacyStyle") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
sb.append("<li class=\"p4\">"+imageEvalNameLegacyStyle+ " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imageEvalNameLegacyStyle+ "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("isDoublon") && nod.getAttributs().get(Lesattributsdunode.get(i)).equals("true")) {
|
if(Lesattributsdunode.get(i).equals("isDoublon") && nod.getAttributs().get(Lesattributsdunode.get(i)).equals("true")) {
|
||||||
sb.append("<li class=\"p4\">"+imageIsDoublon+ " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imageIsDoublon+ "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("evalAncrageNumeroAbsoluePage") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
if(Lesattributsdunode.get(i).equals("evalAncrageNumeroAbsoluePage") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
sb.append("<li class=\"p4\">"+imageEvalAncrageNumeroAbsoluPage+ " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imageEvalAncrageNumeroAbsoluPage+ "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
if(Lesattributsdunode.get(i).equals("evalFormatageDirect") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
if(Lesattributsdunode.get(i).equals("evalFormatageDirect") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
sb.append("<li class=\"p4\">"+imageEvalFormatageDirect+ " <b>" + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
sb.append("<li class=\"p4\">"+imageEvalFormatageDirect+ "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
|
}
|
||||||
|
if(Lesattributsdunode.get(i).equals("evalSautPageColonne") && !nod.getAttributs().get(Lesattributsdunode.get(i)).equals("0")) {
|
||||||
|
sb.append("<li class=\"p4\">"+imageEvalSautPageColonne+ "<b> " + Lesattributsdunode.get(i) + " = \"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
}
|
}
|
||||||
|
|
||||||
// sb.append("<li class=\"p4\"><b>" + Lesattributsdunode.get(i) + "=\"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
// sb.append("<li class=\"p4\"><b>" + Lesattributsdunode.get(i) + "=\"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");
|
||||||
|
|
|
@ -71,18 +71,17 @@ public class allContent extends JFrame {
|
||||||
int screenHeight = (int) java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds().getHeight();
|
int screenHeight = (int) java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds().getHeight();
|
||||||
setLocation(( (screenWidth) - getWidth()) / 2, (screenHeight - getHeight()) / 2);
|
setLocation(( (screenWidth) - getWidth()) / 2, (screenHeight - getHeight()) / 2);
|
||||||
|
|
||||||
setTitle("allContent" + commandes.Titre + " " + commandes.version + " " + commandes.branch);
|
setTitle("allContent " + commandes.Titre + " " + commandes.version + " " + commandes.branch);
|
||||||
setIconImage(img.getImage());
|
setIconImage(img.getImage());
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
contentPane = new JPanel();
|
contentPane = new JPanel();
|
||||||
contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
|
contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
|
||||||
setContentPane(contentPane);
|
setContentPane(contentPane);
|
||||||
contentPane.setLayout(null);
|
contentPane.setLayout(null);
|
||||||
|
|
||||||
JButton btnNewButton = new JButton("Valide");
|
JButton btnNewButton = new JButton("Valider");
|
||||||
|
btnNewButton.setIcon(new ImageIcon(allContent.class.getResource("/resources/truemini.png")));
|
||||||
btnNewButton.setFont(new Font("Tahoma", Font.BOLD, 12));
|
btnNewButton.setFont(new Font("Tahoma", Font.BOLD, 12));
|
||||||
btnNewButton.setBounds(394, 237, 121, 39);
|
btnNewButton.setBounds(394, 237, 121, 39);
|
||||||
contentPane.add(btnNewButton);
|
contentPane.add(btnNewButton);
|
||||||
|
@ -134,6 +133,12 @@ public class allContent extends JFrame {
|
||||||
lblExplication.setBounds(10, 158, 520, 56);
|
lblExplication.setBounds(10, 158, 520, 56);
|
||||||
contentPane.add(lblExplication);
|
contentPane.add(lblExplication);
|
||||||
|
|
||||||
|
JLabel lblNewLabel = new JLabel("Pour annuler la méthode, saisissez 0 point.");
|
||||||
|
lblNewLabel.setFont(new Font("Tahoma", Font.PLAIN, 12));
|
||||||
|
lblNewLabel.setIcon(new ImageIcon(allContent.class.getResource("/resources/falsemini.png")));
|
||||||
|
lblNewLabel.setBounds(240, 69, 275, 23);
|
||||||
|
contentPane.add(lblNewLabel);
|
||||||
|
|
||||||
|
|
||||||
comboBoxValeur.addActionListener(new ActionListener() {
|
comboBoxValeur.addActionListener(new ActionListener() {
|
||||||
public void actionPerformed(ActionEvent e) {
|
public void actionPerformed(ActionEvent e) {
|
||||||
|
|
|
@ -45,6 +45,8 @@ import fenetres.create_act.actEvalPiedPagePasActive;
|
||||||
import fenetres.create_act.actEvalPiedPagePasActiveNon;
|
import fenetres.create_act.actEvalPiedPagePasActiveNon;
|
||||||
import fenetres.create_act.actEvalPlacementParagrapheNon;
|
import fenetres.create_act.actEvalPlacementParagrapheNon;
|
||||||
import fenetres.create_act.actEvalPlacementParagrapheOui;
|
import fenetres.create_act.actEvalPlacementParagrapheOui;
|
||||||
|
import fenetres.create_act.actEvalSautPageColonneNon;
|
||||||
|
import fenetres.create_act.actEvalSautPageColonneOui;
|
||||||
import fenetres.create_act.actEvalTextUserDefinedNon;
|
import fenetres.create_act.actEvalTextUserDefinedNon;
|
||||||
import fenetres.create_act.actEvalTextUserDefinedOui;
|
import fenetres.create_act.actEvalTextUserDefinedOui;
|
||||||
import fenetres.create_act.actEvalueFalse;
|
import fenetres.create_act.actEvalueFalse;
|
||||||
|
@ -616,7 +618,7 @@ public class createPopupMenu extends JPopupMenu {
|
||||||
* 1-du node précédent (avant).</br>
|
* 1-du node précédent (avant).</br>
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
private JMenu mnPlacementParagraphe() {
|
private JMenu mnEvalPlacementParagraphe() {
|
||||||
JMenu mnPlacementParagraphe = new JMenu("Placement des paragraphes");
|
JMenu mnPlacementParagraphe = new JMenu("Placement des paragraphes");
|
||||||
mnPlacementParagraphe.setIcon(new ImageIcon(create.class.getResource("/resources/ordreparagraphemini.png")));
|
mnPlacementParagraphe.setIcon(new ImageIcon(create.class.getResource("/resources/ordreparagraphemini.png")));
|
||||||
mnPlacementParagraphe.add(new actEvalPlacementParagrapheOui());
|
mnPlacementParagraphe.add(new actEvalPlacementParagrapheOui());
|
||||||
|
@ -703,7 +705,13 @@ public class createPopupMenu extends JPopupMenu {
|
||||||
return mnevalNameLegacyStyle;
|
return mnevalNameLegacyStyle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private JMenu mnEvalSautPageColonne() {
|
||||||
|
JMenu mnEvalSautPageColonne = new JMenu("Evaluer le saut de page ou de colonne");
|
||||||
|
mnEvalSautPageColonne.setIcon( new ImageIcon(create.class.getResource("/resources/sautpagecolonnemini.png")));
|
||||||
|
mnEvalSautPageColonne.add(new actEvalSautPageColonneOui());
|
||||||
|
mnEvalSautPageColonne.add( new actEvalSautPageColonneNon());
|
||||||
|
return mnEvalSautPageColonne;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Menu regroupant les menus permettant de recherche un node par son contenu textuel.</br>
|
* Menu regroupant les menus permettant de recherche un node par son contenu textuel.</br>
|
||||||
|
@ -757,6 +765,8 @@ public class createPopupMenu extends JPopupMenu {
|
||||||
if(listeDesNodesFormatageDirect.isFormatageDirect(nod)) {
|
if(listeDesNodesFormatageDirect.isFormatageDirect(nod)) {
|
||||||
mnGroupeMethodeEvaluer.addSeparator();
|
mnGroupeMethodeEvaluer.addSeparator();
|
||||||
mnGroupeMethodeEvaluer.add(mnEvalFormatageDirect());
|
mnGroupeMethodeEvaluer.add(mnEvalFormatageDirect());
|
||||||
|
mnGroupeMethodeEvaluer.addSeparator();
|
||||||
|
mnGroupeMethodeEvaluer.add(mnEvalSautPageColonne());
|
||||||
}
|
}
|
||||||
|
|
||||||
if(listeEvalNameNode.isNodeEvalNameNode(nod)) {
|
if(listeEvalNameNode.isNodeEvalNameNode(nod)) {
|
||||||
|
@ -772,6 +782,8 @@ public class createPopupMenu extends JPopupMenu {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(listeDesNodesEvalPlacement.isPlacement(nod)) {
|
if(listeDesNodesEvalPlacement.isPlacement(nod)) {
|
||||||
|
mnGroupeMethodeEvaluer.addSeparator();
|
||||||
|
mnGroupeMethodeEvaluer.add(mnEvalPlacementParagraphe());
|
||||||
mnGroupeMethodeEvaluer.addSeparator();
|
mnGroupeMethodeEvaluer.addSeparator();
|
||||||
mnGroupeMethodeEvaluer.add(mnEvaluerPremierEnfant());
|
mnGroupeMethodeEvaluer.add(mnEvaluerPremierEnfant());
|
||||||
mnGroupeMethodeEvaluer.addSeparator();
|
mnGroupeMethodeEvaluer.addSeparator();
|
||||||
|
@ -849,7 +861,7 @@ public class createPopupMenu extends JPopupMenu {
|
||||||
if(listeDesNodesEvalPlacement.isPlacement(nod)) {
|
if(listeDesNodesEvalPlacement.isPlacement(nod)) {
|
||||||
if(listeDesNodesPourEvaluerPage.isPage(nod)) {
|
if(listeDesNodesPourEvaluerPage.isPage(nod)) {
|
||||||
mnGroupeMethodeEvaluerMultiple.addSeparator();
|
mnGroupeMethodeEvaluerMultiple.addSeparator();
|
||||||
mnGroupeMethodeEvaluerMultiple.add(mnPlacementParagraphe());
|
mnGroupeMethodeEvaluerMultiple.add(mnEvalPlacementParagraphe());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
package fenetres.create_act;
|
||||||
|
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
|
||||||
|
import javax.swing.AbstractAction;
|
||||||
|
import javax.swing.Action;
|
||||||
|
import javax.swing.ImageIcon;
|
||||||
|
|
||||||
|
import cXML.node;
|
||||||
|
import fenetres.create;
|
||||||
|
|
||||||
|
public class actEvalSautPageColonneNon extends AbstractAction{
|
||||||
|
{
|
||||||
|
putValue( Action.NAME, "Supprime l'évaluation du saut dans le paragraphe" );
|
||||||
|
putValue( Action.SHORT_DESCRIPTION, "Supprime l'évaluation du saut dans le paragraphe." );
|
||||||
|
putValue( Action.SMALL_ICON, new ImageIcon(create.class.getResource("/resources/falsemini.png")) );
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void actionPerformed(ActionEvent e) {
|
||||||
|
node nod = (node) fenetres.create.getSelectNode().getUserObject();
|
||||||
|
nod.supprimeAttribut("evalSautPageColonne");
|
||||||
|
fenetres.create.getTextNodeSelect().refreshAffichage(nod); }
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,54 @@
|
||||||
|
package fenetres.create_act;
|
||||||
|
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
|
||||||
|
import javax.swing.AbstractAction;
|
||||||
|
import javax.swing.Action;
|
||||||
|
import javax.swing.ImageIcon;
|
||||||
|
import javax.swing.JOptionPane;
|
||||||
|
|
||||||
|
import cXML.node;
|
||||||
|
import fenetres.baliseStyle;
|
||||||
|
import fenetres.create;
|
||||||
|
|
||||||
|
public class actEvalSautPageColonneOui extends AbstractAction{
|
||||||
|
{
|
||||||
|
putValue( Action.NAME, "Oui, combien de point?" );
|
||||||
|
putValue( Action.SHORT_DESCRIPTION, "Evaluer la présence ou l'absence d'un saut" );
|
||||||
|
putValue( Action.SMALL_ICON, new ImageIcon(create.class.getResource("/resources/truemini.png")) );
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void actionPerformed(ActionEvent e) {
|
||||||
|
node nod = (node) fenetres.create.getSelectNode().getUserObject();
|
||||||
|
int point = 0;
|
||||||
|
if(nod.getAttributs().get("evalSautPageColonne")!=null) {
|
||||||
|
point = Integer.valueOf(nod.getAttributs().get("evalSautPageColonne"));
|
||||||
|
}
|
||||||
|
|
||||||
|
String a = JOptionPane.showInputDialog(null,"Quel est le nombre de point?",point);
|
||||||
|
|
||||||
|
if(!a.isEmpty()) {
|
||||||
|
try {
|
||||||
|
point = Integer.valueOf(a);
|
||||||
|
if(point<=0) {
|
||||||
|
nod.getAttributs().put("evalSautPageColonne", String.valueOf(0));
|
||||||
|
fenetres.create.getTextNodeSelect().setText(baliseStyle.balise());
|
||||||
|
fenetres.create.getTextNodeSelect().setText("<h2>Erreur la valeur doit être un nombre entier POSITIF supérieur à zéro.<br>Cependant,la valeur a été modifiée.<br>evalSautPageColonne=0.</h2>");
|
||||||
|
}else {
|
||||||
|
nod.getAttributs().put("evalSautPageColonne", String.valueOf(point));
|
||||||
|
}
|
||||||
|
} catch (Exception e2) {
|
||||||
|
fenetres.create.getTextNodeSelect().setText(baliseStyle.balise());
|
||||||
|
fenetres.create.getTextNodeSelect().setText("<h2>Erreur la valeur doit être un nombre entier.<br>L'attribut n'a pas été modifiée.</h2>");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
fenetres.create.getTextNodeSelect().refreshAffichage(nod);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -54,7 +54,7 @@ public class listeAttributsAnalyseWriter {
|
||||||
case "evalFirstChild": return true;
|
case "evalFirstChild": return true;
|
||||||
case "evalAncrageNumeroAbsoluePage": return true;
|
case "evalAncrageNumeroAbsoluePage": return true;
|
||||||
case "evalFormatageDirect": return true;
|
case "evalFormatageDirect": return true;
|
||||||
|
case "evalSautPageColonne": return true;
|
||||||
|
|
||||||
case "analysis_filename": return true;
|
case "analysis_filename": return true;
|
||||||
case "auteur": return true;
|
case "auteur": return true;
|
||||||
|
|
After Width: | Height: | Size: 772 B |
After Width: | Height: | Size: 557 B |