共用方式為


Document Properties Tab, Report Properties Dialog Box (Report Builder)

The Document Properties tab enables you to add, edit, or delete document properties for the report. Document properties are included only in HTML or XML reports. They are rendered as meta tags in the output of a report. You can access the properties in an object based on the ReportListener Base Foundation Class.

The Report Properties dialog box appears when you click Properties on the Report menu or on the shortcut menu of a report.

  • Properties
    Lists the document properties that are associated with the report. It also lists the property values. Click an item in the list to select it and enable the Edit and Clear buttons.
  • Clear
    Deletes the selected property.

Default Properties

The following properties are associated with a report when you create it. You can edit the values, delete the properties, or add new properties.

Property Description

Document.Title

The contents of the <title> element in an HTML file or a property element inside the <Run>tag in an XML file. For example, <property id="Document.Title">My Report Title</property>.

Document.Author

The contents of the <meta> element in an HTML file. For example <meta name="description" content=""> or a property element inside the <Run>tag in an XML file.

Document.Description

The contents of the <meta> element in an HTML file or a property element inside the <Run>tag in an XML file. For example <meta name="description" content="my description">

Document.Keywords

The contents of the <meta> element in an HTML file or a property element inside the <Run>tag in an XML file. For example <meta name="keywords" content="keyword1, keyword2">

Document.Copyright

The contents of the <meta> element in an HTML file or a property element inside the <Run>tag in an XML file. For example <meta name="copyright" content="my copyright information">

Document.Date

The contents of the <meta> element in an HTML file or a property element inside the <Run>tag in an XML file. For example <meta name="date" content="10/11/2007">

HTML.CSSFile

The value of the href attribute in a <link> tag in the <head> of your html file. For example, <link href="myStyleFile.css" rel="stylesheet" type="text/css">

HTML.Metatag.HTTP-EQUIV

The value of a <META HTTP-EQUIV="name" CONTENT="content"> tag.

HTML.TextAreasOff

By default, a multiline expression appears in a textarea element in HTML output. In this case, if the text is long, a scrollbar enables the user to see all the text. Set HTML.TextAreasOff to true (.T.) to prevent the use of a textarea element. If you set HTML.TextAreasOff to true, some text may be truncated in your report.

See Also

Reference

ReportListener Base Foundation Class