mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
#1462 Export completion data for laterals
This commit is contained in:
@@ -48,12 +48,15 @@ void RifEclipseOutputTableFormatter::flush()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RifEclipseOutputTableFormatter::outputBuffer()
|
||||
{
|
||||
m_out << "-- ";
|
||||
for (RifEclipseOutputTableColumn& column : m_columns)
|
||||
if (m_columns.size() > 0)
|
||||
{
|
||||
m_out << formatColumn(column.title, column);
|
||||
m_out << "-- ";
|
||||
for (RifEclipseOutputTableColumn& column : m_columns)
|
||||
{
|
||||
m_out << formatColumn(column.title, column);
|
||||
}
|
||||
m_out << "\n";
|
||||
}
|
||||
m_out << "\n";
|
||||
|
||||
for (auto line : m_buffer)
|
||||
{
|
||||
@@ -253,6 +256,6 @@ QString RifEclipseOutputTableFormatter::formatColumn(const QString str, RifEclip
|
||||
}
|
||||
else
|
||||
{
|
||||
return str.rightJustified(column.width + m_colSpacing, ' ');
|
||||
return str.rightJustified(column.width, ' ').leftJustified(m_colSpacing, ' ');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user