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.

XData ReportDisplayAttributeDisplayattributescaptionDescriptionFor descriptions of style, width, and class, see the “Report Display Attributes”table in the section “Layout and Display Elements.”(Optional) Caption text for this block.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.4.8.2 The element supports the same elements and attributes as , but renders its contentsin the XHTML report only.4.8.3 The element writes directly to the stylesheet, instead of to the report. The elementmay legally appear anywhere within a or element. However, can be most useful within or . For example:This is HTML! ]]>This is XSL-FO ]]>The element is an XML projection of the <strong>Zen</strong> report class %ZEN.Report.Display.write. If youview the description of this class in the online Class Reference Information, you will see that it has aproperty called content. This is where <strong>Zen</strong> stores the text that you place in between the and elements in XData ReportDisplay.You can also programmatically change the value of the content property. If you do so, keep in mindthat this text string actually has the underlying data type %ZEN.Datatype.caption. This makes it easyto localize its text into other languages, as long as a language DOMAIN parameter is defined in the<strong>Zen</strong> report class. The %ZEN.Datatype.caption data type also enables you to use $$$Text macros whenyou assign values to the content property from client-side or server-side code.60 <strong>Using</strong> <strong>Zen</strong> <strong>Reports</strong>

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

Saved successfully!

Ooh no, something went wrong!