reporting: change hlines to showHlines
parent
af094d0271
commit
0c6f7dd8cd
|
@ -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';
|
||||||
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
|
||||||
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');
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue