12.07.2015 Views

Using Zen Reports - InterSystems Documentation

Using Zen Reports - InterSystems Documentation

Using Zen Reports - InterSystems Documentation

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Layout and Display ElementsAttributeDisplayattributescaptionheightsrcDescriptionFor descriptions of style, width, and class, see the “Report Display Attributes”table in the section “Layout and Display Elements.”(Optional) Caption text for this image.Although you can enter ordinary text for this attribute, it has the underlyingdata type %ZEN.Datatype.caption. This makes it easy to localize its text intoother languages, as long as a language DOMAIN parameter is defined inthe <strong>Zen</strong> report class. The %ZEN.Datatype.caption data type also enables youto use $$$Text macros when you assign values to the caption property fromclient-side or server-side code.HTML length value that specifies the image height.URI of the source file for the image. This URI is relative to the subdirectoryin which CSP stores the supporting files for applications in the currentnamespace. Suppose the namespace in which the <strong>Zen</strong> report resides iscalled myNameSpace. Then there is a subdirectory called /csp/mynamespacebelow the Caché installation directory in which the image is expected toreside. If you specify:The <strong>Zen</strong> report class looks for the file myPic.jpg in the subdirectory/csp/mynamespace/images below the Caché installation directory.If the src attribute value begins with an exclamation point, it is interpretedas an XPath expression just as in the field attribute of the element.This allows you to dynamically generate URIs within the XML data, and thenuse these customized URIs as the image source.When using ! to dynamicallygenerate the image URI, the resulting string must be an absolute URI or itwill not appear in the PDF report.widthHTML length value that specifies the image width.4.7.5 The element outputs literal values or data from the XML into the report. must haveexactly one of its value, field, or special attributes specified. has the following attributes.<strong>Using</strong> <strong>Zen</strong> <strong>Reports</strong> 51

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!