Changeset 12922
- Timestamp:
- 03/01/09 16:18:04 (3 years ago)
- Location:
- trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss
- Files:
-
- 2 edited
-
sm_imagePrim.xml (modified) (2 diffs)
-
sm_imagePrim/preview.xul.xsl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_imagePrim.xml
r12734 r12922 239 239 "[![agent=//mainview.xul;arguments=act:]!]", 240 240 "[![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'))" 242 242 ); 243 243 vPack.registerModel(vModel); … … 357 357 <source type="xpath-statique">boolean(sm:structure/sm:meta)</source> 358 358 </valeur> 359 <valeur code="isStandardCharSizeEnabled"> 360 <source type="xpath-statique">bool2Str(sm:authoring/sm:sizeBlock/sm:standardCharSize)</source> 361 </valeur> 359 362 360 363 <!-- Page Xed Form. --> -
trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_imagePrim/preview.xul.xsl
r11457 r12922 55 55 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" align="center" style="border:1px solid gray; background-color:#FFFFFF;"> 56 56 <script src="chrome://scenaricms/content/view/baseview.js"/> 57 <itemimage transform="transform=img2img&outType={resultatAgent('//formatFromMimeType')}&sizeRules=Px( Bounds(maxW'360'maxH'160'))" scaleproportionnal="true" flex="1"/>57 <itemimage transform="transform=img2img&outType={resultatAgent('//formatFromMimeType')}&sizeRules=Px({si(resultatAgent('//isStandardCharSizeEnabled'), 'ScSCS(fontPt''10'')')}Bounds(maxW'360'maxH'160'))" scaleproportionnal="true" flex="1"/> 58 58 </window> 59 59 </xsl:template>
Note: See TracChangeset
for help on using the changeset viewer.