SVGImageProvider These utilities are built upon the java .jar libraries in the FOP distribution included with modern releases of InterSystems IRIS
This is the XML namespace used for library components.
Do the work of performing the merge of two or more xsl files into a single file pOutfile. All files must be located in the mgr/Temp directory. The pTargetFile is the master file which will provide the page settings. The argument pSourceFiles is a list of file names delimited by "||". The page content of each of these files will be appended to the content of the pTargetFile spearated by a page break.
- chartDocument is the document obtained using %DeepSee.Component.deepseeSvgImageProvider:getSVGDOMRoot(chartSVGFrameId) - legendSVG is manufactured by %DeepSee.Component.deepseeSvgImageProvider:createSVGTableFromZenComponent(chartLegendId)
As closely as possible copy an html css style definition to an SVG object. This can sanitize the style input for compatibility printing in Batik or retain more complex styling for browser display.
This interprets the current page margin settings and returns the maximum height available for the svg image. The value is returned in points.
This interprets the current page margin settings and returns the maximum width available for the svg image. The value is returned in points.
Given an htmlCell representing a cell of an html table, return an equivalent representation as a member of an svg group.
Create an SVG representation of a single HTML table. These could be:
- Components of a pivot or listing table
- Chart legends
Given a size attribute setting, convert it to points. The size is returned in an object:
Given the ID of a Zen component, attempt to extract the primary html table and convert it to an SVG representation. This also supports 4-quadrant tables used for some DeepSee widgets.
Create a temporary SVG container in the body of the Zen component. This is used to trigger the calcualation of bounding boxes of temporary elements that would not otherwise be committed to the DOM.
Remove the temporary SVG container from the Zen body.
Recursive function to dump the nesting structure and base geometry of a tree of DOM nodes node: the root the of the current subtree level: the currnet depth of recursion stem: a string of 0s and 1s used to indicate the location of leaves in the tree already encountered last: a boolean flag used to tell the current node whether or not it is the last child element of its parent pst: parentScrollTop offset psl: parentScrollLeft offset
Output a text representation of a DOM subtree showing element nesting and basic goemetry parameters starting from the given root node. To dump the entire DOM to the error console, pass this function document.body as the root.
Get the pixels per inch
Get the print parameters stored in this provider.
Return the current temporary SVG container, if it exists.
Parse a bare css style string into an object
Parse a size attribute into its value and units.
This method takes as input the filterNames and filterValues arrays that are commonly built for DeepSee widgets. The array is reshaped into a table that can be digested by the fo conversion utilities.
Pull the svg legend from the chart document
Set the print parameters for reference when converting style information.
Return an array with the components of wrapped SVG text