salomeTMF_plug.pluginxlsxml.Commun
Class EcritEntete

java.lang.Object
  extended by salomeTMF_plug.pluginxlsxml.Commun.EcritEntete

public class EcritEntete
extends java.lang.Object

/**

Author:
adm_dfej

Field Summary
private  jxl.write.WritableFont arial11Font
           
private  jxl.write.WritableCellFormat arial11Format
           
private  jxl.write.WritableCellFeatures cellFeatures
           
private  jxl.write.WritableCellFormat celluleDescritpion
          Format de celule normale encadrée avec centrage haut et justifié
private  jxl.write.WritableFont celluleNorm
           
private  jxl.write.WritableCellFormat celluleNormale
          Format de celule normale encadrée
private  jxl.write.WritableCellFormat celluleNormaleNombre
          Format de celule normale encadrée pour les nombres
private  jxl.write.WritableCellFormat celluleNormaleNombreH
          Format de celule normale encadrée avec Centrage horizontal seulement
private  jxl.write.WritableCellFormat celulleCentreeHetV
          Format de celule normale encadrée avec centrage Horizontal et Vertical
private static int DIFFERENCE_COLONNE_ACTION_A_REALISER
          Nombre de colonnes entre la colonne Exigence et la colonne nommée
private static int DIFFERENCE_COLONNE_ACTION_ATTENDUE
          Nombre de colonnes entre la colonne Exigence et la colonne nommée
private static int DIFFERENCE_COLONNE_ACTION_OBTENUE
          Nombre de colonnes entre la colonne Exigence et la colonne nommée
private static int DIFFERENCE_COLONNE_CAS_DE_TESTS
          Nombre de colonnes entre la colonne Exigence et la colonne nommée
private static int DIFFERENCE_COLONNE_CATEGORIE
          Nombre de colonnes entre la colonne Exigence et la colonne nommée
private static int DIFFERENCE_COLONNE_COMPLEXITE
          Nombre de colonnes entre la colonne Exigence et la colonne nommée
private static int DIFFERENCE_COLONNE_DESCRIPTION
          Nombre de colonnes entre la colonne Exigence et la colonne nommée
private static int DIFFERENCE_COLONNE_DESCRIPTION_TESTS
          Nombre de colonnes entre la colonne Exigence et la colonne nommée
private static int DIFFERENCE_COLONNE_ETAT
          Nombre de colonnes entre la colonne Exigence et la colonne nommée
private static int DIFFERENCE_COLONNE_EXECUTE
          Nombre de colonnes entre la colonne Exigence et la colonne nommée
private static int DIFFERENCE_COLONNE_LIEN_HYPERTEXTE
          Nombre de colonnes entre la colonne Exigence et la colonne nommée
private static int DIFFERENCE_COLONNE_NUMERO
          Nombre de colonnes entre la colonne Exigence et la colonne nommée
private static int DIFFERENCE_COLONNE_ORIGINE
          Nombre de colonnes entre la colonne Exigence et la colonne nommée
private static int DIFFERENCE_COLONNE_PIECE_JOINTE
          Nombre de colonnes entre la colonne Exigence et la colonne nommée
private static int DIFFERENCE_COLONNE_PRIORITE
          Nombre de colonnes entre la colonne Exigence et la colonne nommée
private static int DIFFERENCE_COLONNE_REFERENCE
          Nombre de colonnes entre la colonne Exigence et la colonne nommée
private static int DIFFERENCE_COLONNE_TEST_LIEN_HYPERTEXTE
          Nombre de colonnes entre la colonne Exigence et la colonne nommée
private static int DIFFERENCE_COLONNE_TEST_PIECE_JOINTE
          Nombre de colonnes entre la colonne Exigence et la colonne nommée
private static int DIFFERENCE_COLONNE_VERIFWAY
          Nombre de colonnes entre la colonne Exigence et la colonne nommée
private static int DIFFERENCE_COLONNE_VERSION
          Nombre de colonnes entre la colonne Exigence et la colonne nommée
private  jxl.write.Label label
           
private  jxl.write.Number nombre
           
private  int nombreLigneRequirementLu
           
private  int numeroColonne
           
private  int numeroColonneExigence
           
private  int numeroLigne
           
private  jxl.write.WritableSheet sheet
           
private static int TAILLE_GRANDE_COLONNE
          Definit la largeur d'une colonne
private static int TAILLE_MOYENNE_COLONNE
          Definit la largeur d'une colonne
private static int TAILLE_PETITE_COLONNE
          Definit la largeur d'une colonne
private  jxl.write.WritableSheet testSheet
           
private  jxl.write.WritableWorkbook workbook
           
 
Constructor Summary
EcritEntete(java.lang.String Exigencelu, java.io.File fichierDeSortieXLS)
          Ecrit la première ligne de la feuille Excel (nom des colonnes)
 
Method Summary
 void AddAColumnForLevel()
          Fonction permettant à la volée de rajouter des colonnes de sous catégorie lors de la création de la feuille Excel
 void closeWorkbook()
          Ferme la feuille excel
 jxl.write.WritableCellFormat getcelluleDescritpion()
           
 jxl.write.WritableCellFormat getcelluleNormale()
           
 jxl.write.WritableCellFormat getcelluleNormaleNombre()
           
 jxl.write.WritableCellFormat getcelluleNormaleNombreH()
           
 jxl.write.WritableCellFormat getcelulleCentreeHetV()
           
 int getDIFFERENCE_COLONNE_ACTION_A_REALISER()
           
 int getDIFFERENCE_COLONNE_ACTION_ATTENDUE()
           
 int getDIFFERENCE_COLONNE_ACTION_OBTENUE()
           
 int getDIFFERENCE_COLONNE_CAS_DE_TESTS()
           
 int getDIFFERENCE_COLONNE_CATEGORIE()
           
 int getDIFFERENCE_COLONNE_COMPLEXITE()
           
 int getDIFFERENCE_COLONNE_DESCRIPTION_TESTS()
           
 int getDIFFERENCE_COLONNE_DESCRIPTION()
           
 int getDIFFERENCE_COLONNE_ETAT()
           
 int getDIFFERENCE_COLONNE_EXECUTE()
           
 int getDIFFERENCE_COLONNE_LIEN_HYPERTEXTE()
           
 int getDIFFERENCE_COLONNE_NUMERO()
           
 int getDIFFERENCE_COLONNE_ORIGINE()
           
 int getDIFFERENCE_COLONNE_PIECE_JOINTE()
           
 int getDIFFERENCE_COLONNE_PRIORITE()
           
 int getDIFFERENCE_COLONNE_REFERENCE()
           
 int getDIFFERENCE_COLONNE_TEST_LIEN_HYPERTEXTE()
           
 int getDIFFERENCE_COLONNE_TEST_PIECE_JOINTE()
           
 int getDIFFERENCE_COLONNE_VERIFWAY()
           
 int getDIFFERENCE_COLONNE_VERSION()
           
 int getNumeroColonne()
          Récupère le numéro de colonne de la colonne Exigence
 jxl.write.WritableWorkbook getWorkbookHeading()
          Recupère la feuille Excel
 void makeExample()
          Fonctionn remplissant un modele vierge pour exemple
 void setNumeroColonne(int nombre)
          Fonction permettant d'ecraser le numéro colonne exigence
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numeroColonne

private int numeroColonne

numeroLigne

private int numeroLigne

nombreLigneRequirementLu

private int nombreLigneRequirementLu

numeroColonneExigence

private int numeroColonneExigence

workbook

private jxl.write.WritableWorkbook workbook

sheet

private jxl.write.WritableSheet sheet

testSheet

private jxl.write.WritableSheet testSheet

arial11Font

private jxl.write.WritableFont arial11Font

arial11Format

private jxl.write.WritableCellFormat arial11Format

celluleNorm

private jxl.write.WritableFont celluleNorm

cellFeatures

private jxl.write.WritableCellFeatures cellFeatures

label

private jxl.write.Label label

nombre

private jxl.write.Number nombre

celluleNormale

private jxl.write.WritableCellFormat celluleNormale
Format de celule normale encadrée


celluleNormaleNombre

private jxl.write.WritableCellFormat celluleNormaleNombre
Format de celule normale encadrée pour les nombres


celulleCentreeHetV

private jxl.write.WritableCellFormat celulleCentreeHetV
Format de celule normale encadrée avec centrage Horizontal et Vertical


celluleDescritpion

private jxl.write.WritableCellFormat celluleDescritpion
Format de celule normale encadrée avec centrage haut et justifié


celluleNormaleNombreH

private jxl.write.WritableCellFormat celluleNormaleNombreH
Format de celule normale encadrée avec Centrage horizontal seulement


DIFFERENCE_COLONNE_PRIORITE

private static int DIFFERENCE_COLONNE_PRIORITE
Nombre de colonnes entre la colonne Exigence et la colonne nommée


DIFFERENCE_COLONNE_VERSION

private static int DIFFERENCE_COLONNE_VERSION
Nombre de colonnes entre la colonne Exigence et la colonne nommée


DIFFERENCE_COLONNE_DESCRIPTION

private static int DIFFERENCE_COLONNE_DESCRIPTION
Nombre de colonnes entre la colonne Exigence et la colonne nommée


DIFFERENCE_COLONNE_CATEGORIE

private static int DIFFERENCE_COLONNE_CATEGORIE
Nombre de colonnes entre la colonne Exigence et la colonne nommée


DIFFERENCE_COLONNE_LIEN_HYPERTEXTE

private static int DIFFERENCE_COLONNE_LIEN_HYPERTEXTE
Nombre de colonnes entre la colonne Exigence et la colonne nommée


DIFFERENCE_COLONNE_PIECE_JOINTE

private static int DIFFERENCE_COLONNE_PIECE_JOINTE
Nombre de colonnes entre la colonne Exigence et la colonne nommée


DIFFERENCE_COLONNE_COMPLEXITE

private static int DIFFERENCE_COLONNE_COMPLEXITE
Nombre de colonnes entre la colonne Exigence et la colonne nommée


DIFFERENCE_COLONNE_ETAT

private static int DIFFERENCE_COLONNE_ETAT
Nombre de colonnes entre la colonne Exigence et la colonne nommée


DIFFERENCE_COLONNE_ORIGINE

private static int DIFFERENCE_COLONNE_ORIGINE
Nombre de colonnes entre la colonne Exigence et la colonne nommée


DIFFERENCE_COLONNE_VERIFWAY

private static int DIFFERENCE_COLONNE_VERIFWAY
Nombre de colonnes entre la colonne Exigence et la colonne nommée


DIFFERENCE_COLONNE_REFERENCE

private static int DIFFERENCE_COLONNE_REFERENCE
Nombre de colonnes entre la colonne Exigence et la colonne nommée


DIFFERENCE_COLONNE_CAS_DE_TESTS

private static int DIFFERENCE_COLONNE_CAS_DE_TESTS
Nombre de colonnes entre la colonne Exigence et la colonne nommée


DIFFERENCE_COLONNE_DESCRIPTION_TESTS

private static int DIFFERENCE_COLONNE_DESCRIPTION_TESTS
Nombre de colonnes entre la colonne Exigence et la colonne nommée


DIFFERENCE_COLONNE_NUMERO

private static int DIFFERENCE_COLONNE_NUMERO
Nombre de colonnes entre la colonne Exigence et la colonne nommée


DIFFERENCE_COLONNE_ACTION_A_REALISER

private static int DIFFERENCE_COLONNE_ACTION_A_REALISER
Nombre de colonnes entre la colonne Exigence et la colonne nommée


DIFFERENCE_COLONNE_ACTION_ATTENDUE

private static int DIFFERENCE_COLONNE_ACTION_ATTENDUE
Nombre de colonnes entre la colonne Exigence et la colonne nommée


DIFFERENCE_COLONNE_ACTION_OBTENUE

private static int DIFFERENCE_COLONNE_ACTION_OBTENUE
Nombre de colonnes entre la colonne Exigence et la colonne nommée


DIFFERENCE_COLONNE_EXECUTE

private static int DIFFERENCE_COLONNE_EXECUTE
Nombre de colonnes entre la colonne Exigence et la colonne nommée


DIFFERENCE_COLONNE_TEST_LIEN_HYPERTEXTE

private static int DIFFERENCE_COLONNE_TEST_LIEN_HYPERTEXTE
Nombre de colonnes entre la colonne Exigence et la colonne nommée


DIFFERENCE_COLONNE_TEST_PIECE_JOINTE

private static int DIFFERENCE_COLONNE_TEST_PIECE_JOINTE
Nombre de colonnes entre la colonne Exigence et la colonne nommée


TAILLE_PETITE_COLONNE

private static int TAILLE_PETITE_COLONNE
Definit la largeur d'une colonne


TAILLE_MOYENNE_COLONNE

private static int TAILLE_MOYENNE_COLONNE
Definit la largeur d'une colonne


TAILLE_GRANDE_COLONNE

private static int TAILLE_GRANDE_COLONNE
Definit la largeur d'une colonne

Constructor Detail

EcritEntete

public EcritEntete(java.lang.String Exigencelu,
                   java.io.File fichierDeSortieXLS)
            throws jxl.write.WriteException
Ecrit la première ligne de la feuille Excel (nom des colonnes)

Parameters:
Exigencelu - Exigence lu
fichierDeSortieXLS - Fichier de sortie excel
Throws:
jxl.write.WriteException - Exceltion d'ecriture
Method Detail

closeWorkbook

public void closeWorkbook()
                   throws jxl.write.WriteException
Ferme la feuille excel

Throws:
jxl.write.WriteException - Exceltion d'ecriture

AddAColumnForLevel

public void AddAColumnForLevel()
                        throws jxl.write.WriteException
Fonction permettant à la volée de rajouter des colonnes de sous catégorie lors de la création de la feuille Excel

Throws:
jxl.write.WriteException - Exceltion exriture Excel

makeExample

public void makeExample()
                 throws jxl.write.WriteException
Fonctionn remplissant un modele vierge pour exemple

Throws:
jxl.write.WriteException - Erreur Ecriture Excel

getWorkbookHeading

public jxl.write.WritableWorkbook getWorkbookHeading()
Recupère la feuille Excel

Returns:
Feuille Excel

getNumeroColonne

public int getNumeroColonne()
Récupère le numéro de colonne de la colonne Exigence

Returns:
numéro de la colonne Exigence

setNumeroColonne

public void setNumeroColonne(int nombre)
Fonction permettant d'ecraser le numéro colonne exigence

Parameters:
nombre - Numéro colonne exigence

getDIFFERENCE_COLONNE_PRIORITE

public int getDIFFERENCE_COLONNE_PRIORITE()

getDIFFERENCE_COLONNE_VERSION

public int getDIFFERENCE_COLONNE_VERSION()

getDIFFERENCE_COLONNE_DESCRIPTION

public int getDIFFERENCE_COLONNE_DESCRIPTION()

getDIFFERENCE_COLONNE_CATEGORIE

public int getDIFFERENCE_COLONNE_CATEGORIE()

getDIFFERENCE_COLONNE_LIEN_HYPERTEXTE

public int getDIFFERENCE_COLONNE_LIEN_HYPERTEXTE()

getDIFFERENCE_COLONNE_PIECE_JOINTE

public int getDIFFERENCE_COLONNE_PIECE_JOINTE()

getDIFFERENCE_COLONNE_COMPLEXITE

public int getDIFFERENCE_COLONNE_COMPLEXITE()

getDIFFERENCE_COLONNE_ETAT

public int getDIFFERENCE_COLONNE_ETAT()

getDIFFERENCE_COLONNE_ORIGINE

public int getDIFFERENCE_COLONNE_ORIGINE()

getDIFFERENCE_COLONNE_VERIFWAY

public int getDIFFERENCE_COLONNE_VERIFWAY()

getDIFFERENCE_COLONNE_REFERENCE

public int getDIFFERENCE_COLONNE_REFERENCE()

getDIFFERENCE_COLONNE_CAS_DE_TESTS

public int getDIFFERENCE_COLONNE_CAS_DE_TESTS()

getDIFFERENCE_COLONNE_NUMERO

public int getDIFFERENCE_COLONNE_NUMERO()

getDIFFERENCE_COLONNE_ACTION_A_REALISER

public int getDIFFERENCE_COLONNE_ACTION_A_REALISER()

getDIFFERENCE_COLONNE_ACTION_ATTENDUE

public int getDIFFERENCE_COLONNE_ACTION_ATTENDUE()

getDIFFERENCE_COLONNE_ACTION_OBTENUE

public int getDIFFERENCE_COLONNE_ACTION_OBTENUE()

getDIFFERENCE_COLONNE_EXECUTE

public int getDIFFERENCE_COLONNE_EXECUTE()

getDIFFERENCE_COLONNE_TEST_LIEN_HYPERTEXTE

public int getDIFFERENCE_COLONNE_TEST_LIEN_HYPERTEXTE()

getDIFFERENCE_COLONNE_TEST_PIECE_JOINTE

public int getDIFFERENCE_COLONNE_TEST_PIECE_JOINTE()

getDIFFERENCE_COLONNE_DESCRIPTION_TESTS

public int getDIFFERENCE_COLONNE_DESCRIPTION_TESTS()

getcelluleNormale

public jxl.write.WritableCellFormat getcelluleNormale()

getcelluleNormaleNombre

public jxl.write.WritableCellFormat getcelluleNormaleNombre()

getcelulleCentreeHetV

public jxl.write.WritableCellFormat getcelulleCentreeHetV()

getcelluleNormaleNombreH

public jxl.write.WritableCellFormat getcelluleNormaleNombreH()

getcelluleDescritpion

public jxl.write.WritableCellFormat getcelluleDescritpion()