Ignore:
Timestamp:
06/05/08 16:17:28 (4 years ago)
Author:
sam
Message:

passe sur les xed: ajout de frenchPonct="false" / validRegExp="..."

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Wsp_Modeling/es/content/resources/binaryXhtmlTransf/binary.xed.xml

    r10961 r11151  
    5353         
    5454        <se:lib> 
    55  
    56 <!-- LIB : various atts --> 
    57                 <attribute se:id="att_sizeTemplate" se:bind="attribute"> 
    58                         <wordsInput trim="true"/> 
     55<!-- LIB : att_int --> 
     56                <attribute se:id="att_int" se:bind="attribute"> 
     57                        <wordsInput trim="true" validRegExp="^[0-9]+$" notnull="true" frenchPonct="false"/> 
     58                </attribute> 
     59                                 
     60<!-- LIB : att_float --> 
     61                <attribute se:id="att_float" se:bind="attribute"> 
     62                        <wordsInput trim="true" validRegExp="^[0-9.]+$" frenchPonct="false"/> 
     63                </attribute> 
     64                 
     65<!-- LIB : att_color --> 
     66                <attribute se:id="att_color" se:bind="attribute" tooltiptext="Couleur en notation hexadécimale ex: FF0000 (rouge)"> 
     67                        <wordsInput trim="true" notnull="true" filterRegExp="^[0-9a-fA-f][0-9a-fA-f][0-9a-fA-f][0-9a-fA-f][0-9a-fA-f][0-9a-fA-f]$"/> 
    5968                </attribute> 
    6069 
     
    6271                <element se:name="sm:scaleFromStandardCharSize" se:id="sm:scaleSCS" se:bind="element" insert="collapsed" tooltiptext="Echelle en fonction de la taille standard de l'image"> 
    6372                        <atts> 
    64                                 <attribute se:name="targetFontSizeInPt" se:bind="attribute" se:mandat="true"> 
    65                                         <wordsInput trim="true" validRegExp="^[0-9.]+$" notnull="true"/> 
    66                                 </attribute> 
    67                                 <attribute se:name="ifDiffMoreThan" se:bind="attribute"> 
    68                                         <wordsInput trim="true" validRegExp="^[0-9.]+$" notnull="true"/> 
    69                                 </attribute> 
     73                                <se:ref se:name="targetFontSizeInPt" se:refid="att_float"/> 
     74                                <se:ref se:name="ifDiffMoreThan" se:refid="att_float"/> 
    7075                        </atts> 
    7176                        <childs> 
     
    8287                <element se:name="sm:scaleFromStandardCharSize" se:id="sm:scaleSCSnodpi" se:bind="element" insert="collapsed" tooltiptext="Echelle en fonction de la taille standard de l'image"> 
    8388                        <atts> 
    84                                 <attribute se:name="targetFontSizeInPt" se:bind="attribute" se:mandat="true"> 
    85                                         <wordsInput trim="true" validRegExp="^[0-9.]+$" notnull="true"/> 
    86                                 </attribute> 
    87                                 <attribute se:name="ifDiffMoreThan" se:bind="attribute"> 
    88                                         <wordsInput trim="true" validRegExp="^[0-9.]+$" notnull="true"/> 
    89                                 </attribute> 
     89                                <se:ref se:name="targetFontSizeInPt" se:refid="att_float"/> 
     90                                <se:ref se:name="ifDiffMoreThan" se:refid="att_float"/> 
    9091                        </atts> 
    9192                        <childs> 
     
    103104                <element se:name="sm:scaleFromLimitCharSize" se:id="sm:scaleLCS" se:bind="element" insert="collapsed" tooltiptext="Echelle en fonction de la taille limite de l'image"> 
    104105                        <atts> 
    105                                 <attribute se:name="targetFontSizeInPt" se:bind="attribute" se:mandat="true"> 
    106                                         <wordsInput trim="true" validRegExp="^[0-9.]+$" notnull="true"/> 
    107                                 </attribute> 
    108                                 <attribute se:name="ifDiffMoreThan" se:bind="attribute"> 
    109                                         <wordsInput trim="true" validRegExp="^[0-9.]+$" notnull="true"/> 
    110                                 </attribute> 
     106                                <se:ref se:name="targetFontSizeInPt" se:refid="att_float"/> 
     107                                <se:ref se:name="ifDiffMoreThan" se:refid="att_float"/> 
    111108                        </atts> 
    112109                        <childs> 
     
    124121                <element se:name="sm:scaleFromLimitCharSize" se:id="sm:scaleLCSnodpi" se:bind="element" insert="collapsed" tooltiptext="Echelle en fonction de la taille limite de l'image"> 
    125122                        <atts> 
    126                                 <attribute se:name="targetFontSizeInPt" se:bind="attribute" se:mandat="true"> 
    127                                         <wordsInput trim="true" validRegExp="^[0-9.]+$" notnull="true"/> 
    128                                 </attribute> 
    129                                 <attribute se:name="ifDiffMoreThan" se:bind="attribute"> 
    130                                         <wordsInput trim="true" validRegExp="^[0-9.]+$" notnull="true"/> 
    131                                 </attribute> 
     123                                <se:ref se:name="targetFontSizeInPt" se:refid="att_float"/> 
     124                                <se:ref se:name="ifDiffMoreThan" se:refid="att_float"/> 
    132125                        </atts> 
    133126                        <childs> 
     
    146139                <element se:name="sm:scaleFromDpi" se:id="sm:scaleDpi" se:bind="element" insert="collapsed" tooltiptext="Echelle en fonctionde la définition en dpi de la source"> 
    147140                        <atts> 
    148                                 <attribute se:name="targetDpi" se:bind="attribute" se:mandat="true"> 
    149                                         <wordsInput trim="true" validRegExp="^[0-9.]+$" notnull="true"/> 
    150                                 </attribute> 
    151                                 <attribute se:name="ifDiffMoreThan" se:bind="attribute"> 
    152                                         <wordsInput trim="true" validRegExp="^[0-9.]+$" notnull="true"/> 
    153                                 </attribute> 
     141                                <se:ref se:name="targetDpi" se:refid="att_int"/> 
     142                                <se:ref se:name="ifDiffMoreThan" se:refid="att_float"/> 
    154143                        </atts> 
    155144                        <childs> 
     
    165154                <element se:name="sm:scale" se:id="sm:scale" se:bind="element" insert="collapsed" se:card="?" tooltiptext="&resources.binary.imageTransform.scale;"> 
    166155                        <atts> 
    167                                 <attribute se:name="ratio" se:bind="attribute"> 
    168                                         <wordsInput trim="true" validRegExp="^[0-9.]+$" notnull="true"/> 
    169                                 </attribute> 
     156                                <se:ref se:name="ratio" se:refid="att_float"/> 
    170157                        </atts> 
    171158                </element> 
     
    174161                <element se:name="sm:sizeBounds" se:id="sm:sizeBounds" se:bind="element" se:card="?" tooltiptext="Limites de taille de l'image résultante en pixels"> 
    175162                        <atts> 
    176                                 <attribute se:name="minWidthInPx" se:bind="attribute"> 
    177                                         <wordsInput trim="true" validRegExp="^[0-9.]+$" notnull="true"/> 
    178                                 </attribute> 
    179                                 <attribute se:name="maxWidthInPx" se:bind="attribute"> 
    180                                         <wordsInput trim="true" validRegExp="^[0-9.]+$" notnull="true"/> 
    181                                 </attribute> 
    182                                 <attribute se:name="minHeightInPx" se:bind="attribute"> 
    183                                         <wordsInput trim="true" validRegExp="^[0-9.]+$" notnull="true"/> 
    184                                 </attribute> 
    185                                 <attribute se:name="maxHeightInPx" se:bind="attribute"> 
    186                                         <wordsInput trim="true" validRegExp="^[0-9.]+$" notnull="true"/> 
    187                                 </attribute> 
     163                                <se:ref se:name="minWidthInPx" se:refid="att_int"/> 
     164                                <se:ref se:name="maxWidthInPx" se:refid="att_int"/> 
     165                                <se:ref se:name="minHeightInPx" se:refid="att_int"/> 
     166                                <se:ref se:name="maxHeightInPx" se:refid="att_int"/> 
    188167                        </atts> 
    189168                </element> 
     
    239218                </element> 
    240219                 
    241 <!-- LIB : att_color --> 
    242                 <attribute se:id="att_color" se:bind="attribute" tooltiptext="Couleur en notation hexadécimale ex: FF0000 (rouge)"> 
    243                         <wordsInput trim="true" notnull="true" filterRegExp="^[0-9a-fA-f][0-9a-fA-f][0-9a-fA-f][0-9a-fA-f][0-9a-fA-f][0-9a-fA-f]$"/> 
    244                 </attribute> 
    245  
    246220<!-- === sm:binaryUrl ======================================================== --> 
    247221 
Note: See TracChangeset for help on using the changeset viewer.