[Xerte] Using stylesheet in Xerte3
Peter Huppertz
peter.huppertz at baselgovernance.org
Thu May 20 17:25:51 BST 2010
Sorry for asking so many questions regarding Xerte3 ... I guess it's mainly you, Julian, who is the one who can answer them.
I already wrote regarding the use of stylesheets in Xerte3 and had a look at the example file. But I'm not 100% sure about the process to embed the stylesheet. I guess it should be something like this:
1) Extract Flex4 SDK to Xerte3Editor/bin/flex4sdk
2) Create a stylesheet style.css in /myproject/styles/
3) Open this file using Compile Style Sheet from the Xerte3 menu (will this generate the .swf?)
4) Load generated Stylesheet as property "styleSheet" in the XerteApplication icon
5) Apply styles using the property styleName on icons (is it also possible to use <span style="myStyle">Text</span> in Text?)
Questions:
- is the above mentioned way the way it should work?
- Does this also embed the used fonts? If not: how can I embed fonts?
Thanks for your help,
Peter
==================================
Peter Huppertz
E-learning and IT Specialist
International Centre for Asset Recovery
Basel Institute on Governance
Phone: +41 61 205 55 18
Fax: +41 61 267 55 19
More information about the Xerte
mailing list