Property | Type | Description | |
---|---|---|---|
DOMId | string | ||
ErrorMessages | string>.IDictionary | ||
FileSuffixFormat | string | ||
IntelligentFileNaming | bool | ||
IsDownload | bool | ||
OverwriteFile | bool | ||
rnd |
Method | Description | |
---|---|---|
ProcessRequest ( |
Method | Description | |
---|---|---|
ExportChart ( ) : void |
Chart를 Exporting하는 메인 함수입니다.
|
|
ParseExportRequestStream ( ) : |
Fusion Chart가 전송한 POST 방식의 요청 정보를 해석해서, Hashtable로 반환한다. 반환되는 Hashtable은 이미지 정보를 담은 'stream', 크기, 색상 등의 정보를 가진 'meta', 부가적인 ExportFormat, exportFileName, exportAction 정보를 담은 'parameters' 라는 키를 가집니다.
|
Method | Description | |
---|---|---|
BuildResponse ( IEnumerable |
Builds response from an array of status information. Joins the array to a string. Each array element should be a string which is a key=value pair. This array are either joined by a & to build a querystring (to pass to chart) or joined by a HTML
|
|
ExportProcessor ( string strFormat, string stream, |
Get Export data from and build the export binary/objct.
|
|
FlushStatus ( object filename, |
Exporting 상태 정보를 Chart나 Exporting 파일에 씁니다. It parses the exported status through parser function parseExportedStatus, builds proper response string using buildResponse function and flushes the response string to the output stream and terminates the program.
|
|
FlushStatus ( object filename, |
Exporting 상태 정보를 Chart나 Exporting 파일에 씁니다. It parses the exported status through parser function parseExportedStatus, builds proper response string using buildResponse function and flushes the response string to the output stream and terminates the program.
|
|
GenerateIntelligentFileId ( ) : string | ||
GetExtension ( string exportType ) : string |
gets file extension checking the export type.
|
|
GetMime ( string exportType ) : string |
gets mime type for an export type
|
|
IsDirectoryWritable ( string path ) : bool |
지정된 경로가 쓰기 가능한 Directory인지 알아본다.
|
|
OutputExportObject ( |
Checks whether the export action is download or save. If action is 'download', send export parameters to 'setupDownload' function. If action is not-'download', send export parameters to 'setupServer' function. In either case it gets exportSettings and passes the settings along with processed export binary (image/PDF) to the output handler function if the export settings return a 'ready' flag set to 'true' or 'download'. The export process would stop here if the action is 'download'. In the other case, it gets back success status from output handler function and returns it.
|
|
ParseExportedStatus ( object filename, |
Parses the exported status and builds an array of export status information. As per status it builds a status array which contains statusCode (0/1), statusMesage, fileName, width, height and notice in some cases.
|
|
ParseParams ( string strParams ) : |
Parse export 'parameters' string into a Hashtable Also synchronise default values from defaultparameterValues Hashtable
|
|
SetUpDownload ( |
setup download headers and return ready flag in exportSettings
|
|
SetUpServer ( |
check server permissions and settings and return ready flag to exportSettings
|
|
ToHashtable ( string str ) : |
Helper function that splits a string containing delimiter separated key value pairs into hashtable
|
|
ToHashtable ( string str, char delimiters ) : |
Helper function that splits a string containing delimiter separated key value pairs into hashtable
|
|
WriteLogMessage ( string msg ) : void |
예외정보를 발생 시킨다.
|
|
WriteLogMessage ( string msg, bool halt ) : void |
예외정보를 발생 시킨다.
|
protected ParseExportRequestStream ( ) : |
||
return |
public ProcessRequest ( |
||
context | ||
return | void |
protected static IDictionary |
||
return | string>.IDictionary |