Hi,
With :
<span style=“font-family: “Courier New”; font-size: 9pt; color: rgb(102, 14, 122); font-weight: bold;”>exporter<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>.setParameter(AWExporterParameter.<span style=“font-family: “Courier New”; font-size: 9pt; color: rgb(102, 14, 122); font-weight: bold; font-style: italic;”>SPACING_FACTOR<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>, <span style=“font-family: “Courier New”; font-size: 9pt; color: rgb(0, 0, 255);”>0.1<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>);
<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>
<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>–> <span style=“font-family: “Courier New”; background-color: rgb(255, 255, 255);”>no more blank page, but the report is not exported properly (the spacing is bad : see attached output)
For info, here’s the parameters i used for Aspose exporters :
<span style=“font-family: “Courier New”; font-size: 9pt; color: rgb(102, 14, 122); font-weight: bold;”>exporter<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>.setParameter(AWExporterParameter.RECOGNIZE_FIELDS, <span style=“font-family: “Courier New”; font-size: 9pt; color: rgb(0, 0, 255);”>true<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>);
<span style=“font-family: “Courier New”; font-size: 9pt; color: rgb(102, 14, 122); font-weight: bold;”>exporter<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>.setParameter(AWExporterParameter.PAGE_BREAKS, AWExporterParameter.PAGE_BREAKS_SECTIONS);
<span style=“font-family: “Courier New”; font-size: 9pt; color: rgb(102, 14, 122); font-weight: bold;”>exporter<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>.setParameter(AWExporterParameter.EXPORT_RECTANGLES, <span style=“font-family: “Courier New”; font-size: 9pt; color: rgb(0, 0, 255);”>true<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>);
<span style=“font-family: “Courier New”; font-size: 9pt; color: rgb(102, 14, 122); font-weight: bold;”>exporter<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>.setParameter(AWExporterParameter.EXPORT_LINES, <span style=“font-family: “Courier New”; font-size: 9pt; color: rgb(0, 0, 255);”>true<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>);
<span style=“font-family: “Courier New”; font-size: 9pt; color: rgb(102, 14, 122); font-weight: bold;”>exporter<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>.setParameter(AWExporterParameter.USE_EXACT_ROW_HEIGHTS, <span style=“font-family: “Courier New”; font-size: 9pt; color: rgb(0, 0, 255);”>true<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>);
<span style=“font-family: “Courier New”; font-size: 9pt; color: rgb(102, 14, 122); font-weight: bold;”>exporter<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>.setParameter(AWExporterParameter.USE_EXACT_SPACINGS, <span style=“font-family: “Courier New”; font-size: 9pt; color: rgb(0, 0, 255);”>true<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>);
<span style=“font-family: “Courier New”; font-size: 9pt; color: rgb(102, 14, 122); font-weight: bold;”>exporter<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>.setParameter(AWExporterParameter.EXPORT_EMPTY_TEXTS, <span style=“font-family: “Courier New”; font-size: 9pt; color: rgb(0, 0, 255);”>false<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>);
<span style=“color: rgb(102, 14, 122); font-family: “Courier New”; font-size: 12px; font-weight: bold;”>exporter.setParameter(AWExporterParameter.EXPORT_REPEATING_ELEMENTS, true);
<span style=“font-family: “Courier New”; font-size: 9pt; color: rgb(102, 14, 122); font-weight: bold;”>exporter<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>.setParameter(AWExporterParameter.PAGE_MARGINS, <span style=“font-family: “Courier New”; font-size: 9pt; color: rgb(0, 0, 255);”>…<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>);
<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>
<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>
<span style=“font-family: “Courier New”; background-color: rgb(255, 255, 255);”>Thank you
<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>
<span style=“font-family: “Courier New”; font-size: 9pt; background-color: rgb(255, 255, 255);”>