|
function addCallbacks(evt:Event=null)
ExternalInterface | addCallback ("clearText", clearText) |
|
ExternalInterface | addCallback ("setText", setText) |
|
ExternalInterface | addCallback ("appendText", appendText) |
|
ExternalInterface | addCallback ("setFileName", setFileName) |
|
ExternalInterface | addCallback ("setAction", setAction) |
|
ExternalInterface | addCallback ("setCharSet", setCharSet) |
|
ExternalInterface | addCallback ("setBomInc", setBomInc) |
|
function | setCharSet (newCharSet:String) |
|
| if (action=="save") |
|
else | if (action=="pdf") |
|
ExternalInterface | call ( 'ZeroClipboard_TableTools.dispatch', domId, 'complete', clipText) |
|
utf8 | writeUTFBytes (str) |
|
| if (incBom) |
|
| while (i< iLen) |
|
function addCallbacks(evt:Event=null)
ExternalInterface | addCallback ("clearText", clearText) |
|
ExternalInterface | addCallback ("setText", setText) |
|
ExternalInterface | addCallback ("appendText", appendText) |
|
ExternalInterface | addCallback ("setFileName", setFileName) |
|
ExternalInterface | addCallback ("setAction", setAction) |
|
ExternalInterface | addCallback ("setCharSet", setCharSet) |
|
ExternalInterface | addCallback ("setBomInc", setBomInc) |
|
function | setCharSet (newCharSet:String) |
|
| if (action=="save") |
|
else | if (action=="pdf") |
|
ExternalInterface | call ( 'ZeroClipboard_TableTools.dispatch', domId, 'complete', clipText) |
|
pdf | setDisplayMode (Display.FULL_WIDTH) |
|
pdf | addPage () |
|
pdf | textStyle (new RGBColor(0), 1) |
|
pdf | setFont (new CoreFont(FontFamily.HELVETICA), 14) |
|
| if (title!="") |
|
pdf | setFont (new CoreFont(FontFamily.HELVETICA), 11) |
|
| if (message!="") |
|
| for (i=0, iLen=dataIn.length;i< iLen;i++) |
|
| for (i=0, iLen=headers.length;i< iLen;i++) |
|
var new | RGBColor (0xE0E0E0) |
|
var new new | RGBColor (0xFFFFFF) |
|
var new new new | RGBColor (0x0) |
|
pdf | addGrid (grid, 0, y) |
|
utf8 | writeUTFBytes (str) |
|
| if (incBom) |
|
| while (i< iLen) |
|
Definition at line 17 of file ZeroClipboard.as.