Class StiReportResourcesHelper
java.lang.Object
com.stimulsoft.webdesigner.helper.StiReportResourcesHelper
Copyright Stimulsoft
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringconvertBase64MetaFileToBase64Png(String fileContent) static StringgetReportThumbnailParameters(StiReport report, double zoom) static voidgetResourceContent(StiReport report, HashMap<String, Object> param, HashMap<String, Object> callbackResult) static voidgetResourceText(StiReport report, HashMap<String, Object> param, HashMap<String, Object> callbackResult) static StiResourceTypegetResourceTypeByFileName(String fileName) static voidgetResourceViewData(StiReport report, HashMap<String, Object> param, HashMap<String, Object> callbackResult) static StringgetStringContentForJSFromResourceContent(StiResourceType resourceType, byte[] content) static booleanisDataResourceType(StiResourceType resourceType) static voidsetResourceText(StiReport report, HashMap<String, Object> param, HashMap<String, Object> callbackResult)
-
Constructor Details
-
StiReportResourcesHelper
public StiReportResourcesHelper()
-
-
Method Details
-
getReportThumbnailParameters
public static String getReportThumbnailParameters(StiReport report, double zoom) throws IOException, StiException - Throws:
IOExceptionStiException
-
getStringContentForJSFromResourceContent
public static String getStringContentForJSFromResourceContent(StiResourceType resourceType, byte[] content) throws IOException, SAXException, StiDeserializationException, StiException -
getResourceContent
public static void getResourceContent(StiReport report, HashMap<String, Object> param, HashMap<String, throws IOException, SAXException, StiDeserializationException, StiExceptionObject> callbackResult) -
getResourceText
public static void getResourceText(StiReport report, HashMap<String, Object> param, HashMap<String, throws UnsupportedEncodingExceptionObject> callbackResult) - Throws:
UnsupportedEncodingException
-
setResourceText
-
getResourceViewData
public static void getResourceViewData(StiReport report, HashMap<String, Object> param, HashMap<String, throws UnsupportedEncodingException, JSONException, StiExceptionObject> callbackResult) -
getResourceTypeByFileName
-
isDataResourceType
-
convertBase64MetaFileToBase64Png
-