IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Word Discussion :

Office XML et case à cocher


Sujet :

Word

  1. #1
    Inactif  
    Profil pro
    Inscrit en
    Mai 2006
    Messages
    2 189
    Détails du profil
    Informations personnelles :
    Âge : 44
    Localisation : Suisse

    Informations forums :
    Inscription : Mai 2006
    Messages : 2 189
    Points : 2 336
    Points
    2 336
    Par défaut Office XML et case à cocher
    Salut,

    J'ai créer un template de document word et je l'ai enregistré en xml, je manipule ensuite ce document en java pour y remplacer des variables.

    Jusque là tout va bien, j'ai dans ce document des cases à cocher et j'aimerais les checker si une valeur est setté dans le monde java.

    J'ai ouvert le template xml à l'aide d'un éditeur de texte et j ai le code suivant

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
     
     
     
    <aml:annotation aml:id="5" w:type="Word.Bookmark.Start" w:name="Kontrollkästchen9"/>
    <w:tc><w:tcPr><w:tcW w:w="284" w:type="dxa"/></w:tcPr>
    <w:p wsp:rsidR="001727F0" wsp:rsidRDefault="009A161C" wsp:rsidP="007363EA">
    <w:pPr><w:widowControl/><w:spacing w:line="201" w:line-rule="exact"/>
    <w:ind w:left="-70"/><w:rPr><w:sz w:val="16"/></w:rPr></w:pPr>
    <w:r><w:rPr><w:sz w:val="16"/></w:rPr>
    <w:fldChar w:fldCharType="begin"><w:fldData>/////2UAAAAUABEASwBvAG4AdAByAG8AbABsAGsA5ABzAHQAYwBoAGUAbgA5AAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAA==</w:fldData>
    </w:fldChar>
    </w:r>
    <w:r>
    <w:rPr>
    <w:sz w:val="16"/>
    </w:rPr><w:instrText> FORMCHECKBOX </w:instrText>
    </w:r><w:r wsp:rsidR="00FC4DAF" wsp:rsidRPr="009A161C">
    <w:rPr><w:sz w:val="16"/></w:rPr></w:r><w:r><w:rPr><w:sz w:val="16"/></w:rPr>
    <w:fldChar w:fldCharType="end"/>
    </w:r><aml:annotation aml:id="5" w:type="Word.Bookmark.End"/></w:p></w:tc><w:tc><w:tcPr><w:tcW w:w="1984" w:type="dxa"/>
    <w:gridSpan w:val="2"/>
    </w:tcPr><w:p wsp:rsidR="001727F0" wsp:rsidRDefault="001727F0" wsp:rsidP="00B83725">
    <w:pPr><w:widowControl/>
    <w:spacing w:line="201" w:line-rule="exact"/>
    <w:ind w:left="-70"/>
    <w:rPr><w:sz w:val="10"/><w:lang w:val="FR"/></w:rPr></w:pPr><w:r><w:rPr><w:sz w:val="10"/>
    <w:lang w:val="FR"/></w:rPr><w:t>Permis d'implantation/</w:t></w:r><w:r><w:rPr>
    <w:i/><w:sz w:val="10"/><w:lang w:val="FR"/></w:rPr><w:t>Standortbewilligung</w:t></w:r></w:p></w:tc><w:tc><w:tcPr><w:tcW w:w="284" w:type="dxa"/>
    <w:gridSpan w:val="2"/>
    </w:tcPr>
    <w:p wsp:rsidR="001727F0" wsp:rsidRDefault="001F66AB" wsp:rsidP="007363EA"><w:pPr><w:widowControl/>
    <w:spacing w:line="201" w:line-rule="exact"/><w:ind w:left="-70"/><w:rPr><w:sz w:val="16"/></w:rPr></w:pPr>
    <w:r><w:rPr><w:sz w:val="16"/></w:rPr><w:fldChar w:fldCharType="begin">
    <w:fldData>/////2UAAAAUABEASwBvAG4AdAByAG8AbABsAGsA5ABzAHQAYwBoAGUAbgA5AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==</w:fldData>
    </w:fldChar></w:r><w:r wsp:rsidR="001727F0"><w:rPr><w:sz w:val="16"/>
    </w:rPr><w:instrText> FORMCHECKBOX </w:instrText></w:r><w:r wsp:rsidR="00FC4DAF" wsp:rsidRPr="001F66AB"><w:rPr><w:sz w:val="16"/></w:rPr></w:r>
    <w:r><w:rPr><w:sz w:val="16"/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:p></w:tc><w:tc><w:tcPr><w:tcW w:w="2693" w:type="dxa"/>
    <w:gridSpan w:val="3"/></w:tcPr><w:p wsp:rsidR="001727F0" wsp:rsidRDefault="001727F0"><w:pPr><w:widowControl/>
    <w:spacing w:line="201" w:line-rule="exact"/><w:rPr><w:sz w:val="10"/><w:lang w:val="FR"/></w:rPr>
    </w:pPr><w:r><w:rPr><w:sz w:val="10"/><w:lang w:val="FR"/></w:rPr><w:t>Permis de démolition/</w:t></w:r><w:r>
    <w:rPr><w:i/><w:sz w:val="10"/><w:lang w:val="FR"/></w:rPr><w:t>Abbruchbewilligung</w:t></w:r></w:p></w:tc><w:tc><w:tcPr><w:tcW w:w="283" w:type="dxa"/></w:tcPr><w:p wsp:rsidR="001727F0" wsp:rsidRDefault="001F66AB" wsp:rsidP="007363EA"><w:pPr><w:widowControl/><w:spacing w:line="201" w:line-rule="exact"/><w:ind w:left="-70"/><w:rPr><w:sz w:val="16"/></w:rPr></w:pPr><w:r><w:rPr><w:sz w:val="16"/></w:rPr><w:fldChar w:fldCharType="begin"><w:fldData>/////2UAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    </w:fldData></w:fldChar></w:r><w:r wsp:rsidR="001727F0"><w:rPr><w:sz w:val="16"/></w:rPr><w:instrText> FORMCHECKBOX </w:instrText></w:r><w:r wsp:rsidR="00FC4DAF" wsp:rsidRPr="001F66AB"><w:rPr><w:sz w:val="16"/></w:rPr></w:r><w:r><w:rPr><w:sz w:val="16"/></w:rPr><w:fldChar w:fldCharType="end"/></w:r></w:p></w:tc></w:tr><w:tr wsp:rsidR="001727F0"><w:tc><w:tcPr><w:tcW w:w="1630" w:type="dxa"/><w:vmerge/></w:tcPr><w:p wsp:rsidR="001727F0" wsp:rsidRDefault="001727F0"><w:pPr><w:widowControl/><w:tabs><w:tab w:val="left" w:pos="284"/></w:tabs><w:spacing w:line="201" w:line-rule="exact"/><w:rPr><w:sz w:val="12"/><w:lang w:val="FR"/></w:rPr></w:pPr></w:p></w:tc><w:tc><w:tcPr><w:tcW w:w="1842" w:type="dxa"/><w:gridSpan w:val="2"/></w:tcPr><w:p wsp:rsidR="001727F0" wsp:rsidRDefault="001727F0"><w:pPr><w:widowControl/><w:spacing w:line="201" w:line-rule="exact"/><w:ind w:left="-70"/><w:rPr><w:sz w:val="10"/><w:lang w:val="FR"/></w:rPr></w:pPr><w:r><w:rPr><w:sz w:val="10"/><w:lang w:val="FR"/></w:rPr><w:t>Genre de construction:/</w:t></w:r><w:r><w:rPr><w:i/><w:sz w:val="10"/><w:lang w:val="FR"/></w:rPr><w:t>Art des Baues:</w:t></w:r></w:p></w:tc><w:tc><w:tcPr><w:tcW w:w="1843" w:type="dxa"/></w:tcPr><w:p wsp:rsidR="001727F0" wsp:rsidRDefault="001727F0"><w:pPr><w:widowControl/><w:spacing w:line="201" w:line-rule="exact"/><w:ind w:left="-27"/><w:rPr><w:sz w:val="10"/><w:lang w:val="FR"/></w:rPr></w:pPr><w:r><w:rPr><w:sz w:val="10"/><w:lang w:val="FR"/></w:rPr><w:t>Nouvelle construction/</w:t></w:r><w:r><w:rPr><w:i/><w:sz w:val="10"/><w:lang w:val="FR"/></w:rPr><w:t>Neubau</w:t></w:r></w:p></w:tc><w:tc><w:tcPr><w:tcW w:w="284" w:type="dxa"/></w:tcPr><w:p wsp:rsidR="001727F0" wsp:rsidRDefault="001F66AB" wsp:rsidP="007363EA"><w:pPr><w:widowControl/><w:spacing w:line="201" w:line-rule="exact"/><w:ind w:left="-70"/><w:rPr><w:sz w:val="16"/></w:rPr></w:pPr><w:r><w:rPr><w:sz w:val="16"/></w:rPr><w:fldChar w:fldCharType="begin"><w:fldData>/////2UAAAAUABEASwBvAG4AdAByAG8AbABsAGsA5ABzAHQAYwBoAGUAbgA5AAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAA==
    sachant que ma case à cocher porte le nom de Kontrollkästchen9 j ai donc conclu que cet élément se trouvant dans le bookmark <aml:annotation aml:id="5" w:type="Word.Bookmark.Start" w:name="Kontrollkästchen9"

    mais je n arrive pas à trouvé ou est définis ce checkbox et ou peut on setter sa valeur

    j ai pensé que c était
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    <w:instrText> FORMCHECKBOX </w:instrText>
    mais cet élément ne possède pas d'attribut

    donc je ne sais pas trop ou regarder

    d'avance merci

  2. #2
    Inactif  
    Profil pro
    Inscrit en
    Mai 2006
    Messages
    2 189
    Détails du profil
    Informations personnelles :
    Âge : 44
    Localisation : Suisse

    Informations forums :
    Inscription : Mai 2006
    Messages : 2 189
    Points : 2 336
    Points
    2 336
    Par défaut
    pour simplifier ma tâche j ai deux documents l un avec une case a coché non coché et l autre coché

    voici le code du non coché

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
     
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <?mso-application progid="Word.Document"?>
    <w:wordDocument xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:sl="http://schemas.microsoft.com/schemaLibrary/2003/core" xmlns:aml="http://schemas.microsoft.com/aml/2001/core" xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:wsp="http://schemas.microsoft.com/office/word/2003/wordml/sp2" w:macrosPresent="no" w:embeddedObjPresent="no" w:ocxPresent="no" xml:space="preserve"><w:ignoreElements w:val="http://schemas.microsoft.com/office/word/2003/wordml/sp2"/><o:DocumentProperties><o:Title>0</o:Title><o:Author>SITel</o:Author><o:LastAuthor>SITel</o:LastAuthor><o:Revision>4</o:Revision><o:TotalTime>1</o:TotalTime><o:Created>2008-10-16T08:31:00Z</o:Created><o:LastSaved>2008-10-16T08:52:00Z</o:LastSaved><o:Pages>1</o:Pages><o:Words>2</o:Words><o:Characters>16</o:Characters><o:Company>Etat de Fribourg</o:Company><o:Lines>1</o:Lines><o:Paragraphs>1</o:Paragraphs><o:CharactersWithSpaces>17</o:CharactersWithSpaces><o:Version>11.0000</o:Version></o:DocumentProperties><w:fonts><w:defaultFonts w:ascii="Times New Roman" w:fareast="Times New Roman" w:h-ansi="Times New Roman" w:cs="Times New Roman"/></w:fonts><w:styles><w:versionOfBuiltInStylenames w:val="4"/><w:latentStyles w:defLockedState="off" w:latentStyleCount="156"/><w:style w:type="paragraph" w:default="on" w:styleId="Normal"><w:name w:val="Normal"/><w:rsid w:val="00510A29"/><w:rPr><wx:font wx:val="Times New Roman"/><w:sz w:val="24"/><w:sz-cs w:val="24"/><w:lang w:val="FR" w:fareast="FR" w:bidi="AR-SA"/></w:rPr></w:style><w:style w:type="character" w:default="on" w:styleId="Policepardfaut"><w:name w:val="Default Paragraph Font"/><wx:uiName wx:val="Police par défaut"/><w:semiHidden/></w:style><w:style w:type="table" w:default="on" w:styleId="TableauNormal"><w:name w:val="Normal Table"/><wx:uiName wx:val="Tableau Normal"/><w:semiHidden/><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr><w:tblPr><w:tblInd w:w="0" w:type="dxa"/><w:tblCellMar><w:top w:w="0" w:type="dxa"/><w:left w:w="108" w:type="dxa"/><w:bottom w:w="0" w:type="dxa"/><w:right w:w="108" w:type="dxa"/></w:tblCellMar></w:tblPr></w:style><w:style w:type="list" w:default="on" w:styleId="Aucuneliste"><w:name w:val="No List"/><wx:uiName wx:val="Aucune liste"/><w:semiHidden/></w:style></w:styles><w:shapeDefaults><o:shapedefaults v:ext="edit" spidmax="3074"/><o:shapelayout v:ext="edit"><o:idmap v:ext="edit" data="1"/></o:shapelayout></w:shapeDefaults><w:docPr><w:view w:val="print"/><w:zoom w:percent="100"/><w:doNotEmbedSystemFonts/><w:proofState w:spelling="clean" w:grammar="clean"/><w:attachedTemplate w:val=""/><w:defaultTabStop w:val="708"/><w:hyphenationZone w:val="425"/><w:characterSpacingControl w:val="DontCompress"/><w:optimizeForBrowser/><w:validateAgainstSchema/><w:saveInvalidXML w:val="off"/><w:ignoreMixedContent w:val="off"/><w:alwaysShowPlaceholderText w:val="off"/><w:compat><w:breakWrappedTables/><w:snapToGridInCell/><w:wrapTextWithPunct/><w:useAsianBreakRules/><w:useWord2002TableStyleRules/></w:compat><wsp:rsids><wsp:rsidRoot wsp:val="008572BD"/><wsp:rsid wsp:val="004D35FA"/><wsp:rsid wsp:val="00510A29"/><wsp:rsid wsp:val="005F6C9C"/><wsp:rsid wsp:val="007348D3"/><wsp:rsid wsp:val="008572BD"/><wsp:rsid wsp:val="00996C64"/><wsp:rsid wsp:val="00A067C4"/><wsp:rsid wsp:val="00E6186E"/></wsp:rsids></w:docPr><w:body><wx:sect><aml:annotation aml:id="0" w:type="Word.Bookmark.Start" w:name="CaseACocher1"/><w:p wsp:rsidR="008572BD" wsp:rsidRDefault="007348D3"><w:r><w:fldChar w:fldCharType="begin"><w:fldData>/////2UAAAAUAAwAQwBhAHMAZQBBAEMAbwBjAGgAZQByADEAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAA
    </w:fldData></w:fldChar></w:r><w:r><w:instrText> FORMCHECKBOX </w:instrText></w:r><w:r><w:fldChar w:fldCharType="end"/></w:r><aml:annotation aml:id="0" w:type="Word.Bookmark.End"/></w:p><w:sectPr wsp:rsidR="008572BD" wsp:rsidSect="00510A29"><w:pgSz w:w="11906" w:h="16838"/><w:pgMar w:top="1417" w:right="1417" w:bottom="1417" w:left="1417" w:header="708" w:footer="708" w:gutter="0"/><w:cols w:space="708"/><w:docGrid w:line-pitch="360"/></w:sectPr></wx:sect></w:body></w:wordDocument>
    et celui du coché

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
     
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <?mso-application progid="Word.Document"?>
    <w:wordDocument xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:sl="http://schemas.microsoft.com/schemaLibrary/2003/core" xmlns:aml="http://schemas.microsoft.com/aml/2001/core" xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:wsp="http://schemas.microsoft.com/office/word/2003/wordml/sp2" w:macrosPresent="no" w:embeddedObjPresent="no" w:ocxPresent="no" xml:space="preserve"><w:ignoreElements w:val="http://schemas.microsoft.com/office/word/2003/wordml/sp2"/><o:DocumentProperties><o:Title>0</o:Title><o:Author>SITel</o:Author><o:LastAuthor>SITel</o:LastAuthor><o:Revision>3</o:Revision><o:TotalTime>0</o:TotalTime><o:Created>2008-10-16T08:52:00Z</o:Created><o:LastSaved>2008-10-16T08:52:00Z</o:LastSaved><o:Pages>1</o:Pages><o:Words>2</o:Words><o:Characters>16</o:Characters><o:Company>Etat de Fribourg</o:Company><o:Lines>1</o:Lines><o:Paragraphs>1</o:Paragraphs><o:CharactersWithSpaces>17</o:CharactersWithSpaces><o:Version>11.0000</o:Version></o:DocumentProperties><w:fonts><w:defaultFonts w:ascii="Times New Roman" w:fareast="Times New Roman" w:h-ansi="Times New Roman" w:cs="Times New Roman"/></w:fonts><w:styles><w:versionOfBuiltInStylenames w:val="4"/><w:latentStyles w:defLockedState="off" w:latentStyleCount="156"/><w:style w:type="paragraph" w:default="on" w:styleId="Normal"><w:name w:val="Normal"/><w:rsid w:val="00510A29"/><w:rPr><wx:font wx:val="Times New Roman"/><w:sz w:val="24"/><w:sz-cs w:val="24"/><w:lang w:val="FR" w:fareast="FR" w:bidi="AR-SA"/></w:rPr></w:style><w:style w:type="character" w:default="on" w:styleId="Policepardfaut"><w:name w:val="Default Paragraph Font"/><wx:uiName wx:val="Police par défaut"/><w:semiHidden/></w:style><w:style w:type="table" w:default="on" w:styleId="TableauNormal"><w:name w:val="Normal Table"/><wx:uiName wx:val="Tableau Normal"/><w:semiHidden/><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr><w:tblPr><w:tblInd w:w="0" w:type="dxa"/><w:tblCellMar><w:top w:w="0" w:type="dxa"/><w:left w:w="108" w:type="dxa"/><w:bottom w:w="0" w:type="dxa"/><w:right w:w="108" w:type="dxa"/></w:tblCellMar></w:tblPr></w:style><w:style w:type="list" w:default="on" w:styleId="Aucuneliste"><w:name w:val="No List"/><wx:uiName wx:val="Aucune liste"/><w:semiHidden/></w:style></w:styles><w:shapeDefaults><o:shapedefaults v:ext="edit" spidmax="4098"/><o:shapelayout v:ext="edit"><o:idmap v:ext="edit" data="1"/></o:shapelayout></w:shapeDefaults><w:docPr><w:view w:val="print"/><w:zoom w:percent="100"/><w:doNotEmbedSystemFonts/><w:proofState w:spelling="clean" w:grammar="clean"/><w:attachedTemplate w:val=""/><w:defaultTabStop w:val="708"/><w:hyphenationZone w:val="425"/><w:characterSpacingControl w:val="DontCompress"/><w:optimizeForBrowser/><w:validateAgainstSchema/><w:saveInvalidXML w:val="off"/><w:ignoreMixedContent w:val="off"/><w:alwaysShowPlaceholderText w:val="off"/><w:compat><w:breakWrappedTables/><w:snapToGridInCell/><w:wrapTextWithPunct/><w:useAsianBreakRules/><w:useWord2002TableStyleRules/></w:compat><wsp:rsids><wsp:rsidRoot wsp:val="008572BD"/><wsp:rsid wsp:val="00107B8E"/><wsp:rsid wsp:val="004D35FA"/><wsp:rsid wsp:val="00510A29"/><wsp:rsid wsp:val="005F6C9C"/><wsp:rsid wsp:val="007348D3"/><wsp:rsid wsp:val="008572BD"/><wsp:rsid wsp:val="00996C64"/><wsp:rsid wsp:val="00A067C4"/><wsp:rsid wsp:val="00BF2598"/><wsp:rsid wsp:val="00E6186E"/><wsp:rsid wsp:val="00FE1FB1"/></wsp:rsids></w:docPr><w:body><wx:sect><aml:annotation aml:id="0" w:type="Word.Bookmark.Start" w:name="CaseACocher1"/><w:p wsp:rsidR="008572BD" wsp:rsidRDefault="00BF2598"><w:r><w:fldChar w:fldCharType="begin"><w:fldData>/////2UAAAAUAAwAQwBhAHMAZQBBAEMAbwBjAGgAZQByADEAAAABAAAAAAAAAAAAAAAAAAAAAAAA
    AAAA
    </w:fldData></w:fldChar></w:r><w:r><w:instrText> FORMCHECKBOX </w:instrText></w:r><w:r><w:fldChar w:fldCharType="end"/></w:r><aml:annotation aml:id="0" w:type="Word.Bookmark.End"/></w:p><w:sectPr wsp:rsidR="008572BD" wsp:rsidSect="00510A29"><w:pgSz w:w="11906" w:h="16838"/><w:pgMar w:top="1417" w:right="1417" w:bottom="1417" w:left="1417" w:header="708" w:footer="708" w:gutter="0"/><w:cols w:space="708"/><w:docGrid w:line-pitch="360"/></w:sectPr></wx:sect></w:body></w:wordDocument>
    je n arrive pas à trouver de différence mise à part le swp:rsidDefault (j ai tenté de récupérer cette valeur et de la placer au document non coché mais cela ne coche pas la case)

    d autres idées ?

  3. #3
    Inactif  
    Profil pro
    Inscrit en
    Mai 2006
    Messages
    2 189
    Détails du profil
    Informations personnelles :
    Âge : 44
    Localisation : Suisse

    Informations forums :
    Inscription : Mai 2006
    Messages : 2 189
    Points : 2 336
    Points
    2 336
    Par défaut
    il me semblerait que la valeur soit définit dans <w:fldData> connaissez-vous de la doc sur le sujet ?

    merci

  4. #4
    Rédacteur/Modérateur

    Avatar de Heureux-oli
    Homme Profil pro
    Contrôleur d'industrie
    Inscrit en
    Février 2006
    Messages
    21 087
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 59
    Localisation : Belgique

    Informations professionnelles :
    Activité : Contrôleur d'industrie
    Secteur : Aéronautique - Marine - Espace - Armement

    Informations forums :
    Inscription : Février 2006
    Messages : 21 087
    Points : 42 926
    Points
    42 926
    Par défaut
    Salut,

    Je ne travaille jamais sur ce format XML.

    Je ne comprend pas pourquoi tu veux utiliser le XML et pas directement un document, n'aurais-tu pas plus facile de travailler avec l'API de Word.

  5. #5
    Inactif  
    Profil pro
    Inscrit en
    Mai 2006
    Messages
    2 189
    Détails du profil
    Informations personnelles :
    Âge : 44
    Localisation : Suisse

    Informations forums :
    Inscription : Mai 2006
    Messages : 2 189
    Points : 2 336
    Points
    2 336
    Par défaut
    hello je travaille sur un document basé sur un template très bien défini, les api de word pour java n existe pas excel oui mais pour word c'est encore dans un status de développement ... i

    il y a bien open office mais il faut installer une version sur le serveur donc non

    manipuler les template avec des variables c est très facile ... manipuler un objet document word non

    tout marche très bien sauf pour ces maudites cases à cocher

  6. #6
    Inactif  
    Profil pro
    Inscrit en
    Mai 2006
    Messages
    2 189
    Détails du profil
    Informations personnelles :
    Âge : 44
    Localisation : Suisse

    Informations forums :
    Inscription : Mai 2006
    Messages : 2 189
    Points : 2 336
    Points
    2 336
    Par défaut
    j ai pas de problème particulier à implémenter une solution mais je trouvais juste très con que microsoft n'ai pas penser a traiter ces éléments de formulaires en tant qu objet ...

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. [MIGRATION] champ de type "case à cocher"
    Par The_Nail dans le forum MS SQL Server
    Réponses: 9
    Dernier message: 10/05/2011, 11h07
  2. Case à cocher dans une requête
    Par kloss dans le forum Access
    Réponses: 6
    Dernier message: 14/10/2004, 11h44
  3. Récupérer toutes les cases à cocher
    Par psyco2604 dans le forum ASP
    Réponses: 7
    Dernier message: 14/10/2004, 10h54
  4. Activer cases à cocher
    Par schnito dans le forum MFC
    Réponses: 4
    Dernier message: 24/01/2004, 16h07
  5. [CR] Création de tableau et case à cocher
    Par aysse dans le forum SAP Crystal Reports
    Réponses: 3
    Dernier message: 26/11/2003, 17h07

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo