*/
void setFollowHighlight(boolean b);
+ /**
+ * Set whether hidden Sequences should be trimmed off during an export
+ * operation.
+ *
+ * @param isExportHiddenSeqs
+ */
+ public void setExportHiddenSeqs(boolean isExportHiddenSeqs);
+
+ /**
+ * If true hidden Sequences are exported otherwise they aren't
+ *
+ * @return
+ */
+ public boolean isExportHiddenSeqs();
+
public void applyFeaturesStyle(FeatureSettingsModelI featureSettings);
}
if (viewport.hasHiddenColumns() && !settings.isExportHiddenColumns())
{
+ viewport.setExportHiddenSeqs(settings.isExportHiddenSequences());
omitHidden = viewport.getViewAsString(false);
}
}
else
{
- if (hasHiddenRows())
+ if (hasHiddenRows() && isExportHiddenSeqs)
{
iSize = alignment.getHiddenSequences().getFullAlignment()
.getHeight();
}
}
}
+
+ private boolean isExportHiddenSeqs = true;
+
+ @Override
+ public void setExportHiddenSeqs(boolean isExportHiddenSeqs)
+ {
+ this.isExportHiddenSeqs = isExportHiddenSeqs;
+ }
+
+ @Override
+ public boolean isExportHiddenSeqs()
+ {
+ return isExportHiddenSeqs;
+ }
}