UseSameSignatureForBursting property: IPDFSignature class

Description

Use this property to return a Boolean value indicating whether to use the same signature if this is a bursted report.

Important:

This property has been identified as one of the values to be output by your implementation of the interface. However, the property is also defined as read-only, and therefore cannot be set or assigned directly. See the following code excerpt on how to set the value of a private instance variable to be returned as the value of this property.

Example

UseSameSignatureForBursting is defined as read-only, and therefor cannot be set directly. However, as demonstrated in the following code excerpt, you can define a private instance variable. In the following example, &mb_ReuseSignature is set to True or False as needed within the application logic. Then, a get definition is used to return the value of &mb_ReuseSignature as the value for the UseSameSignatureForBursting property.

class My_SignedPDF implements IPT_PDFSIGNATURE_INT:IPDFSignature
...

   property boolean UseSameSignatureForBursting get; /* If true the same signature  will be reused for all bursted instances */
...

private
...

   instance Boolean &mb_ReuseSignature;
end-class;
...

/**************** Application logic ****************/
Rem if signer is the same for all bursted instances;
If <some_condition> Then
   &mb_ReuseSignature = True;
Else
   Rem if signer is different and depends on some bursted reports values;
   &mb_ReuseSignature = False;
End-If;
/**************** Application logic ****************/
...

get UseSameSignatureForBursting
   /+ Returns Boolean +/
   /+ Extends/implements IPT_PDFSIGNATURE_INT:IPDFSignature.UseSameSignatureForBursting +/   
   Return &mb_ReuseSignature;
end-get;