Changeset 473 for trunk


Ignore:
Timestamp:
02/21/09 16:03:31 (3 years ago)
Author:
sam
Message:

primitives texte : ajout textLeaf cmd (ligne de commande) + char spé touches apple

Location:
trunk
Files:
2 added
1 deleted
24 edited

Legend:

Unmodified
Added
Removed
  • trunk/deriver/overwrite/sources/dokielGuide/genWeb/docGuide/docGuide.doss/site/css/transf.css

    r419 r473  
    201201        background-color: #F0F0F0; 
    202202        cursor: default; 
     203} 
     204.dk_textSimple_tl_cmd,  
     205.dk_text_tl_cmd, 
     206.dk_para_tl_cmd{ 
     207        background: url("../img/cmd.gif") no-repeat 2px; 
     208        padding: 0px 2px 0px 20px; 
     209        background-color: #F0F0F0; 
     210        cursor: default; 
     211        font-family:monospace; 
    203212} 
    204213.dk_textSimple_tl_term,  
  • trunk/deriver/overwrite/tests/dkGuide/sources/qualifStyles/sec2_flow_txt.scen

    r403 r473  
    171171                                <sp:infobloc> 
    172172                                        <dk:sTitle> 
     173                                                <sc:fullTitle>Charactères spé</sc:fullTitle> 
     174                                        </dk:sTitle> 
     175                                        <dk:flowAll> 
     176                                                <sp:txt> 
     177                                                        <dk:text> 
     178                                                                <sc:para sc:id="t111">© ® ™ ⌘ ⌥ ⇧.</sc:para> 
     179                                                        </dk:text> 
     180                                                </sp:txt> 
     181                                        </dk:flowAll> 
     182                                </sp:infobloc> 
     183                                <sp:infobloc> 
     184                                        <dk:sTitle> 
    173185                                                <sc:fullTitle>Elts inline :</sc:fullTitle> 
    174186                                        </dk:sTitle> 
     
    176188                                                <sp:txt> 
    177189                                                        <dk:text> 
    178                                                                 <sc:para sc:id="t65">Tincidunt, esse nulla, et <sc:inlineStyle role="emphasis">important</sc:inlineStyle> aliquam, quis facilisi <sc:inlineStyle role="alt">équivalant</sc:inlineStyle> euismod diam eros <sc:uLink sc:id="t68" url="http://www.kelis.fr">lien ext.</sc:uLink> olutpat dolore <sc:uLink sc:refUri="/qualifStyles/refs/def1.ref" role="def" sc:id="t69">Définition</sc:uLink> commodo erat. Tation <sc:uLink sc:refUri="/qualifStyles/refs/ref1.ref" role="ref" sc:id="t70">val de ref</sc:uLink> vero tation <sc:textLeaf role="textButton" sc:id="t71">bouton txt</sc:textLeaf> suscipit sit qui wisi odio, ad vel esse ad <sc:textLeaf role="textRadioButton" sc:id="t72">bouton radio</sc:textLeaf> ad lorem vel <sc:textLeaf role="textCheckBox" sc:id="t73">checkbox</sc:textLeaf> facilisis iriure <sc:textLeaf role="keyboard" sc:id="t75">touche clavier</sc:textLeaf> et nisl, ut iriure. Veniam, eros <sc:textLeaf role="menuPath" sc:id="t76">chemin/menu</sc:textLeaf> praesent accumsafeugiat vel <sc:textLeaf role="label" sc:id="t78">label</sc:textLeaf> quis <sc:textLeaf role="filePath" sc:id="t79">chemin fichier</sc:textLeaf> nostrud autem BtnIco : <sc:inlineImg role="iconButton" sc:id="t80" sc:refUri="/qualifStyles/res/btnSpell.icon.png"/> wisi et in, dignissim augue commodo, in consequat zone écran : <sc:inlineImg role="area" sc:id="t82" sc:refUri="/qualifStyles/res/zoneToolBar.icon.png"/> iusto augue dignissim ea ut ullamcorper. Nonummy dolor veniam eum sed tation te nulla exerci eu, in aliquip, praesent autem, commodo luptatum luptatum.</sc:para> 
     190                                                                <sc:para sc:id="t65">Tincidunt, esse nulla, et <sc:inlineStyle role="emphasis">important</sc:inlineStyle> aliquam, quis facilisi <sc:inlineStyle role="alt">équivalant</sc:inlineStyle> euismod diam eros <sc:uLink sc:id="t68" url="http://www.kelis.fr">lien ext.</sc:uLink> olutpat dolore <sc:uLink role="def" sc:id="t69" sc:refUri="/qualifStyles/refs/def1.ref">Définition</sc:uLink> commodo erat. Tation <sc:uLink role="ref" sc:id="t70" sc:refUri="/qualifStyles/refs/ref1.ref">val de ref</sc:uLink> vero tation <sc:textLeaf role="textButton" sc:id="t71">bouton txt</sc:textLeaf> suscipit sit qui wisi odio, ad vel esse ad <sc:textLeaf role="textRadioButton" sc:id="t72">bouton radio</sc:textLeaf> ad lorem vel <sc:textLeaf role="textCheckBox" sc:id="t73">checkbox</sc:textLeaf> facilisis iriure <sc:textLeaf role="keyboard" sc:id="t75">touche clavier</sc:textLeaf> et nisl, ut iriure. Veniam, eros <sc:textLeaf role="menuPath" sc:id="t76">chemin/menu</sc:textLeaf> praesent accumsafeugiat vel <sc:textLeaf role="label" sc:id="t78">label</sc:textLeaf> quis <sc:textLeaf role="filePath" sc:id="t79">chemin fichier</sc:textLeaf> nostrud autem BtnIco : <sc:inlineImg role="iconButton" sc:id="t80" sc:refUri="/qualifStyles/res/btnSpell.icon.png"/> wisi et in, dignissim <sc:textLeaf role="cmd" sc:id="t112">ligne de commande</sc:textLeaf> augue commodo, in consequat zone écran : <sc:inlineImg role="area" sc:id="t82" sc:refUri="/qualifStyles/res/zoneToolBar.icon.png"/> iusto augue dignissim ea ut ullamcorper. Nonummy dolor veniam eum sed tation te nulla exerci eu, in aliquip, praesent autem, commodo luptatum luptatum.</sc:para> 
    179191                                                        </dk:text> 
    180192                                                </sp:txt> 
  • trunk/model/sources/dkCore/genOd/transf/content/para.transf

    r416 r473  
    1 <?xml version="1.0" encoding="UTF-8"?><sm:textOdTransf xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"> 
     1<?xml version="1.0" encoding="UTF-8"?> 
     2<sm:textOdTransf xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"> 
    23        <sm:model sc:refUri="/dkCore/model/content/para.model"/> 
    34        <sm:content> 
    45                <sm:paraTag/> 
     6                <sm:extBlockTag> 
     7                        <sm:WCaptionBlock> 
     8                                <sm:callSubModel/> 
     9                        </sm:WCaptionBlock> 
     10                </sm:extBlockTag> 
    511                <sm:uLinkTag> 
    612                        <sm:WLink style="url"> 
     
    3238                <sm:textLeafTag role="label"/> 
    3339                <sm:textLeafTag role="filePath"/> 
     40                <sm:textLeafTag role="cmd"/> 
    3441                <sm:inlineImgTag role="iconButton" axis="icon"/> 
    3542                <sm:inlineImgTag role="area" axis="icon"/> 
  • trunk/model/sources/dkCore/genOd/transf/content/para@stepM.transf

    r416 r473  
    1 <?xml version="1.0" encoding="UTF-8"?><sm:textOdTransf xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"> 
     1<?xml version="1.0" encoding="UTF-8"?> 
     2<sm:textOdTransf xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"> 
    23        <sm:model sc:refUri="/dkCore/model/content/para.model"/> 
    34        <sm:axis code="stepM"/> 
    45        <sm:content> 
    56                <sm:paraTag/> 
     7                <sm:extBlockTag> 
     8                        <sm:WCaptionBlock> 
     9                                <sm:callSubModel/> 
     10                        </sm:WCaptionBlock> 
     11                </sm:extBlockTag> 
    612                <sm:uLinkTag> 
    713                        <sm:WLink style="url"> 
     
    3339                <sm:textLeafTag role="label"/> 
    3440                <sm:textLeafTag role="filePath"/> 
     41                <sm:textLeafTag role="cmd"/> 
    3542                <sm:inlineImgTag role="iconButton" axis="icon"/> 
    3643                <sm:inlineImgTag role="area" axis="icon"/> 
  • trunk/model/sources/dkCore/genOd/transf/content/text.transf

    r420 r473  
    2020                        <sm:dimBounds maxWidth="15"/> 
    2121                </sm:tableTag> 
     22                <sm:extBlockTag> 
     23                        <sm:WCaptionBlock> 
     24                                <sm:callSubModel/> 
     25                        </sm:WCaptionBlock> 
     26                </sm:extBlockTag> 
    2227                <sm:uLinkTag> 
    2328                        <sm:WLink style="url"> 
     
    106111                <sm:textLeafTag role="label"/> 
    107112                <sm:textLeafTag role="filePath"/> 
     113                <sm:textLeafTag role="cmd"/> 
    108114                <sm:inlineImgTag role="iconButton" axis="icon"/> 
    109115                <sm:inlineImgTag role="area" axis="icon"/> 
  • trunk/model/sources/dkCore/genOd/transf/content/text@stepList.transf

    r420 r473  
    2121                        <sm:dimBounds maxWidth="15"/> 
    2222                </sm:tableTag> 
     23                <sm:extBlockTag> 
     24                        <sm:WCaptionBlock> 
     25                                <sm:callSubModel/> 
     26                        </sm:WCaptionBlock> 
     27                </sm:extBlockTag> 
    2328                <sm:uLinkTag> 
    2429                        <sm:WLink style="url"> 
     
    107112                <sm:textLeafTag role="label"/> 
    108113                <sm:textLeafTag role="filePath"/> 
     114                <sm:textLeafTag role="cmd"/> 
    109115                <sm:inlineImgTag role="iconButton" axis="icon"/> 
    110116                <sm:inlineImgTag role="area" axis="icon"/> 
  • trunk/model/sources/dkCore/genOd/transf/content/textSimple.transf

    r416 r473  
    1 <?xml version="1.0" encoding="UTF-8"?><sm:textOdTransf xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"> 
     1<?xml version="1.0" encoding="UTF-8"?> 
     2<sm:textOdTransf xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"> 
    23        <sm:model sc:refUri="/dkCore/model/content/textSimple.model"/> 
    34        <sm:content> 
    4                 <sm:paraTag/><sm:listTags><sm:simpleListTag/><sm:itemizedListTag/><sm:orderedListTag/></sm:listTags> 
    5                  
    6                  
    7                  
     5                <sm:paraTag/> 
     6                <sm:listTags> 
     7                        <sm:simpleListTag/> 
     8                        <sm:itemizedListTag/> 
     9                        <sm:orderedListTag/> 
     10                </sm:listTags> 
     11                <sm:extBlockTag> 
     12                        <sm:WCaptionBlock> 
     13                                <sm:callSubModel/> 
     14                        </sm:WCaptionBlock> 
     15                </sm:extBlockTag> 
    816                <sm:uLinkTag> 
    917                        <sm:WLink style="url"> 
     
    3543                <sm:textLeafTag role="label"/> 
    3644                <sm:textLeafTag role="filePath"/> 
     45                <sm:textLeafTag role="cmd"/> 
    3746                <sm:inlineImgTag role="iconButton" axis="icon"/> 
    3847                <sm:inlineImgTag role="area" axis="icon"/> 
  • trunk/model/sources/dkCore/genOd/transf/content/textSimple@contentRgt.transf

    r416 r473  
    1 <?xml version="1.0" encoding="UTF-8"?><sm:textOdTransf xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"> 
     1<?xml version="1.0" encoding="UTF-8"?> 
     2<sm:textOdTransf xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"> 
    23        <sm:model sc:refUri="/dkCore/model/content/textSimple.model"/> 
    34        <sm:axis code="contentRgt"/> 
    45        <sm:content> 
    5                 <sm:paraTag/><sm:listTags><sm:simpleListTag/><sm:itemizedListTag/><sm:orderedListTag/></sm:listTags> 
    6                  
    7                  
    8                  
     6                <sm:paraTag/> 
     7                <sm:listTags> 
     8                        <sm:simpleListTag/> 
     9                        <sm:itemizedListTag/> 
     10                        <sm:orderedListTag/> 
     11                </sm:listTags> 
     12                <sm:extBlockTag> 
     13                        <sm:WCaptionBlock> 
     14                                <sm:callSubModel/> 
     15                        </sm:WCaptionBlock> 
     16                </sm:extBlockTag> 
    917                <sm:uLinkTag> 
    1018                        <sm:WLink style="url"> 
     
    3644                <sm:textLeafTag role="label"/> 
    3745                <sm:textLeafTag role="filePath"/> 
     46                <sm:textLeafTag role="cmd"/> 
    3847                <sm:inlineImgTag role="iconButton" axis="icon"/> 
    3948                <sm:inlineImgTag role="area" axis="icon"/> 
  • trunk/model/sources/dkCore/genOd/transf/content/textSimple@longTitle.transf

    r416 r473  
    1 <?xml version="1.0" encoding="UTF-8"?><sm:textOdTransf xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"> 
     1<?xml version="1.0" encoding="UTF-8"?> 
     2<sm:textOdTransf xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"> 
    23        <sm:model sc:refUri="/dkCore/model/content/textSimple.model"/> 
    34        <sm:axis code="longTitle"/> 
    45        <sm:content> 
    5                 <sm:paraTag/><sm:listTags><sm:simpleListTag/><sm:itemizedListTag/><sm:orderedListTag/></sm:listTags> 
    6                  
    7                  
    8                  
     6                <sm:paraTag/> 
     7                <sm:listTags> 
     8                        <sm:simpleListTag/> 
     9                        <sm:itemizedListTag/> 
     10                        <sm:orderedListTag/> 
     11                </sm:listTags> 
     12                <sm:extBlockTag> 
     13                        <sm:WCaptionBlock> 
     14                                <sm:callSubModel/> 
     15                        </sm:WCaptionBlock> 
     16                </sm:extBlockTag> 
    917                <sm:uLinkTag> 
    1018                        <sm:WLink style="url"> 
     
    3644                <sm:textLeafTag role="label"/> 
    3745                <sm:textLeafTag role="filePath"/> 
     46                <sm:textLeafTag role="cmd"/> 
    3847                <sm:inlineImgTag role="iconButton" axis="icon"/> 
    3948                <sm:inlineImgTag role="area" axis="icon"/> 
  • trunk/model/sources/dkCore/genSld/transf/content/para.transf

    r416 r473  
    1 <?xml version="1.0" encoding="UTF-8"?><sm:textXhtmlTransf xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core"> 
     1<?xml version="1.0" encoding="UTF-8"?> 
     2<sm:textXhtmlTransf xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling"> 
    23        <sm:model sc:refUri="/dkCore/model/content/para.model"/> 
    34        <sm:content> 
     
    1516                        </sm:externalUrl> 
    1617                </sm:uLinkTag> 
    17                 <sm:inlineStyleTag widgetClass="txtImp" role="emphasis"/> 
    18                 <sm:inlineStyleTag widgetClass="txtAlt" role="alt"/> 
    19                 <sm:textLeafTag widgetClass="txtBtn" role="textButton"/> 
    20                 <sm:textLeafTag widgetClass="txtRdo" role="textRadioButton"/> 
    21                 <sm:textLeafTag widgetClass="txtChk" role="textCheckBox"/> 
    22                 <sm:textLeafTag widgetClass="txtKey" role="keyboard"/> 
    23                 <sm:textLeafTag widgetClass="txtMnu" role="menuPath"/> 
    24                 <sm:textLeafTag widgetClass="txtLbl" role="label"/> 
    25                 <sm:textLeafTag widgetClass="txtFile" role="filePath"/> 
     18                <sm:inlineStyleTag widgetClass="txtImp" role="emphasis" tagName="strong"/> 
     19                <sm:inlineStyleTag widgetClass="txtAlt" role="alt" tagName="cite"/> 
     20                <sm:textLeafTag widgetClass="txtBtn" role="textButton" tagName="code"/> 
     21                <sm:textLeafTag widgetClass="txtRdo" role="textRadioButton" tagName="code"/> 
     22                <sm:textLeafTag widgetClass="txtChk" role="textCheckBox" tagName="code"/> 
     23                <sm:textLeafTag widgetClass="txtKey" role="keyboard" tagName="code"/> 
     24                <sm:textLeafTag widgetClass="txtMnu" role="menuPath" tagName="code"/> 
     25                <sm:textLeafTag widgetClass="txtLbl" role="label" tagName="code"/> 
     26                <sm:textLeafTag widgetClass="txtFile" role="filePath" tagName="code"/> 
     27                <sm:textLeafTag widgetClass="txtCmd" role="cmd" tagName="kbd"/> 
    2628                <sm:inlineImgTag widgetClass="txtIco" role="iconButton" axis="inline"/> 
    2729                <sm:inlineImgTag widgetClass="txtArea" role="area" axis="inline"/> 
  • trunk/model/sources/dkCore/genSld/transf/content/text.transf

    r420 r473  
    7474                        </sm:refItem> 
    7575                </sm:uLinkTag> 
    76                 <sm:inlineStyleTag widgetClass="txtImp" role="emphasis"/> 
    77                 <sm:inlineStyleTag widgetClass="txtAlt" role="alt"/> 
    78                 <sm:textLeafTag widgetClass="txtBtn" role="textButton"/> 
    79                 <sm:textLeafTag widgetClass="txtRdo" role="textRadioButton"/> 
    80                 <sm:textLeafTag widgetClass="txtChk" role="textCheckBox"/> 
    81                 <sm:textLeafTag widgetClass="txtKey" role="keyboard"/> 
    82                 <sm:textLeafTag widgetClass="txtMnu" role="menuPath"/> 
    83                 <sm:textLeafTag widgetClass="txtLbl" role="label"/> 
    84                 <sm:textLeafTag widgetClass="txtFile" role="filePath"/> 
     76                <sm:inlineStyleTag widgetClass="txtImp" role="emphasis" tagName="strong"/> 
     77                <sm:inlineStyleTag widgetClass="txtAlt" role="alt" tagName="cite"/> 
     78                <sm:textLeafTag widgetClass="txtBtn" role="textButton" tagName="code"/> 
     79                <sm:textLeafTag widgetClass="txtRdo" role="textRadioButton" tagName="code"/> 
     80                <sm:textLeafTag widgetClass="txtChk" role="textCheckBox" tagName="code"/> 
     81                <sm:textLeafTag widgetClass="txtKey" role="keyboard" tagName="code"/> 
     82                <sm:textLeafTag widgetClass="txtMnu" role="menuPath" tagName="code"/> 
     83                <sm:textLeafTag widgetClass="txtLbl" role="label" tagName="code"/> 
     84                <sm:textLeafTag widgetClass="txtFile" role="filePath" tagName="code"/> 
     85                <sm:textLeafTag widgetClass="txtCmd" role="cmd" tagName="kbd"/> 
    8586                <sm:inlineImgTag widgetClass="txtIco" role="iconButton" axis="inline"/> 
    8687                <sm:inlineImgTag widgetClass="txtArea" role="area" axis="inline"/> 
  • trunk/model/sources/dkCore/genSld/transf/content/textSimple.transf

    r416 r473  
    1 <?xml version="1.0" encoding="UTF-8"?><sm:textXhtmlTransf xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core"> 
     1<?xml version="1.0" encoding="UTF-8"?> 
     2<sm:textXhtmlTransf xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling"> 
    23        <sm:model sc:refUri="/dkCore/model/content/textSimple.model"/> 
    34        <sm:content> 
    4                 <sm:paraTag widgetClass="txtPara" tagName="p"/><sm:listTags><sm:simpleListTag/><sm:itemizedListTag/><sm:orderedListTag/></sm:listTags> 
    5                  
    6                  
    7                  
     5                <sm:paraTag widgetClass="txtPara" tagName="p"/> 
     6                <sm:listTags> 
     7                        <sm:simpleListTag/> 
     8                        <sm:itemizedListTag/> 
     9                        <sm:orderedListTag/> 
     10                </sm:listTags> 
    811                <sm:uLinkTag widgetClass="txtLnk"> 
    912                        <sm:externalUrl> 
     
    1821                        </sm:externalUrl> 
    1922                </sm:uLinkTag> 
    20                 <sm:inlineStyleTag widgetClass="txtImp" role="emphasis"/> 
    21                 <sm:inlineStyleTag widgetClass="txtAlt" role="alt"/> 
    22                 <sm:textLeafTag widgetClass="txtBtn" role="textButton"/> 
    23                 <sm:textLeafTag widgetClass="txtRdo" role="textRadioButton"/> 
    24                 <sm:textLeafTag widgetClass="txtChk" role="textCheckBox"/> 
    25                 <sm:textLeafTag widgetClass="txtKey" role="keyboard"/> 
    26                 <sm:textLeafTag widgetClass="txtMnu" role="menuPath"/> 
    27                 <sm:textLeafTag widgetClass="txtLbl" role="label"/> 
    28                 <sm:textLeafTag widgetClass="txtFile" role="filePath"/> 
     23                <sm:inlineStyleTag widgetClass="txtImp" role="emphasis" tagName="strong"/> 
     24                <sm:inlineStyleTag widgetClass="txtAlt" role="alt" tagName="cite"/> 
     25                <sm:textLeafTag widgetClass="txtBtn" role="textButton" tagName="code"/> 
     26                <sm:textLeafTag widgetClass="txtRdo" role="textRadioButton" tagName="code"/> 
     27                <sm:textLeafTag widgetClass="txtChk" role="textCheckBox" tagName="code"/> 
     28                <sm:textLeafTag widgetClass="txtKey" role="keyboard" tagName="code"/> 
     29                <sm:textLeafTag widgetClass="txtMnu" role="menuPath" tagName="code"/> 
     30                <sm:textLeafTag widgetClass="txtLbl" role="label" tagName="code"/> 
     31                <sm:textLeafTag widgetClass="txtFile" role="filePath" tagName="code"/> 
     32                <sm:textLeafTag widgetClass="txtCmd" role="cmd" tagName="kbd"/> 
    2933                <sm:inlineImgTag widgetClass="txtIco" role="iconButton" axis="inline"/> 
    3034                <sm:inlineImgTag widgetClass="txtArea" role="area" axis="inline"/> 
  • trunk/model/sources/dkCore/genSld/wdt/mgr/scPresMgr.doss/scPresMgr.js

    r468 r473  
    8282        fCurrSld : null, 
    8383 
     84        /* Localisations */ 
     85        fStrings : {en:["previous","previous image (left arrow)",       //0 
     86                    "next","next image (right arrow)",                  //2 
     87                    "close","close the zoom (ESC)",                     //4 
     88                    "WARNING: The Firebug extention is active.\nIt is advisable to deactivate Firebug while viewing this slide-show",""],//6 
     89                    fr:["Précédant","Précédant (flèche gauche)", 
     90                    "Suivant","Suivant (flèche droite)", 
     91                    "Fermer","Fermer le zoom (ESC)", 
     92                    "ATTENTION : L'extension Firebug est actif.\nIl est conseillé de désactiver Firebug pour visualiser ce diaporama.",""] 
     93                    }, 
     94 
    8495        /* === Public ============================================================= */ 
    8596        /** Init the manager 
     
    102113                this.fListeners['onSldLoad'] = new Array(); 
    103114                this.fListeners['onSldShow'] = new Array(); 
     115                this.fListeners['onKeyPress'] = new Array(); 
    104116                //Init liste elements outils 
    105117                this.fToolElts = new Array(); 
     
    155167                        this.fNav = scPaLib.findNode(this.fNavPath); 
    156168                        this.fNav.innerHTML = ""; // Purge the nav bar 
    157                         this.fBtnPrv = this.xAddBtn(this.fNav, "btnPrv", "Précédant", "Précédant (flèche gauche)"); 
     169                        this.fBtnPrv = this.xAddBtn(this.fNav, "btnPrv", this.xGetStr(0), this.xGetStr(1)); 
    158170                        this.fBtnPrv.style.visibility = "hidden"; 
    159                         this.fBtnNxt = this.xAddBtn(this.fNav, "btnNxt", "Suivant", "Suivant (flèche droite)"); 
     171                        this.fBtnNxt = this.xAddBtn(this.fNav, "btnNxt", this.xGetStr(2), this.xGetStr(3)); 
    160172                        this.addToolElt(this.fNav); 
    161173                        //Init Slide d'accueil 
    162174                        this.fSldHome = scPaLib.findNode("chi:div.slide", this.fSldFra); 
    163                         this.fSldHome.fSldMgr = new scPresMgr.SldHomeMgr(this.fSldHome, -1); 
     175                        this.fSldHome.fSldMgr = new scPresMgr.SldHomeMgr(this.fSldHome); 
    164176                        this.fSldHome.fSldMgr.initSld(); 
    165177                        //Init zoom container 
     
    167179                        this.fZoom.fSld = scPresMgr.xAddElt("div", this.fZoom, "tplZmSld"); 
    168180                        this.fZoom.fCo = this.xAddElt("div", this.fZoom, "tplZmCo"); 
    169                         this.fZoom.fBtnCls = this.xAddBtn(this.fZoom, "btnZmCls", "Fermer", "Fermer le zoom (ESC)"); 
     181                        this.fZoom.fBtnCls = this.xAddBtn(this.fZoom, "btnZmCls", this.xGetStr(4), this.xGetStr(5)); 
    170182                        //Enable tool auto hiding 
    171183                        this.enableToolHider(true); 
    172184                        //Affichage du slide d'accueil (rendu instantanné) 
    173185                        this.fSwitchSldTask.initTask(this.fSldHome, "first", true); 
     186                        if (!scCoLib.fDebug && window.console && window.console.firebug) alert(this.xGetStr(6)); 
    174187                }catch(e){scCoLib.util.logError("ERROR scPresMgr.onLoad : ", e);} 
    175188        }, 
     
    189202        /** Returns the current slide. */ 
    190203        getCurrSld : function(){ 
    191                 return this.fCurrSld; 
    192         }, 
    193  
    194         /** Buttons manager. */ 
    195         btnMgr : function(pBtn){ 
    196                 //scCoLib.util.log("scPresMgr.btnMgr: "+pBtn.fName); 
    197                 switch(pBtn.fName){ 
    198                         case "btnNxt": 
    199                                 this.xNxt();break; 
    200                         case "btnPrv": 
    201                                 this.xPrv();break; 
    202                         case "btnZmCls": 
    203                                 this.xHideZoom();break; 
    204                 } 
    205                 this.xResetFocus(); 
    206         }, 
    207          
     204                return scPresMgr.fSwitchSldTask.fNewSld || this.fCurrSld; 
     205        }, 
     206 
    208207        /** Redessinement de la zone des slides (suite à resize notamment). */ 
    209208        redrawSlideZone : function(){ 
     
    228227        }, 
    229228 
     229        /** Returns true if the presentation has a next step / slide. */ 
     230        hasNxt : function() { 
     231                var vSld = this.getCurrSld(); 
     232                if (vSld && vSld.fSldMgr) { 
     233                        return (vSld.fSldMgr.hasNxt() ? true : !vSld.fSldMgr.isLastSld()); 
     234                } else return false; 
     235        }, 
     236 
     237        /** Returns true if the presentation has a previous step / slide. */ 
     238        hasPrv : function() { 
     239                var vSld = this.getCurrSld(); 
     240                if (vSld && vSld.fSldMgr) { 
     241                        return (vSld.fSldMgr.hasPrv() ? true : !vSld.fSldMgr.isFirstSld()); 
     242                } else return false; 
     243        }, 
     244 
    230245        /** register a listener. */ 
    231246        register : function(pType, pFunc) { 
     
    245260 
    246261        /* === Private ============================================================ */ 
    247          
    248         sOnClickTocLnk : function(){ 
    249                 scPresMgr.loadSld(this.fSldIdx, true, false); 
    250                 return false; 
    251         }, 
    252262         
    253263        /** Move forward 1 step / slide. 
     
    270280                return true; 
    271281        }, 
     282 
    272283        /** Move back 1 step / slide. 
    273284         * @param pSkip if true move to beginning of previous slide. 
     
    287298                return true; 
    288299        }, 
     300        /** xUpdateGui */ 
    289301        xUpdateGui : function() { 
    290                 var vSld =  scPresMgr.fSwitchSldTask.fNewSld || this.fCurrSld; 
     302                var vSld = this.getCurrSld(); 
    291303                if (vSld && vSld.fSldMgr) { 
    292                         this.fBtnNxt.style.visibility = (vSld.fSldMgr.hasNxt() ? "" : (vSld.fSldMgr.fSldIdx < this.fSldUrls.length-1 ? "" : "hidden")); 
    293                         this.fBtnPrv.style.visibility = (vSld.fSldMgr.hasPrv() ? "" : (vSld.fSldMgr.fSldIdx > -1 ? "" : "hidden")); 
     304                        this.fBtnNxt.style.visibility = (vSld.fSldMgr.hasNxt() ? "" : (!vSld.fSldMgr.isLastSld() ? "" : "hidden")); 
     305                        this.fBtnPrv.style.visibility = (vSld.fSldMgr.hasPrv() ? "" : (!vSld.fSldMgr.isFirstSld() ? "" : "hidden")); 
    294306                } 
    295307        }, 
     
    388400        }, 
    389401         
     402        /** Buttons manager. */ 
     403        xBtnMgr : function(pBtn){ 
     404                switch(pBtn.fName){ 
     405                        case "btnNxt": 
     406                                this.xNxt();break; 
     407                        case "btnPrv": 
     408                                this.xPrv();break; 
     409                        case "btnZmCls": 
     410                                this.xHideZoom();break; 
     411                } 
     412                this.xResetFocus(); 
     413        }, 
     414         
    390415        /** Event clavier. */ 
    391416        sOnKeyUp : function(pEvent){ 
     
    394419                return scPresMgr.xKeyMgr(vCharCode); 
    395420        }, 
    396         /** scPresMgr.xKeyMgr :  
    397         */ 
     421 
     422        /** scPresMgr.xKeyMgr */ 
    398423        xKeyMgr : function(pCharCode){ 
    399424                //scCoLib.util.log("scPresMgr.xKeyMgr: "+pCharCode); 
     425                this.xNotifyListeners("onKeyPress", pCharCode); 
    400426                switch(pCharCode){ 
    401427                        case 39://right 
     
    413439                        case 33://pg_up 
    414440                                this.xPrv(true); return false; 
    415                         case 77://m 
    416                                 tocMgr.toggleToc(); return false; 
    417441                        case 36://home 
    418442                                this.loadSld(-1);return false; 
     
    457481                return vDst; 
    458482        }, 
    459         /** scPresMgr.xHideZoom : hide the zoom window 
    460         */ 
     483 
     484        /** scPresMgr.xHideZoom : hide the zoom window */ 
    461485        xHideZoom : function(){ 
    462486                if (this.fZoom.fAct){ 
     
    465489                } 
    466490        }, 
    467         /** scPresMgr.xGetZoomContainer : return the zoom container 
    468         */ 
     491 
     492        /** scPresMgr.xGetZoomContainer : return the zoom container */ 
    469493        xGetZoomContainer : function(){ 
    470494                return this.fZoom.fCo; 
    471495        }, 
    472         /** scPresMgr.xGetZoomSlide : return the zoom iframe container 
    473         */ 
     496 
     497        /** scPresMgr.xGetZoomSlide : return the zoom iframe container */ 
    474498        xGetZoomSlide : function(){ 
    475499                return this.fZoom.fFra; 
    476500        }, 
    477         /** scPresMgr.xResetFocus - sets the focus to the current slide. 
    478         */ 
     501 
     502        /** scPresMgr.xResetFocus - sets the focus to the current slide. */ 
    479503        xResetFocus : function() { 
    480504                if (this.fCurrSld && this.fCurrSld.fSldMgr && this.fCurrSld.fSldMgr.fFraNode){ 
     
    489513         */ 
    490514        xNotifyListeners : function(pType,pRes) { 
    491                 var vListener = this.fListeners[pType]; 
     515                //scCoLib.util.log("scPresMgr.xNotifyListeners: "+pType); 
     516                var vListener = scPresMgr.fListeners[pType]; 
    492517                for (i in vListener) { 
    493518                        try { 
     
    496521                } 
    497522        }, 
    498         /** scPresMgr.xHideTools : tool hider 
    499         */ 
     523 
     524        /** scPresMgr.xHideTools : tool hider */ 
    500525        xHideTools : function(){ 
    501526                if (!this.fToolsHidden) { 
     
    511536                } 
    512537        }, 
    513         /** scPresMgr.xShowTools : mouse event manager 
    514         */ 
     538 
     539        /** scPresMgr.xShowTools : mouse event manager */ 
    515540        xShowTools : function(){ 
    516541                if (this.fToolsHidden) { 
     
    524549                this.fToolsShowTime = new Date().getTime(); 
    525550        }, 
    526         /** scPresMgr.sMouseMgr : mouse event manager 
    527          */ 
    528         sMouseMgr : function(){ 
    529                 if (scPresMgr.fToolHider) scPresMgr.xShowTools(); 
    530         }, 
    531  
    532         /** scPresMgr.sHeartbeat : run every second. 
    533          */ 
    534         sHeartbeat : function(){ 
    535                 if (scPresMgr.fToolHider) scPresMgr.xHideTools(); 
    536         }, 
    537  
    538         /** scPresMgr.sFadeToolsStart :  
    539          */ 
    540         sFadeToolsStart : function(){ 
    541                 if (scCoLib.isIE) this.fElt.style.backgroundColor = scPresMgr.xReadStyle(scPresMgr.fSldFra, "backgroundColor") || "white"; 
    542         }, 
    543         /** scPresMgr.sFadeToolsEnd :  
    544          */ 
    545         sFadeToolsEnd : function(){ 
    546                 if (scCoLib.isIE) this.fElt.style.backgroundColor = ""; 
    547         }, 
    548          
    549         /* === Utilities ========================================================== */ 
    550         /** scPresMgr.xAddElt : Add an HTML element to a parent node. 
    551          */ 
    552         xAddElt : function(pName, pParent, pClassName, pNoDisplay, pHidden, pNxtSib){ 
    553                 var vElt; 
    554                 if(scCoLib.isIE && pName.toLowerCase() == "iframe") { 
    555                         //BUG IE : impossible de masquer les bordures si on ajoute l'iframe via l'API DOM. 
    556                         var vFrmHolder = pParent.ownerDocument.createElement("div"); 
    557                         if (pNxtSib) pParent.insertBefore(vFrmHolder,pNxtSib) 
    558                         else pParent.appendChild(vFrmHolder); 
    559                         vFrmHolder.innerHTML = "<iframe scrolling='no' frameborder='0'></iframe>"; 
    560                         vElt = vFrmHolder.firstChild; 
    561                 } else { 
    562                         vElt = pParent.ownerDocument.createElement(pName); 
    563                         if (pNxtSib) pParent.insertBefore(vElt,pNxtSib) 
    564                         else pParent.appendChild(vElt); 
    565                 } 
    566                 if (pClassName) vElt.className = pClassName; 
    567                 if (pNoDisplay) vElt.style.display = "none"; 
    568                 if (pHidden) vElt.style.visibility = "hidden"; 
    569                 return vElt; 
    570         }, 
    571         /** scPresMgr.xAddEltNoDisp : Add a non displayed HTML element to a parent node. 
    572          */ 
    573         xAddEltNoDisp : function(pName, pParent, pClassName) { 
    574                 var vElt = this.xAddElt(pName, pParent, pClassName, true, false); 
    575                 return vElt; 
    576         }, 
    577         /** 
    578          * scPresMgr.xAddEltHidden : Add a hidden HTML element to a parent node. 
    579          */ 
    580         xAddEltHidden : function(pName, pParent, pClassName) { 
    581                 var vElt = this.xAddElt(pName, pParent, pClassName, false, true); 
    582                 return vElt; 
    583         }, 
    584         /** scPresMgr.xAddBtn : Add a HTML button to a parent node. 
    585          */ 
    586         xAddBtn : function(pParent, pClassName, pCapt, pTitle, pNxtSib) { 
    587                 var vBtn = pParent.ownerDocument.createElement("a"); 
    588                 vBtn.className = pClassName; 
    589                 vBtn.fName = pClassName; 
    590                 vBtn.href = "#"; 
    591                 vBtn.target = "_self"; 
    592                 vBtn.onclick = function() { 
    593                         scPresMgr.btnMgr(this); 
    594                         return false; 
    595                 } 
    596                 vBtn.setAttribute("title", pTitle); 
    597                 vBtn.innerHTML = "<span>" + pCapt + "</span>" 
    598                 if (pNxtSib) pParent.insertBefore(vBtn,pNxtSib) 
    599                 else pParent.appendChild(vBtn); 
    600                 return vBtn; 
    601         }, 
    602         /** scPresMgr.xReadStyle : Read a style property (inline or CSS). 
    603          */ 
    604         xReadStyle : function(pElt, pProp) { 
    605                 try { 
    606                         if (pElt.style[pProp]) { 
    607                                 return pElt.style[pProp]; 
    608                         } else if (pElt.currentStyle) { 
    609                                 return pElt.currentStyle[pProp]; 
    610                         } else { 
    611                                 var vDefaultView = pElt.ownerDocument.defaultView; 
    612                                 if (vDefaultView && vDefaultView.getComputedStyle) { 
    613                                         var vStyle = vDefaultView.getComputedStyle(pElt, null); 
    614                                         if (vStyle[pProp]) return vStyle[pProp]; 
    615                                         else return vStyle.getPropertyValue(pProp); 
    616                                 } 
    617                                 return null; 
    618                         } 
    619                 } catch (e) { 
    620                         return null; 
    621                 } 
    622         }, 
    623         /** scPresMgr.xGetEltT : Retrun an element's absolute top (from the top of the page). 
    624          */ 
    625         xGetEltT: function(pElt) { 
    626                 var vY; 
    627                 if (pElt.style.pixelTop) { 
    628                         vY = scCoLib.toInt(pElt.style.pixelTop); 
    629                 } else { 
    630                         vY = scCoLib.toInt(pElt.offsetTop); 
    631                         if (pElt.offsetParent.tagName.toLowerCase() != 'body' && pElt.offsetParent.tagName.toLowerCase() != 'html') { 
    632                                 vY -= pElt.offsetParent.scrollTop; 
    633                                 vY += this.xGetEltT(pElt.offsetParent); 
    634                         } 
    635                 } 
    636                 if (this.fNavsf) { 
    637                 } 
    638                 return vY; 
    639         }, 
    640         /** scPresMgr.xGetEltT : Retrun an element's height. 
    641          */ 
    642         xGetEltH: function(pElt) { 
    643                 return(scCoLib.toInt(pElt.style.pixelHeight || pElt.offsetHeight)); 
    644         }, 
    645          
    646         /** Set the opacity of a given node. 
    647          * @param pRate Variable de 0 à 1. 
    648          */ 
    649         xSetOpacity: function(pNode, pRate){ 
    650                 if(scCoLib.isIE) pNode.filters.item("DXImageTransform.Microsoft.Alpha").opacity = pRate*100; 
    651                 else pNode.style.opacity = pRate; 
    652         }, 
    653         /** Start the opacity of a given node. 
    654          * On ajoute le filtre d'opacité sur IE. 
    655          * On place le node en visibility: "". 
    656          * @param pRate 2 valeurs possibles: 0 (invisible) ou 1 (visible). 
    657          */ 
    658         xStartOpacityEffect: function(pNode, pRate){ 
    659                 if(scCoLib.isIE) pNode.style.filter = pRate==1 ? "progid:DXImageTransform.Microsoft.Alpha(opacity=100)" : "progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; 
    660                 else pNode.style.opacity = pRate; 
    661                 pNode.style.visibility = ""; 
    662         }, 
    663         /** End the opacity of a given node. 
    664          * On supprime le filtre d'opacité sur IE (évite des bugs de refresh). 
    665          * On place le node en visibility: hidden. 
    666          * @param pRate 2 valeurs possibles: 0 (invisible) ou 1 (visible). 
    667          */ 
    668         xEndOpacityEffect: function(pNode, pRate){ 
    669                 if(scCoLib.isIE) pNode.style.filter = ""; 
    670                 else pNode.style.opacity = pRate; 
    671                 if(pRate == 0) pNode.style.visibility = "hidden"; 
    672                 else pNode.style.visibility = ""; 
    673         }, 
    674          
    675551 
    676552        /** Init tous les blocks fils d'un blockRoot (du slide ou d'un container) */ 
     
    695571        }, 
    696572 
     573        /** scPresMgr.sOnClickTocLnk : TOC item onclick event */ 
     574        sOnClickTocLnk : function(){ 
     575                scPresMgr.loadSld(this.fSldIdx, true, false); 
     576                return false; 
     577        }, 
     578         
     579        /** scPresMgr.sMouseMgr : mouse event manager */ 
     580        sMouseMgr : function(){ 
     581                if (scPresMgr.fToolHider) scPresMgr.xShowTools(); 
     582        }, 
     583 
     584        /** scPresMgr.sHeartbeat : run every second. */ 
     585        sHeartbeat : function(){ 
     586                if (scPresMgr.fToolHider) scPresMgr.xHideTools(); 
     587        }, 
     588 
     589        /** scPresMgr.sFadeToolsStart */ 
     590        sFadeToolsStart : function(){ 
     591                if (scCoLib.isIE) this.fElt.style.backgroundColor = scPresMgr.xReadStyle(scPresMgr.fSldFra, "backgroundColor") || "white"; 
     592        }, 
     593        /** scPresMgr.sFadeToolsEnd */ 
     594        sFadeToolsEnd : function(){ 
     595                if (scCoLib.isIE) this.fElt.style.backgroundColor = ""; 
     596        }, 
     597         
     598        /* === Utilities ========================================================== */ 
     599 
     600        /** scPresMgr.xAddElt : Add an HTML element to a parent node. */ 
     601        xAddElt : function(pName, pParent, pClassName, pNoDisplay, pHidden, pNxtSib){ 
     602                var vElt; 
     603                if(scCoLib.isIE && pName.toLowerCase() == "iframe") { 
     604                        //BUG IE : impossible de masquer les bordures si on ajoute l'iframe via l'API DOM. 
     605                        var vFrmHolder = pParent.ownerDocument.createElement("div"); 
     606                        if (pNxtSib) pParent.insertBefore(vFrmHolder,pNxtSib) 
     607                        else pParent.appendChild(vFrmHolder); 
     608                        vFrmHolder.innerHTML = "<iframe scrolling='no' frameborder='0'></iframe>"; 
     609                        vElt = vFrmHolder.firstChild; 
     610                } else { 
     611                        vElt = pParent.ownerDocument.createElement(pName); 
     612                        if (pNxtSib) pParent.insertBefore(vElt,pNxtSib) 
     613                        else pParent.appendChild(vElt); 
     614                } 
     615                if (pClassName) vElt.className = pClassName; 
     616                if (pNoDisplay) vElt.style.display = "none"; 
     617                if (pHidden) vElt.style.visibility = "hidden"; 
     618                return vElt; 
     619        }, 
     620 
     621        /** scPresMgr.xAddEltNoDisp : Add a non displayed HTML element to a parent node. */ 
     622        xAddEltNoDisp : function(pName, pParent, pClassName) { 
     623                var vElt = this.xAddElt(pName, pParent, pClassName, true, false); 
     624                return vElt; 
     625        }, 
     626 
     627        /** scPresMgr.xAddEltHidden : Add a hidden HTML element to a parent node. */ 
     628        xAddEltHidden : function(pName, pParent, pClassName) { 
     629                var vElt = this.xAddElt(pName, pParent, pClassName, false, true); 
     630                return vElt; 
     631        }, 
     632 
     633        /** scPresMgr.xAddBtn : Add a HTML button to a parent node. */ 
     634        xAddBtn : function(pParent, pClassName, pCapt, pTitle, pNxtSib) { 
     635                var vBtn = pParent.ownerDocument.createElement("a"); 
     636                vBtn.className = pClassName; 
     637                vBtn.fName = pClassName; 
     638                vBtn.href = "#"; 
     639                vBtn.target = "_self"; 
     640                vBtn.onclick = function() { 
     641                        scPresMgr.xBtnMgr(this); 
     642                        return false; 
     643                } 
     644                vBtn.setAttribute("title", pTitle); 
     645                vBtn.innerHTML = "<span>" + pCapt + "</span>" 
     646                if (pNxtSib) pParent.insertBefore(vBtn,pNxtSib) 
     647                else pParent.appendChild(vBtn); 
     648                return vBtn; 
     649        }, 
     650 
     651        /** scPresMgr.xReadStyle : Read a style property (inline or CSS). */ 
     652        xReadStyle : function(pElt, pProp) { 
     653                try { 
     654                        if (pElt.style[pProp]) { 
     655                                return pElt.style[pProp]; 
     656                        } else if (pElt.currentStyle) { 
     657                                return pElt.currentStyle[pProp]; 
     658                        } else { 
     659                                var vDefaultView = pElt.ownerDocument.defaultView; 
     660                                if (vDefaultView && vDefaultView.getComputedStyle) { 
     661                                        var vStyle = vDefaultView.getComputedStyle(pElt, null); 
     662                                        if (vStyle[pProp]) return vStyle[pProp]; 
     663                                        else return vStyle.getPropertyValue(pProp); 
     664                                } 
     665                                return null; 
     666                        } 
     667                } catch (e) { 
     668                        return null; 
     669                } 
     670        }, 
     671 
     672        /** scPresMgr.xGetEltTop : Retrun an element's absolute top (from pRoot or the top of the page). 
     673         * @param pElt start element. 
     674         * @param pRoot optional finish element, if present and is an ancestor of pElt, retun the top of pElt in relation to pRoot. 
     675         */ 
     676        xGetEltTop: function(pElt, pRoot) { 
     677                var vY; 
     678                var vRoot = pRoot || null; 
     679                vY = scCoLib.toInt(pElt.offsetTop); 
     680                if (pElt.offsetParent.tagName.toLowerCase() != 'body' && pElt.offsetParent.tagName.toLowerCase() != 'html' && pElt.offsetParent != vRoot) { 
     681                        vY -= pElt.offsetParent.scrollTop; 
     682                        vY += this.xGetEltTop(pElt.offsetParent, vRoot); 
     683                } 
     684                return vY; 
     685        }, 
     686 
     687        /** scPresMgr.xGetEltH : Retrun an element's height. */ 
     688        xGetEltH: function(pElt) { 
     689                return(scCoLib.toInt(pElt.style.pixelHeight || pElt.offsetHeight)); 
     690        }, 
     691         
     692        /** Set the opacity of a given node. 
     693         * @param pRate Variable de 0 à 1. 
     694         */ 
     695        xSetOpacity: function(pNode, pRate){ 
     696                if(scCoLib.isIE) pNode.filters.item("DXImageTransform.Microsoft.Alpha").opacity = pRate*100; 
     697                else pNode.style.opacity = pRate; 
     698        }, 
     699 
     700        /** Start the opacity of a given node. 
     701         * On ajoute le filtre d'opacité sur IE. 
     702         * On place le node en visibility: "". 
     703         * @param pRate 2 valeurs possibles: 0 (invisible) ou 1 (visible). 
     704         */ 
     705        xStartOpacityEffect: function(pNode, pRate){ 
     706                if(scCoLib.isIE) pNode.style.filter = pRate==1 ? "progid:DXImageTransform.Microsoft.Alpha(opacity=100)" : "progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; 
     707                else pNode.style.opacity = pRate; 
     708                pNode.style.visibility = ""; 
     709        }, 
     710 
     711        /** End the opacity of a given node. 
     712         * On supprime le filtre d'opacité sur IE (évite des bugs de refresh). 
     713         * On place le node en visibility: hidden. 
     714         * @param pRate 2 valeurs possibles: 0 (invisible) ou 1 (visible). 
     715         */ 
     716        xEndOpacityEffect: function(pNode, pRate){ 
     717                if(scCoLib.isIE) pNode.style.filter = ""; 
     718                else pNode.style.opacity = pRate; 
     719                if(pRate == 0) pNode.style.visibility = "hidden"; 
     720                else pNode.style.visibility = ""; 
     721        }, 
     722 
     723        /** Reteive a localized string. */ 
     724        xGetStr: function(pStrId) { 
     725                var vLang = navigator.userLanguage || navigator.language; 
     726                vLang = vLang.slice(0,2).toLowerCase(); 
     727                if (this.fStrings[vLang])       return this.fStrings[vLang][pStrId]; 
     728                else return this.fStrings["en"][pStrId]; 
     729        }, 
     730 
    697731        /* === Tasks ============================================================== */ 
    698732         
    699         /** TiLib task that swiches from the current slide to a new one. 
    700          */ 
     733        /** TiLib task that swiches from the current slide to a new one. */ 
    701734        fSwitchSldTask : { 
    702735                fNewSld: null, 
     
    840873                fRateNew: [ 0,  0,  0,  0, .1, .2, .3, .5, .7, .8, .9], 
    841874         
    842          
    843875                /** 
    844876                 * init la task pour accéder à un nouveau block. 
     
    920952        }, 
    921953         
    922         /** scPresMgr.fSwitchStpTask : TiLib task that swiches from the current step to a new one. 
    923          *  
    924          */ 
     954        /** scPresMgr.fSwitchStpTask : TiLib task that swiches from the current step to a new one. */ 
    925955        fSwitchStpTask : { 
    926956                /** Paramétrage de l'animation. */ 
     
    9911021                                this.fNewMask  = this.fBlockMgr.fMasks[this.fTargetStepIdx]; 
    9921022                                if( ! this.fNewMask) { 
    993 //                                      scCoLib.util.log("this.fTargetStepIdx: "+pTargetStep+" - "+this.fTargetStepIdx); 
    994 //                                      scCoLib.util.log("this.fBlockMgr.fMasks: "+this.fBlockMgr.fMasks); 
    9951023                                } 
    9961024                                this.fTargetTop = (vAvailH-this.fNewMask.offsetHeight) / 2 - this.fNewMask.offsetTop; 
     
    10601088}  
    10611089 
    1062 /** Manager de slide standard. */ 
     1090/* === Managers ============================================================= */ 
     1091 
     1092/** -- Manager de slide standard. ------------------------------------------- */ 
    10631093scPresMgr.SldMgr = function(pSldNode, pIdx){ 
    10641094        this.fSldNode = pSldNode; 
     
    10831113                var vSldDoc = this.contentWindow.document; 
    10841114                var vSldMgr = this.fSldMgr; 
    1085                 //scCoLib.util.log("scPresMgr.SldMgr.sOnLoadSld: "+vSldDoc.title); 
     1115                scCoLib.util.log("scPresMgr.SldMgr.sOnLoadSld: "+vSldDoc.title); 
    10861116                 
    10871117                // Enable fSsCssName CSS on slide 
     
    12071237        this.fCurrBlk = pNewBlock; 
    12081238} 
    1209  
    1210  
    1211 /** Slide de l'accueil : pas d'iframe. */ 
    1212 scPresMgr.SldHomeMgr = function(pSldNode, pIdx){ 
     1239scPresMgr.SldMgr.prototype.isFirstSld = function(){ 
     1240        return this.fSldIdx == -1; 
     1241} 
     1242scPresMgr.SldMgr.prototype.isZoomSld = function(){ 
     1243        return this.fSldIdx == -2; 
     1244} 
     1245scPresMgr.SldMgr.prototype.isLastSld = function(){ 
     1246        return this.fSldIdx == scPresMgr.fSldUrls.length - 1; 
     1247} 
     1248 
     1249/** -- Manager du slide de l'accueil : pas d'iframe. ------------------------ */ 
     1250scPresMgr.SldHomeMgr = function(pSldNode){ 
    12131251        this.fSldNode = pSldNode; 
    1214         this.fSldIdx = pIdx; 
     1252        this.fSldIdx = -1; 
    12151253        this.fIsLoaded = false; 
    12161254        this.fCurrBlk = null; 
     
    12401278} 
    12411279 
    1242 /** Slide de zoom. */ 
     1280/** -- Manager de slide de zoom. -------------------------------------------- */ 
    12431281scPresMgr.SldZoomMgr = function(pSldNode, pUrl, pPostLoadFunc){ 
    12441282        this.fSldNode = pSldNode; 
    1245         this.fSldIdx = -1; 
     1283        this.fSldIdx = -2; 
    12461284        this.fPostLoadFunc = pPostLoadFunc || function(){}; 
    12471285        this.fSldUrl = pUrl; 
     
    12641302} 
    12651303 
    1266 /** Manager de blocks dans un slide. */ 
     1304/** -- Manager de blocks dans un slide. ------------------------------------- */ 
    12671305scPresMgr.BlkMgr = function(pParentMgr, pBlkNode, pBlkIdx){ 
    12681306        this.fParentMgr = pParentMgr; 
     
    12771315        this.fCurrStep = -1; 
    12781316 
    1279         // Recherche de tous les points de coupe possibles. 
    1280         this.fAllSteps = scPaLib.findNodes("des:"+scPresMgr.fCutableFilter, this.fBlkContent); 
    1281 //      scCoLib.util.log("scPresMgr.BlkMgr : steps="+this.fAllSteps); 
    1282  
     1317        // Recherche de tous les points de coupe possibles - on ne prend pas en compte ceux qui sont dans une table. 
     1318        var vSteps = scPaLib.findNodes("des:"+scPresMgr.fCutableFilter, this.fBlkContent); 
     1319        this.fAllSteps = []; 
     1320        for (var i in vSteps) if(!scPaLib.findNode("anc:tr",vSteps[i])) this.fAllSteps.push(vSteps[i]); 
     1321        if (this.fAllSteps.length < 2) this.fAllSteps = null; 
     1322         
    12831323        // Calcul des étapes en fonction de l'espace disponible. 
    12841324        this.xPlanSteps(); 
     
    12891329        this.fNeedResize = false; 
    12901330} 
    1291  
    12921331/** Redraw suite à un resize. Le block est en cours... */ 
    12931332scPresMgr.BlkMgr.prototype.redrawBlk = function(){ 
     
    13531392        this.fNeedResize = true; 
    13541393} 
    1355  
    13561394/** Calcul les dimensions du block si nécessaire et redessine les steps du block terminal(appelé par la BlkTask) 
    13571395 *  
     
    13781416        scPresMgr.fSwitchStpTask.initTask(this.fBlkNode, pTarget, true); 
    13791417} 
    1380  
    13811418/** Step suivant */ 
    13821419scPresMgr.BlkMgr.prototype.goToNxt = function(){ 
     
    13941431        return this.fCurrStep > 0; 
    13951432} 
    1396  
    1397  
    13981433/** Reset les step à afficher. */ 
    13991434scPresMgr.BlkMgr.prototype.xResetSizeStepsAndBlocks = function(){ 
     
    14171452        } 
    14181453} 
    1419  
    14201454/** Planifie les step à afficher. */ 
    14211455scPresMgr.BlkMgr.prototype.xPlanSteps = function(){ 
     
    14411475        if(! this.fAllSteps || this.fAllSteps.length==0) return; 
    14421476        //On fige les dimensions du content du block 
    1443         var vContentH = Math.max(20, this.fBlkContent.offsetHeight - (vRealH - vAvailH) - 4); 
     1477        var vContentH = Math.max(20, vAvailH - scPresMgr.xGetEltTop(this.fBlkContent,this.fParentMgr.fBlocksRoot)); 
    14441478        vBlkContentStyle.position = "absolute"; 
    14451479        vBlkContentStyle.width = "100%"; 
     
    15171551        } 
    15181552} 
    1519  
    15201553scPresMgr.BlkMgr.prototype.xCenterBlock = function() { 
    15211554        var vParentMgr = this.fParentMgr; 
     
    15391572        } 
    15401573} 
    1541  
    15421574/** affecte la step stabilisée (appelé par fSwitchStpTask) */ 
    15431575scPresMgr.BlkMgr.prototype.xSetCurrStep = function(pCurrStep){ 
     
    15521584        this.fMasks = null; 
    15531585} 
    1554  
    1555  
    15561586/** Cree un mask pour un step d'un slide. */ 
    15571587scPresMgr.BlkMgr.prototype.xCreateMask = function(pBgColor) { 
     
    15661596}        
    15671597 
    1568 /** Manager de blocks de type container de sous-blocks dans un slide. */ 
     1598/** -- Manager de blocks de type container  de sous-blocks. ----------------- */ 
    15691599scPresMgr.BlkContainerMgr = function(pParentMgr, pBlkContainerNode, pBlkIdx){ 
    15701600        this.fParentMgr = pParentMgr; 
     
    15931623        return this.fCurrSubBlk; 
    15941624} 
    1595  
    15961625scPresMgr.BlkContainerMgr.prototype.setCurrBlock = function(pNewBlock){ 
    15971626        this.fCurrSubBlk = pNewBlock; 
    15981627} 
    1599  
    16001628/** Navigue à l'intérieur du container pour avancer d'un cran. */ 
    16011629scPresMgr.BlkContainerMgr.prototype.goToNxt = function(){ 
     
    16401668        } else return this.fSubBlocks.length > 1; 
    16411669} 
    1642  
    16431670scPresMgr.BlkContainerMgr.prototype.redrawBlk = function(){ 
    16441671        //On précipite les animations en cours. 
     
    16611688        this.fNeedResize = true; 
    16621689} 
    1663  
    16641690/** Calcul les dimensions du block si nécessaire et redessine es sous-blocs et les steps du block terminal(appelé par la BlkTask) 
    16651691 *  
     
    17041730        return this.fSubBlocksRoot.offsetWidth; 
    17051731} 
    1706  
    17071732/** Fixe la taille du container dans son contexte parent. */ 
    17081733scPresMgr.BlkContainerMgr.prototype.xFixContainerSize = function(){ 
     
    17131738        this.fNeedResize = false; 
    17141739} 
     1740 
     1741 
     1742 
    17151743 
    17161744/** scPresMgr.FadeEltTask : TiLib task that fades a given element in or out. 
  • trunk/model/sources/dkCore/genSld/wdt/mgr/scSlideMgr.doss/scSlideMgr.js

    r468 r473  
    5656                        //scCoLib.util.log("scSlideMgr.onLoad"); 
    5757                        this.fBlocksRoot = scPaLib.findNode(this.fBlocksPath, document.body); 
     58                        //Save init table col widths 
     59                        var vCols = scPaLib.findNodes("des:col"); 
     60                        for (var i in vCols) if(!isNaN(vCols[i].width)) vCols[i].fDefaultWidth = vCols[i].width; 
     61                        //Set sizes 
    5862                        this.xFixRatioNormalScreen(); 
    5963                        this.xFixBlocksRootSize(); 
     64                        //Init des blocks 
    6065                        for(var i=0; i < this.fBindBlks.length; i++) this.xBindBlk(this.fBindBlks[i].fPath, this.fBindBlks[i].fOpt, this.fBindBlks[i].fConst); 
    6166                        //Abonnement au resize 
     
    160165        xFixRatioNormalScreen : function(){ 
    161166                this.fRatioNormalScreen = Math.sqrt(this.xBodyHeight() / 600 * this.xBodyWidth() / 800); 
    162                 document.body.style.fontSize = Math.round(this.fRatioNormalScreen * this.fDefaultFontSize)+"px"; 
     167                var vBaseFontSize = Math.round(this.fRatioNormalScreen * this.fDefaultFontSize); 
     168                document.body.style.fontSize = vBaseFontSize+"px"; 
     169                // Quirks mode can be triggered (not shure by what) so the font-size must be fixed on all tables too. 
     170//              var vTables = scPaLib.findNodes("des:table"); 
     171//              for (var i in vTables) vTables[i].style.fontSize = vBaseFontSize+"px"; 
     172                // Adapt table col width 
     173                var vCols = scPaLib.findNodes("des:col"); 
     174                for (var i in vCols) if(vCols[i].fDefaultWidth) vCols[i].width = Math.round(this.fRatioNormalScreen * vCols[i].fDefaultWidth); 
    163175        }, 
    164176 
  • trunk/model/sources/dkCore/genSld/wdt/mgr/scSlideMgr.uiwidget

    r468 r473  
    11<?xml version="1.0" encoding="UTF-8"?> 
    2 <sm:openUiWidget code="scSlideMgr" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling"> 
     2<sm:openUiWidget xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" code="scSlideMgr"> 
    33        <sm:widgetPublishFiles sc:refUri="/dkCore/genSld/wdt/mgr/scSlideMgr.doss"/> 
    44        <sm:fillTemplateBuffers> 
     
    66                <sm:standardLibrary codeLib="PaLib"/> 
    77                <sm:linkScript path="scSlideMgr.js" pathFrom="localPublishFiles" sortKey="AA"/> 
    8                 <sm:otherBuffers keyBuffer="js.postLink">scSlideMgr.addBindableBlk(&quot;des:div.imgInFlow&quot;,null,scSlideMgr.SizeBlkImg); 
    9 scSlideMgr.addBindableBlk(&quot;des:span.imgInline&quot;,{captionHeight:0},scSlideMgr.SizeBlkImg); 
    10 scSlideMgr.addBindableBlk(&quot;des:div.objInFlow&quot;,null,scSlideMgr.SizeBlkObj); 
    11 scSlideMgr.addBindableBlk(&quot;des:span.objInline&quot;,{captionHeight:0},scSlideMgr.SizeBlkObj); 
    12 scSlideMgr.addBindableBlk(&quot;bod:/des:a.ssZmLnk&quot;,null,scSlideMgr.SldZmBlk); 
     8                <sm:otherBuffers keyBuffer="js.postLink">scSlideMgr.addBindableBlk("des:div.imgInFlow",null,scSlideMgr.SizeBlkImg); 
     9scSlideMgr.addBindableBlk("des:span.imgInline",{captionHeight:0},scSlideMgr.SizeBlkImg); 
     10scSlideMgr.addBindableBlk("des:div.objInFlow",null,scSlideMgr.SizeBlkObj); 
     11scSlideMgr.addBindableBlk("des:span.objInline",{captionHeight:0},scSlideMgr.SizeBlkObj); 
     12scSlideMgr.addBindableBlk("bod:/des:a.ssZmLnk",null,scSlideMgr.SldZmBlk); 
    1313</sm:otherBuffers> 
    1414        </sm:fillTemplateBuffers> 
  • trunk/model/sources/dkCore/genWeb/transf/content/para.transf

    r416 r473  
    1 <?xml version="1.0" encoding="UTF-8"?><sm:textXhtmlTransf xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core"> 
     1<?xml version="1.0" encoding="UTF-8"?> 
     2<sm:textXhtmlTransf xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling"> 
    23        <sm:model sc:refUri="/dkCore/model/content/para.model"/> 
    34        <sm:content classConstructionType="legacy"> 
     
    1516                        </sm:externalUrl> 
    1617                </sm:uLinkTag> 
    17                 <sm:inlineStyleTag role="emphasis"/> 
    18                 <sm:inlineStyleTag role="alt"/> 
    19                 <sm:textLeafTag role="textButton"/> 
    20                 <sm:textLeafTag role="textRadioButton"/> 
    21                 <sm:textLeafTag role="textCheckBox"/> 
    22                 <sm:textLeafTag role="keyboard"/> 
    23                 <sm:textLeafTag role="menuPath"/> 
    24                 <sm:textLeafTag role="label"/> 
    25                 <sm:textLeafTag role="filePath"/> 
     18                <sm:inlineStyleTag role="emphasis" tagName="strong"/> 
     19                <sm:inlineStyleTag role="alt" tagName="cite"/> 
     20                <sm:textLeafTag role="textButton" tagName="code"/> 
     21                <sm:textLeafTag role="textRadioButton" tagName="code"/> 
     22                <sm:textLeafTag role="textCheckBox" tagName="code"/> 
     23                <sm:textLeafTag role="keyboard" tagName="code"/> 
     24                <sm:textLeafTag role="menuPath" tagName="code"/> 
     25                <sm:textLeafTag role="label" tagName="code"/> 
     26                <sm:textLeafTag role="filePath" tagName="code"/> 
     27                <sm:textLeafTag role="cmd" tagName="kbd"/> 
    2628                <sm:inlineImgTag role="iconButton" axis="inline"/> 
    2729                <sm:inlineImgTag role="area" axis="inline"/> 
  • trunk/model/sources/dkCore/genWeb/transf/content/text.transf

    r438 r473  
    104104                        </sm:refItem> 
    105105                </sm:uLinkTag> 
    106                 <sm:inlineStyleTag role="emphasis"/> 
    107                 <sm:inlineStyleTag role="alt"/> 
    108                 <sm:textLeafTag role="textButton"/> 
    109                 <sm:textLeafTag role="textRadioButton"/> 
    110                 <sm:textLeafTag role="textCheckBox"/> 
    111                 <sm:textLeafTag role="keyboard"/> 
    112                 <sm:textLeafTag role="menuPath"/> 
    113                 <sm:textLeafTag role="label"/> 
    114                 <sm:textLeafTag role="filePath"/> 
     106                <sm:inlineStyleTag role="emphasis" tagName="strong"/> 
     107                <sm:inlineStyleTag role="alt" tagName="cite"/> 
     108                <sm:textLeafTag role="textButton" tagName="code"/> 
     109                <sm:textLeafTag role="textRadioButton" tagName="code"/> 
     110                <sm:textLeafTag role="textCheckBox" tagName="code"/> 
     111                <sm:textLeafTag role="keyboard" tagName="code"/> 
     112                <sm:textLeafTag role="menuPath" tagName="code"/> 
     113                <sm:textLeafTag role="label" tagName="code"/> 
     114                <sm:textLeafTag role="filePath" tagName="code"/> 
     115                <sm:textLeafTag role="cmd" tagName="kbd"/> 
    115116                <sm:inlineImgTag role="iconButton" axis="inline"/> 
    116117                <sm:inlineImgTag role="area" axis="inline"/> 
  • trunk/model/sources/dkCore/genWeb/transf/content/textSimple.transf

    r416 r473  
    1 <?xml version="1.0" encoding="UTF-8"?><sm:textXhtmlTransf xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core"> 
     1<?xml version="1.0" encoding="UTF-8"?> 
     2<sm:textXhtmlTransf xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling"> 
    23        <sm:model sc:refUri="/dkCore/model/content/textSimple.model"/> 
    34        <sm:content classConstructionType="legacy"> 
    4                 <sm:paraTag tagName="p"/><sm:listTags><sm:simpleListTag/><sm:itemizedListTag/><sm:orderedListTag/></sm:listTags> 
    5                  
    6                  
    7                  
     5                <sm:paraTag tagName="p"/> 
     6                <sm:listTags> 
     7                        <sm:simpleListTag/> 
     8                        <sm:itemizedListTag/> 
     9                        <sm:orderedListTag/> 
     10                </sm:listTags> 
    811                <sm:uLinkTag> 
    912                        <sm:externalUrl> 
     
    1821                        </sm:externalUrl> 
    1922                </sm:uLinkTag> 
    20                 <sm:inlineStyleTag role="emphasis"/> 
    21                 <sm:inlineStyleTag role="alt"/> 
    22                 <sm:textLeafTag role="textButton"/> 
    23                 <sm:textLeafTag role="textRadioButton"/> 
    24                 <sm:textLeafTag role="textCheckBox"/> 
    25                 <sm:textLeafTag role="keyboard"/> 
    26                 <sm:textLeafTag role="menuPath"/> 
    27                 <sm:textLeafTag role="label"/> 
    28                 <sm:textLeafTag role="filePath"/> 
     23                <sm:inlineStyleTag role="emphasis" tagName="strong"/> 
     24                <sm:inlineStyleTag role="alt" tagName="cite"/> 
     25                <sm:textLeafTag role="textButton" tagName="code"/> 
     26                <sm:textLeafTag role="textRadioButton" tagName="code"/> 
     27                <sm:textLeafTag role="textCheckBox" tagName="code"/> 
     28                <sm:textLeafTag role="keyboard" tagName="code"/> 
     29                <sm:textLeafTag role="menuPath" tagName="code"/> 
     30                <sm:textLeafTag role="label" tagName="code"/> 
     31                <sm:textLeafTag role="filePath" tagName="code"/> 
     32                <sm:textLeafTag role="cmd" tagName="kbd"/> 
    2933                <sm:inlineImgTag role="iconButton" axis="inline"/> 
    3034                <sm:inlineImgTag role="area" axis="inline"/> 
  • trunk/model/sources/dkCore/model/content/para.model

    r449 r473  
    1717                        <sm:textLeafTag role="label" name=";Label"/> 
    1818                        <sm:textLeafTag role="filePath" name=";Chemin de fichiers, nom de fichier"/> 
     19                        <sm:textLeafTag role="cmd" name=";Ligne de commande"/> 
    1920                        <sm:inlineImgTag role="iconButton" name=";Bouton icône"> 
    2021                                <sm:allowedModel sc:refUri="/dkCore/model/base/icon.model"/> 
     
    3334                                        <sm:char value="®" name="®"/> 
    3435                                        <sm:char value="™" name="™"/> 
    35                                         <sm:char value="⌘" name="⌘"/> 
     36                                </sm:charGroup> 
     37                                <sm:charGroup name=";Touches clavier Apple"> 
     38                                        <sm:char value="⌘" name=";⌘ (command)"/> 
     39                                        <sm:char value="⌥" name=";⌥ (option)"/> 
     40                                        <sm:char value="⇧" name=";⇧ (shift)"/> 
    3641                                </sm:charGroup> 
    3742                        </sm:insertCharacters> 
  • trunk/model/sources/dkCore/model/content/text.model

    r465 r473  
    5959                        <sm:textLeafTag role="label" name=";Label"/> 
    6060                        <sm:textLeafTag role="filePath" name=";Chemin de fichiers, nom de fichier"/> 
     61                        <sm:textLeafTag role="cmd" name=";Ligne de commande"/> 
    6162                        <sm:inlineImgTag role="iconButton" name=";Bouton icône"> 
    6263                                <sm:allowedModel sc:refUri="/dkCore/model/base/icon.model"/> 
     
    7576                                        <sm:char value="®" name="®"/> 
    7677                                        <sm:char value="™" name="™"/> 
    77                                         <sm:char value="⌘" name="⌘"/> 
     78                                </sm:charGroup> 
     79                                <sm:charGroup name=";Touches clavier Apple"> 
     80                                        <sm:char value="⌘" name=";⌘ (command)"/> 
     81                                        <sm:char value="⌥" name=";⌥ (option)"/> 
     82                                        <sm:char value="⇧" name=";⇧ (shift)"/> 
    7883                                </sm:charGroup> 
    7984                        </sm:insertCharacters> 
  • trunk/model/sources/dkCore/model/content/textSimple.model

    r449 r473  
    2929                        <sm:textLeafTag role="label" name=";Label"/> 
    3030                        <sm:textLeafTag role="filePath" name=";Chemin de fichiers, nom de fichier"/> 
     31                        <sm:textLeafTag role="cmd" name=";Ligne de commande"/> 
    3132                        <sm:inlineImgTag role="iconButton" name=";Bouton icône"> 
    3233                                <sm:allowedModel sc:refUri="/dkCore/model/base/icon.model"/> 
     
    4445                                        <sm:char value="®" name="®"/> 
    4546                                        <sm:char value="™" name="™"/> 
    46                                         <sm:char value="⌘" name="⌘"/> 
     47                                </sm:charGroup> 
     48                                <sm:charGroup name=";Touches clavier Apple"> 
     49                                        <sm:char value="⌘" name=";⌘ (command)"/> 
     50                                        <sm:char value="⌥" name=";⌥ (option)"/> 
     51                                        <sm:char value="⇧" name=";⇧ (shift)"/> 
    4752                                </sm:charGroup> 
    4853                        </sm:insertCharacters> 
  • trunk/model/sources/dokielGuide/genWeb/docGuide/docGuide.doss/site/css/transf.css

    r419 r473  
    201201        background-color: #F0F0F0; 
    202202        cursor: default; 
     203} 
     204.dk_textSimple_tl_cmd,  
     205.dk_text_tl_cmd, 
     206.dk_para_tl_cmd{ 
     207        background: url("../img/cmd.gif") no-repeat 2px; 
     208        padding: 0px 2px 0px 20px; 
     209        background-color: #F0F0F0; 
     210        cursor: default; 
     211        font-family:monospace; 
    203212} 
    204213.dk_textSimple_tl_term,  
  • trunk/model/tests/dkGuide/sources/qualifStyles/sec2_flow_txt.scen

    r403 r473  
    171171                                <sp:infobloc> 
    172172                                        <dk:sTitle> 
     173                                                <sc:fullTitle>Charactères spé</sc:fullTitle> 
     174                                        </dk:sTitle> 
     175                                        <dk:flowAll> 
     176                                                <sp:txt> 
     177                                                        <dk:text> 
     178                                                                <sc:para sc:id="t111">© ® ™ ⌘ ⌥ ⇧.</sc:para> 
     179                                                        </dk:text> 
     180                                                </sp:txt> 
     181                                        </dk:flowAll> 
     182                                </sp:infobloc> 
     183                                <sp:infobloc> 
     184                                        <dk:sTitle> 
    173185                                                <sc:fullTitle>Elts inline :</sc:fullTitle> 
    174186                                        </dk:sTitle> 
     
    176188                                                <sp:txt> 
    177189                                                        <dk:text> 
    178                                                                 <sc:para sc:id="t65">Tincidunt, esse nulla, et <sc:inlineStyle role="emphasis">important</sc:inlineStyle> aliquam, quis facilisi <sc:inlineStyle role="alt">équivalant</sc:inlineStyle> euismod diam eros <sc:uLink sc:id="t68" url="http://www.kelis.fr">lien ext.</sc:uLink> olutpat dolore <sc:uLink sc:refUri="/qualifStyles/refs/def1.ref" role="def" sc:id="t69">Définition</sc:uLink> commodo erat. Tation <sc:uLink sc:refUri="/qualifStyles/refs/ref1.ref" role="ref" sc:id="t70">val de ref</sc:uLink> vero tation <sc:textLeaf role="textButton" sc:id="t71">bouton txt</sc:textLeaf> suscipit sit qui wisi odio, ad vel esse ad <sc:textLeaf role="textRadioButton" sc:id="t72">bouton radio</sc:textLeaf> ad lorem vel <sc:textLeaf role="textCheckBox" sc:id="t73">checkbox</sc:textLeaf> facilisis iriure <sc:textLeaf role="keyboard" sc:id="t75">touche clavier</sc:textLeaf> et nisl, ut iriure. Veniam, eros <sc:textLeaf role="menuPath" sc:id="t76">chemin/menu</sc:textLeaf> praesent accumsafeugiat vel <sc:textLeaf role="label" sc:id="t78">label</sc:textLeaf> quis <sc:textLeaf role="filePath" sc:id="t79">chemin fichier</sc:textLeaf> nostrud autem BtnIco : <sc:inlineImg role="iconButton" sc:id="t80" sc:refUri="/qualifStyles/res/btnSpell.icon.png"/> wisi et in, dignissim augue commodo, in consequat zone écran : <sc:inlineImg role="area" sc:id="t82" sc:refUri="/qualifStyles/res/zoneToolBar.icon.png"/> iusto augue dignissim ea ut ullamcorper. Nonummy dolor veniam eum sed tation te nulla exerci eu, in aliquip, praesent autem, commodo luptatum luptatum.</sc:para> 
     190                                                                <sc:para sc:id="t65">Tincidunt, esse nulla, et <sc:inlineStyle role="emphasis">important</sc:inlineStyle> aliquam, quis facilisi <sc:inlineStyle role="alt">équivalant</sc:inlineStyle> euismod diam eros <sc:uLink sc:id="t68" url="http://www.kelis.fr">lien ext.</sc:uLink> olutpat dolore <sc:uLink role="def" sc:id="t69" sc:refUri="/qualifStyles/refs/def1.ref">Définition</sc:uLink> commodo erat. Tation <sc:uLink role="ref" sc:id="t70" sc:refUri="/qualifStyles/refs/ref1.ref">val de ref</sc:uLink> vero tation <sc:textLeaf role="textButton" sc:id="t71">bouton txt</sc:textLeaf> suscipit sit qui wisi odio, ad vel esse ad <sc:textLeaf role="textRadioButton" sc:id="t72">bouton radio</sc:textLeaf> ad lorem vel <sc:textLeaf role="textCheckBox" sc:id="t73">checkbox</sc:textLeaf> facilisis iriure <sc:textLeaf role="keyboard" sc:id="t75">touche clavier</sc:textLeaf> et nisl, ut iriure. Veniam, eros <sc:textLeaf role="menuPath" sc:id="t76">chemin/menu</sc:textLeaf> praesent accumsafeugiat vel <sc:textLeaf role="label" sc:id="t78">label</sc:textLeaf> quis <sc:textLeaf role="filePath" sc:id="t79">chemin fichier</sc:textLeaf> nostrud autem BtnIco : <sc:inlineImg role="iconButton" sc:id="t80" sc:refUri="/qualifStyles/res/btnSpell.icon.png"/> wisi et in, dignissim <sc:textLeaf role="cmd" sc:id="t112">ligne de commande</sc:textLeaf> augue commodo, in consequat zone écran : <sc:inlineImg role="area" sc:id="t82" sc:refUri="/qualifStyles/res/zoneToolBar.icon.png"/> iusto augue dignissim ea ut ullamcorper. Nonummy dolor veniam eum sed tation te nulla exerci eu, in aliquip, praesent autem, commodo luptatum luptatum.</sc:para> 
    179191                                                        </dk:text> 
    180192                                                </sp:txt> 
  • trunk/model/tests/dkGuide/sources/testSam/guideWeb.pub

    r472 r473  
    1 <?xml version="1.0" encoding="UTF-8"?> 
    2 <sc:item xmlns:sc="http://www.utc.fr/ics/scenari/v3/core"> 
    3         <dk:webRoot xmlns:sp="http://www.utc.fr/ics/scenari/v3/primitive" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:dk="kelis.fr:dokiel"> 
     1<?xml version="1.0" encoding="UTF-8"?><sc:item xmlns:sc="http://www.utc.fr/ics/scenari/v3/core"> 
     2        <dk:webRoot xmlns:dk="kelis.fr:dokiel" xmlns:sp="http://www.utc.fr/ics/scenari/v3/primitive"> 
    43                <dk:webRootM> 
    54                        <sp:rootM> 
    6                                 <dk:rootM/> 
     5                                <dk:rootM> 
     6                                        <sp:version>xwdf</sp:version> 
     7                                </dk:rootM> 
    78                        </sp:rootM> 
    89                </dk:webRootM> 
Note: See TracChangeset for help on using the changeset viewer.