Ignore:
Timestamp:
03/01/09 16:18:04 (3 years ago)
Author:
sys
Message:

Preview images: dépendant su standardCharSize si activé dans le .model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_imagePrim.xml

    r12734 r12922  
    239239                "[![agent=//mainview.xul;arguments=act:]!]", 
    240240                "[![agent=//preview.xul;arguments=act:]!]", 
    241                 "transform=img2img&outType=[![agent=//formatFromMimeType]!]&sizeRules=Px(Bounds(maxW'360'maxH'160'))" 
     241                "transform=img2img&outType=[![agent=//formatFromMimeType]!]&sizeRules=Px([![if;agent=//isStandardCharSizeEnabled]!]ScSCS(fontPt'10')[![endif]!]Bounds(maxW'360'maxH'160'))" 
    242242                ); 
    243243        vPack.registerModel(vModel); 
     
    357357                <source type="xpath-statique">boolean(sm:structure/sm:meta)</source> 
    358358        </valeur> 
     359        <valeur code="isStandardCharSizeEnabled"> 
     360                <source type="xpath-statique">bool2Str(sm:authoring/sm:sizeBlock/sm:standardCharSize)</source> 
     361        </valeur> 
    359362         
    360363        <!-- Page Xed Form. --> 
Note: See TracChangeset for help on using the changeset viewer.