Tester rapidement des bookmark word en masse

Contenu du snippet

500 bookmark a tester et pas envie de passer 4 heures à les encoder? voici une solution bricolage et efficace

Source / Exemple :


<?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:Author> </o:Author>
 <o:LastAuthor> </o:LastAuthor>
 <o:Revision>2</o:Revision>
 <o:TotalTime>3</o:TotalTime>
 <o:Created>2007-08-16T12:18:00Z</o:Created>
 <o:LastSaved>2007-08-16T12:21:00Z</o:LastSaved>
 <o:Pages>1</o:Pages>
 <o:Words>2</o:Words>
 <o:Characters>17</o:Characters>
 <o:Company> </o:Company>
 <o:Lines>1</o:Lines>
 <o:Paragraphs>1</o:Paragraphs>
 <o:CharactersWithSpaces>18</o:CharactersWithSpaces>
 <o:Version>11.8134</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="00B13499"/>
  <w:rPr>
   <wx:font wx:val="Times New Roman"/>
   <w:sz w:val="24"/>
  <w:sz-cs w:val="24"/>
   <w:lang w:val="EN-US" w:fareast="EN-US" w:bidi="AR-SA"/>
  </w:rPr>
 </w:style>
 <w:style w:type="character" w:default="on" w:styleId="DefaultParagraphFont">
  <w:name w:val="Default Paragraph Font"/>
  <w:semiHidden/>
 </w:style>
 <w:style w:type="table" w:default="on" w:styleId="TableNormal">
  <w:name w:val="Normal Table"/>
  <wx:uiName wx:val="Table 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="NoList">
  <w:name w:val="No List"/>
  <w:semiHidden/>
 </w:style>
</w:styles>

<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="720"/>
 <w:punctuationKerning/>
 <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:dontGrowAutofit/>
 </w:compat>
 <wsp:rsids>
  <wsp:rsidRoot wsp:val="00851C95"/>
  <wsp:rsid wsp:val="000A2D39"/>
  <wsp:rsid wsp:val="002D4F57"/>
  <wsp:rsid wsp:val="007610F4"/>
  <wsp:rsid wsp:val="00851C95"/>
  <wsp:rsid wsp:val="00B13499"/>
 </wsp:rsids>
</w:docPr>

<w:body>
 <wx:sect>
 
 <w:p> 
  <w:pPr><w:rPr><w:lang w:val="FR-BE"/></w:rPr></w:pPr>
  <w:r>
   <w:rPr><w:lang w:val="FR-BE"/></w:rPr>
   <w:t>Test  :  </w:t>
  </w:r>
  <aml:annotation aml:id="0" w:type="Word.Bookmark.Start" w:name="Test"/>
  <aml:annotation aml:id="0" w:type="Word.Bookmark.End"/>
 </w:p>
 
  <w:p> 
  <w:pPr><w:rPr><w:lang w:val="FR-BE"/></w:rPr></w:pPr>
  <w:r>
   <w:rPr><w:lang w:val="FR-BE"/></w:rPr>
   <w:t>Test2  :  </w:t>
  </w:r>
  <aml:annotation aml:id="0" w:type="Word.Bookmark.Start" w:name="Test2"/>
  <aml:annotation aml:id="0" w:type="Word.Bookmark.End"/>
 </w:p>
  
  <w:sectPr wsp:rsidR="000A2D39" wsp:rsidRPr="000A2D39" wsp:rsidSect="00B13499">
   <w:pgSz w:w="12240" w:h="15840"/>
   <w:pgMar w:top="1440" w:right="1800" w:bottom="1440" w:left="1800" 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>

Conclusion :


ce bloc:

<w:p>
<w:pPr><w:rPr><w:lang w:val="FR-BE"/></w:rPr></w:pPr>
<w:r>
<w:rPr><w:lang w:val="FR-BE"/></w:rPr>
<w:t>MyLabel : </w:t>
</w:r>
<aml:annotation aml:id="0" w:type="Word.Bookmark.Start" w:name="MyBookmark"/>
<aml:annotation aml:id="0" w:type="Word.Bookmark.End"/>
</w:p>

peut être répété un nombre non déterminé de fois (mettez-le sur une seule ligne, remplacez MyLabel et MyBookmark par une tabulation et collez-le dans excell....)
enregistrez le tout en .xml et le tour est joué

A voir également

Vous n'êtes pas encore membre ?

inscrivez-vous, c'est gratuit et ça prend moins d'une minute !

Les membres obtiennent plus de réponses que les utilisateurs anonymes.

Le fait d'être membre vous permet d'avoir un suivi détaillé de vos demandes et codes sources.

Le fait d'être membre vous permet d'avoir des options supplémentaires.