In this section: |
This topic describes the WebFOCUS syntax used to:
An active dashboard for Adobe Flash Player or for PDF uses pixels as the unit of measurement by default, while tools such as Document Composer and InfoAssist use points as the unit of measurement.
Both Document Composer and InfoAssist provide a WebFOCUS setting so that the design-time and run-time positioning and sizing of components correspond to each other. The setting is ACTIVE_UNITS=PTS, which changes the unit of measurement to points. As a result, some components on an existing active dashboard for Adobe Flash Player or for PDF may appear to overlap at design time in Document Composer, while they appear correctly positioned and sized at run time.
In the Document Composer Text Editor, you can view the WebFOCUS source code for the setting. The syntax is
ACTIVE_UNITS={PTS|PX}
where:
Sets the active unit of measurement to points. In Document Composer and InfoAssist, points are used for the positioning and sizing of components on an active dashboard for Adobe Flash Player or for PDF. With this setting, the components on an active dashboard have the same position and size at run time as they have at design time (WYSIWYG).
Sets the active unit of measurement to pixels. By default, pixels are used for the positioning and sizing of components on an active dashboard for Adobe Flash Player or for PDF. With this setting, the components on an active dashboard have a different position and size at run time as they have at design time. This is the default value if no other value is set. It is provided for backward compatibility.
The following is an example of the WebFOCUS code for an active dashboard for Adobe Flash Player, with the ACTIVE_UNITS setting shown in bold.
SECTION=section1, LAYOUT=ON, METADATA='0.5^0.5^0.5^0.5^4',
MERGE=OFF, ORIENTATION=PORTRAIT, PAGESIZE=Letter, ACTIVE_UNITS=PTS, $
You can use the following WebFOCUS StyleSheet setting to contain a grid component inside its container on an active dashboard. You must include this setting in the grid component (that is, in the TABLE FILE procedure for the report) inside an active dashboard that you create using COMPOUND syntax.
The StyleSheet syntax is
ARREPORTSIZE={FLOWING|DIMENSION}
where:
Note: If values for DIMENSION are set in the TABLE FILE procedure for the report, the output formats FLEX and APDF will respect the size set by these values.
In this section: |
In Document Composer and InfoAssist, you can add one or more active form controls to an active dashboard in order to create complex filter relationships among report and chart components. An active form control is available for an active dashboard in HTML and for an active dashboard for Adobe Flash Player and for PDF.
The following are the types of active form controls that you can use to apply filters to an active dashboard:
This topic describes the WebFOCUS code that supports the implementation of the preceding active form controls.
The syntax is
OBJECT={LIST|COMBOBOX|TEXTINPUT|CHECKBOX|RADIOBUTTON}, NAME=’object_name', ARDATA_REPORT='name_of_source_report', ARDATA_COLUMN='column_name', ARFILTER_TARGET=’target_report_name1,target_report_name2,...', ARFILTER_CONDITION='{EQ|NE|LT|LE|GT|GE}', ARFILTER_SHOWALL={ON|OFF}, ARFILTER_PARENT=’name_of_parent_object', ARDATA_FILTERONLY={ON|OFF}, ARFILTER_MULTIPLE={ON|OFF}, POSITION=(left top), DIMENSION=(width height), FONT=font_type, SIZE=font_size, COLOR=font_color, $
where:
Is the type of active form control. The available values are:
Is the name of the active form control.
Is the name of the source report that contains the data that populates the active form control with selection values from which you choose at run time.
This property is required for the LIST, COMBOBOX, CHECKBOX, and RADIOBUTTON controls. This property is optional for the TEXTINPUT control.
Is the name of the specific column in the source report that populates the data selection values in the LIST, COMBOBOX, CHECKBOX, and RADIOBUTTON controls.
For the TEXTINPUT control, this property is the column to which the filter condition is applied. There is no initial data value for the TEXTINPUT control at run time. It remains blank until the user supplies a value.
This property is required. The column must exist in both the source report and target report.
The active form controls do not support the use of ACROSS sort fields in active reports or charts. You cannot use ACROSS sort fields to populate the data selection values and apply filters.
Is the name of the target report or target chart component that is filtered by the active form control. You can specify one or more target report or target chart components. To specify multiple target components, provide a list of report or chart component names, separating each name with a comma (,).
This property is required.
Is the filter condition that is used. The available values are:
Specifies whether or not to show the string value "[ALL]" in the list of data selection values for the active form control. The default value is ON, which displays the string value "[ALL]" in the list of data selection values. At run time, selecting this value from the control displays all the data in the report. Set this property to OFF to suppress the string value "[ALL]" in the active form control.
This property is optional for the LIST, COMBOBOX, CHECKBOX, and RADIOBUTTON controls.
This property does not apply to the TEXTINPUT control. For the TEXTINPUT control, removing the value supplied in the text input field removes the filter and displays all the values in the target reports and charts.
Is the name of the parent active form control using the NAME property to create a nested (parent/child) filter relationship between active form controls.
This is a user-specified property. There is no default value.
Is a property that is used internally by Developer Studio.
The default value is ON for chained active form controls. The source report for a control can also be a target report for another control that applies a filter to the report. This property allows you to decide whether to filter the data in a control populated by a report that is filtered by another control. When this property is set to OFF, all the values for the column in the report are displayed as the data selection values for the control. When this property is set to ON, only the values after a filter has been applied are available as the data selection values.
Is an optional property for the LIST and CHECKBOX controls. When this property is set to ON, you can select multiple values from a LIST or CHECKBOX control at run time. With a list box, hold down the Shift key to select multiple values in sequence, or hold down the Ctrl key to select multiple values that are not in the order listed at run time. With check boxes, you can simply check or uncheck multiple check boxes at run time.
The default value is OFF.
This property does not apply to the COMBOBOX, RADIOBUTTON, or TEXTINPUT control, because those controls allow only single-value selection at run time.
Is the position of the active form control on the active dashboard.
Is the size of the active form control on the active dashboard.
Is the type of font used to display the values in the active form control, for example, ARIAL.
Is the size of the font used to display the values in the active form control, for example, 12.
Is the color of the font used to display the values in the active form control, for example, BLACK.
The following image shows a partial active dashboard with a single tabular active report and a drop-down list (COMBOBOX). The drop-down list is positioned to the right of the active report. The drop-down list allows you to filter data in the tabular report on the value of the STATE column in the procedure. The data selection value All is provided in the drop-down list. When selected, All displays all the data in the report.
The WebFOCUS code for the drop-down list is as follows.
OBJECT=COMBOBOX, NAME='combobox1', POSITION=(6.010 2.167), DIMENSION=(1.667 0.208), ARDATA_REPORT='report1', ARDATA_COLUMN='STATE', ARFILTER_TARGET='report1', ARFILTER_CONDITION='EQ', ARFILTER_SHOWALL=ON, $
Several text formatting markup tags for a text object are supported when you create an active dashboard in Document Composer or InfoAssist.
The font tag supports three attributes:
The syntax is
<font face="font" size=n color=color_name_or_code>text</font>
where:
Is the name of the font.
Is the size of the font.
Is the color of the font, specified as either the name of the color or the HTML hexadecimal value of the color.
Is the text that you are formatting for display on the active dashboard. The following are the supported text styles:
<b>text</b>
<i>text</i>
<u>text</u>
<font face="New Century Schoolbook">Test1</font>
<font face="Times" size=12>test2</font>
<font face="Times New Roman" color=#0000FF size=14>Test3</font>
<font size=8 face="Times New Roman" color=#0000FF>Test4</font>
The following image shows several text objects in the upper left corner of a sample dashboard. Each text object is styled with different markup tags to illustrate the options that are available.
The following WebFOCUS syntax controls the display of the Global Filter icon and dashboard bar on an active dashboard.
SHOW_GLOBALFILTER={ON|OFF}
where:
Displays the Global Filter icon and dashboard bar on an active dashboard. This is the default value.
Suppresses the display of the Global Filter icon and dashboard bar on an active dashboard when both of the following apply:
By default, Document Composer and InfoAssist add the following syntax for the output formats AHTML, FLEX, and APDF.
SECTION=section1, LAYOUT=ON, SHOW_GLOBALFILTER=OFF,...$
Setting the MERGE=AUTO option or having multiple PAGELAYOUTs overwrites the preceding SHOW_GLOBALFILTER=OFF setting and displays the Global Filter icon and dashboard bar.
WebFOCUS |