Adding a Watermark to a Log Report when a DRAFT Checkbox is Checked


  
 Applies To 
  
 Product(s):gINT Logs, gINT Professional, gINT Professional Plus
 Version(s):N/A
 Environment: N/A
 Area: Report-Log
 Subarea: 
 Original Author:Kathleen Holcomb, Bentley Technical Support Group
  

 

 

 

 

 

 

 

 

Users of a report sometimes need to release that report in draft form for review. Rather than add or remove the draft watermark in Report Design every time this status changes, you can set up a field in the Point table in Input that enables the report to be flagged as a draft. You also create a draft watermark text entity in the report design that only appears when the checkbox is checked for that borehole.

Steps to Accomplish

  1. Go to INPUT -> Borehole
  2. Select the Tables -> Add Field menu option. You see the Field Properties dialog box. Enter the following property values, then click OK:

    PropertyValue
    NameDraft
    Type Boolean
  3. Scroll all the way to the right, and place a check in the new field for the first borehole.

  4. Select Tools -> Make Data Template and replace the existing template.

  5. Go to REPORT DESIGN. Select the desired log form in the object selector.

    We want to tell the report that if the Draft field is checked, we want to place the words ‘DRAFT’ diagonally across the report, but we still want the data behind the text to be readable.
  6. Click the Text A icon to create a new text entity.

  7. Enter the following values in the Main tab:

    PropertyValueComments
    Text ExpressionDraft
    Height1.5Text height in inches.
    Horz AlignCenter
    Vert AlignMiddle
    Angle50Rotates the text.
    ColorVery Light Grey
    BoldCheck this option

  8. Click the Configuration tab. Enter the following property settings:

    PropertyValueComments
    Print Order-1Prevents the text entity from obscuring other report elements. 
    Output Condition<<POINT.Draft>>Only outputs the 'Draft' watermark for boreholes where the Draft checkmark is checked.

  9. Click OK, then place the entity with its alignment point at the approximate center of the form.

    (Alternately you can calculate and enter the X and Y values).
  10. Go to OUTPUT and preview the report for all boreholes (Borehole ID is blank).

  11. Page through the report using the object selector. Notice that all pages for the first borehole have the watermark, and none of the other boreholes have it. This is the behavior we want.

  12. Close the preview.