Managing products and portfolios : Setting up and generating reports workflow : Report templates : Simple components
  
Simple components
You can use tags and attributes to change the simple components in report template.
fp:text
This component contains text.
Tags and attributes
 
Attribute
Description
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.
Example
<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.
Tags and attributes
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.
Example
<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.
Tags and attributes
 
Attribute
Description
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 1cm. 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.
Example
<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.
Tags and attributes
None.
Example
<fp:pagebreak />
Go up to
Report templates