suppressExcelAnnotWarning
Use this method to control the display of the warning message when rendering Excel documents in versions later than V5.0.7.
The rendering of Excel documents changes behavior starting with V5.0.7, with a faster rendering of pages for viewing and a standardized pagination in an A4 layout. This mode also prevents the generation of blank pages where there is no data, for example if a single cell is populated further down the document.
If you have documents with annotations made in a version that predates V5.0.7, you might observe that those annotations have moved on your pages. The degree of movement can vary based on the complexity of the document's layout. Typically, annotation data can move because the orientation (portrait or landscape) or the pagination of the document changed. If some pages no longer exist, annotations on these pages are no longer available either.
The new pagination code detects and displays a warning message to a user for any Excel spreadsheet it encounters that was annotated by using the previous version of the Excel render process.
To control display of the warning message, use the suppressExcelAnnotWarning parameter. This parameter is a Boolean, and you can set it to one of the following values:
| Value | Description |
|---|---|
true |
The warning message is displayed. |
false |
No warning message is displayed. |
The default value for this parameter is true.
Sample syntax
<param name="suppressExcelAnnotWarning" value="true" />