Fixed minor bug
This commit is contained in:
parent
abced0e5ad
commit
5137731dbb
|
@ -548,7 +548,7 @@ public class SpeedometerAnnualPanelResult {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i == outputNumber) {
|
if (i == outputIteration) {
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (pdfHeightInMM - yPos < pdfHeightInMM / 4) {
|
if (pdfHeightInMM - yPos < pdfHeightInMM / 4) {
|
||||||
|
|
|
@ -534,7 +534,7 @@ public class SynopticTableAnnualPanelResult {
|
||||||
if (i == outputNumber) {
|
if (i == outputNumber) {
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (pdfHeightInMM - yPos < pdfHeightInMM / 7) {
|
if (pdfHeightInMM - yPos < pdfHeightInMM / 6) {
|
||||||
pdoc.addPage();
|
pdoc.addPage();
|
||||||
yPos = tMargin; // Restart position
|
yPos = tMargin; // Restart position
|
||||||
}
|
}
|
||||||
|
|
|
@ -301,11 +301,12 @@ public class CorrelationPanelResult extends Composite {
|
||||||
|
|
||||||
private String getOutputId() {
|
private String getOutputId() {
|
||||||
outputNumber++;
|
outputNumber++;
|
||||||
String outputId = "OutputId_" + outputNumber;
|
String outputId = "OutputId_" + requestId + "_" + outputNumber;
|
||||||
GWT.log("Generated OutputId: " + outputId);
|
GWT.log("Generated OutputId: " + outputId);
|
||||||
return outputId;
|
return outputId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds the results.
|
* Adds the results.
|
||||||
*
|
*
|
||||||
|
|
|
@ -469,7 +469,7 @@ public class SpeedometerPanelResult {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i == outputNumber) {
|
if (i == outputIteration) {
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (pdfHeightInMM - yPos < pdfHeightInMM / 4) {
|
if (pdfHeightInMM - yPos < pdfHeightInMM / 4) {
|
||||||
|
|
|
@ -207,7 +207,7 @@ public class SynopticTablePanelResult {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
savePDFButton.setVisible(false);
|
savePDFButton.setVisible(true);
|
||||||
|
|
||||||
final String toTitle = title;
|
final String toTitle = title;
|
||||||
|
|
||||||
|
@ -529,7 +529,7 @@ public class SynopticTablePanelResult {
|
||||||
if (i == outputNumber) {
|
if (i == outputNumber) {
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (pdfHeightInMM - yPos < pdfHeightInMM / 7) {
|
if (pdfHeightInMM - yPos < pdfHeightInMM / 6) {
|
||||||
pdoc.addPage();
|
pdoc.addPage();
|
||||||
yPos = tMargin; // Restart position
|
yPos = tMargin; // Restart position
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue