Home > Class Reference > ENSLIB namespace > %ZEN.ComponentEx.svgImageProvider

%ZEN.ComponentEx.svgImageProvider

class %ZEN.ComponentEx.svgImageProvider extends %ZEN.Component.component

SVGImageProvider These utilities are built upon the java .jar libraries in the FOP distribution included with modern releases of Cache

Method Inventory (Including Private)

Parameters

parameter INCLUDEFILES = zenCSLM.js;
Inherited description: CSV list of additional include files (either .js or .css) that should be included when this component is used on a page.
By default, the file extension (.js or .css) is used to determine whether an item in the list is a script include or a style include. You can override this behavior by adding the terms "script:" or "style:" to the beginning of the file name or names. This prefix is not used as part of the include filename.

Methods (Including Private)

method %DrawHTML()
This class does not project HTML into its containing document
classmethod ConvertXSLToPDF(pInFile As %String, pOutFile As %String) [ ZenMethod ]
classmethod GenerateRootName(dir As %String) as %String [ ZenMethod ]
Return a random and unique name in the given directory with an 'svg' extention for the creation of temp files during processing
classmethod GenerateTempName() as %String [ ZenMethod ]
Return a random and unique name in the temp directory with an 'svg' extention for the creation of temp files during processing
classmethod GetSystemHomeDir() as %String [ ZenMethod ]
Return the install directory of this instance
classmethod GetSystemTempDir() as %String [ ZenMethod ]
Return the temp directory for this system.
classmethod ReceiveFragment(outputFile As %String, src As %ZEN.proxyObject) as %Status [ ZenMethod ]
Mechanism for receiving fragmants of large data streams headed upstream from client to server. This work in conjunction with the saveToServer() method.
classmethod RemoveFile(pFileName) as %Status [ ZenMethod ]
Remove a file from the mgr/Temp directory
classmethod ScopeFileName(rawName As %String) as %String [ ZenMethod ]
Given a user specified file name clip it to ensure that it only refers to files in the mgr/temp space
clientmethod buildFOBlock(jsDesc) [ Language = javascript ]
clientmethod buildFOStyleString(jsDesc) [ Language = javascript ]
clientmethod buildFOTable(jsDesc) [ Language = javascript ]
clientmethod dumpSVGNode(e, svgDoc, src, intro, coda, NSPrefix, maxWidth, maxHeight) [ Language = javascript ]
Given an element, an active SVG DOM, a syntax buffer, and optional introduction and coda strings, recursively extract all of the descendant node information from the DOM and copy it to the syntax buffer adding appropriate lexical and syntactic elements as needed.
If intro and coda values have been provided, inject the contents of these strings into the syntax buffer immediately after the opening of the first encountered tag and immediately before the close of that same tag, respectively.
clientmethod dumpSVGStyle(svgDoc, src, NSPrefix) [ Language = javascript ]
Given an active SVG DOM and a syntax buffer, extract all embedded stylesheets and copy them to the buffer adding appropriate lexical and syntactic elements as needed
clientmethod extractSVGSource(svg, intro, coda) [ Language = javascript ]
Given an SVG DOM and (optional) introduction and coda strings containing SVG code snippets, walk the DOM extracting relavent rendering information and store the result in an array of strings
clientmethod extractXSLFOSource(svg, intro, coda, maxWidth, maxHeight) [ Language = javascript ]
Given an SVG DOM and (optional) introduction and coda strings containing SVG code snippets, walk the DOM extracting relavent rendering information and store the result in an array of strings
clientmethod getPageSetupDefaults() [ Language = javascript ]
Return a javascript object that contains the various default values for page set-up and meta data rendering. Users can get this object, modify its values as desired and then pass it to the actual renderer methods
clientmethod getSVGDOMRoot(image) [ Language = javascript ]
Given some form of zen SVGComponent, return a pointer to the root of the embedded SVG document model
clientmethod isWhiteSpace(str) [ Language = javascript ]
Quick check to test for embedded whitespace and control characters
clientmethod makeSVGFileName(name) [ Language = javascript ]
clientmethod onloadHandler() [ Language = javascript ]
Inherited description: This client event, if present, is fired when the page is loaded.
clientmethod onunloadHandler() [ Language = javascript ]
Inherited description: This client event, if present, is fired when the page is unloaded. If this method returns a string value, then that is used as the return value of the HTML page's onbeforeunload handler (if more than one component returns a string, the first one encountered is used).
clientmethod reconcileDefaults(metaDataJS) [ Language = javascript ]