Simple components

You can use tags and attributes to change the simple components in report template.
Table 1. Simple components
Component Description Tags and attributes Example
fp:text This component contains text. The fp:text component has three attributes:
  • beforetoc: An optional attribute that determines whether the text is inserted before or after the table of contents. If the value is set to true, the text is inserted before the table of contents. If the value is set to false, the text is inserted after the table of contents. The default value is false.
  • descr: An optional attribute that describes the tag. The description is displayed when the report type is created or edited, or when the report is generated. The default value is "", which indicates no description.
  • style: An optional attribute that determines the heading style to use. The default value is Normal.
<fp:text
	descr="Document Title"
	style="Title"
	beforetoc="true">
		This report was generated by Focal Point.
</fp:text>
fp:usertext The fp:usertext component has the same attributes as the fp:text tag. This component has one mandatory tag, value, which is of type stringParam. The value tag determines the text value that is inserted into the report.
<fp:usertext
	descr="Document Title"
	style="Title"
	beforetoc="true" >
	<fp:stringParam
			name="value"
			descr="Enter report title here"
			defaultvalue="This report was generated by Focal Point."
			changeable="runtime"
			id="6"
	/>
</fp:usertext>
fp:list The fp:list component can contain any number of fp:text tags. Those tags are presented in a list. This component has three attributes:
  • descr: An optional attribute that describes the tag. The description is displayed when the report type is created or edited, or when the report is generated. The default value is "", which indicates no description.
  • indent: An optional attribute that determines the size between the list characters ("-" or numbers) and the text in the list. The default value is 10, which is approximately 1 cm. For PDF reports, the indent attribute does not apply and the value is ignored. The default value is 10.
  • numbered: An optional attribute that determines if the list is numbered. For RTF reports, when the value istrue, characters might be displayed instead of numbers. The default value is false.
<fp:list numbered="true">
	<fp:text>one</fp:text>
	<fp:text>two</fp:text>
	<fp:text>three</fp:text>
</fp:list>
fp:pagebreak This component inserts a page break. The fp:pagebreak component does not have tags or attributes.
<fp:pagebreak />

Feedback