Skip to content
Snippets Groups Projects
Commit 02ca95e8 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: change hlines to showHlines

parent ec497048
No related branches found
No related tags found
No related merge requests found
...@@ -40,9 +40,9 @@ disp(' '); ...@@ -40,9 +40,9 @@ disp(' ');
disp([' ''' o.footnote '''']); disp([' ''' o.footnote '''']);
disp(' '); disp(' ');
disp([name '.hlines = ']); disp([name '.showHlines = ']);
disp(' '); disp(' ');
disp(o.hlines); disp(o.showHlines);
disp(' '); disp(' ');
disp([name '.showVlines = ']); disp([name '.showVlines = ']);
......
...@@ -38,7 +38,7 @@ o.titleSize = 'large'; ...@@ -38,7 +38,7 @@ o.titleSize = 'large';
o.footnote = ''; o.footnote = '';
o.config = ''; o.config = '';
o.hlines = false; o.showHlines = false;
o.showVlines = false; o.showVlines = false;
o.vlineAfter = ''; o.vlineAfter = '';
...@@ -78,7 +78,7 @@ end ...@@ -78,7 +78,7 @@ end
assert(ischar(o.title), '@table.table: title must be a string'); assert(ischar(o.title), '@table.table: title must be a string');
assert(ischar(o.footnote), '@table.table: footnote must be a string'); assert(ischar(o.footnote), '@table.table: footnote must be a string');
assert(ischar(o.config), '@table.table: config file must be a string'); assert(ischar(o.config), '@table.table: config file must be a string');
assert(islogical(o.hlines), '@table.table: hlines must be true or false'); assert(islogical(o.showHlines), '@table.table: showHlines must be true or false');
assert(islogical(o.showVlines), '@table.table: showVlines must be true or false'); assert(islogical(o.showVlines), '@table.table: showVlines must be true or false');
assert(isint(o.precision), '@table.table: precision must be an int'); assert(isint(o.precision), '@table.table: precision must be an int');
assert(isempty(o.range) || (isa(o.range, 'dynDates') && o.range.ndat >= 2), ... assert(isempty(o.range) || (isa(o.range, 'dynDates') && o.range.ndat >= 2), ...
......
...@@ -125,7 +125,7 @@ fprintf(fid, '%%\n'); ...@@ -125,7 +125,7 @@ fprintf(fid, '%%\n');
ne = o.seriesElements.numElements(); ne = o.seriesElements.numElements();
for i=1:ne for i=1:ne
o.seriesElements(i).write(fid, dates, o.precision); o.seriesElements(i).write(fid, dates, o.precision);
if o.hlines if o.showHlines
fprintf(fid, '\\hline\n'); fprintf(fid, '\\hline\n');
end end
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment