reporting: remove all printing to screen

remove-priordens
Houtan Bastani 2014-02-07 15:58:22 +01:00
parent 956a7644b0
commit 21895669db
10 changed files with 2 additions and 10 deletions

View File

@ -157,5 +157,4 @@ box off;
hold off;
close(h);
clear h;
fprintf(1, '.');
end

View File

@ -30,6 +30,5 @@ function p = addSection(p, varargin)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
fprintf(1, '/');
p.sections{end+1} = section(varargin{:});
end

View File

@ -30,6 +30,6 @@ function o = addPage(o, varargin)
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
np = length(o.pages) + 1;
fprintf(1, '\nAdding Page: %d', np);
fprintf(1, 'Adding Page: %d\n', np);
o.pages{np} = page('orientation', o.orientation, 'paper', o.paper, varargin{:});
end

View File

@ -78,7 +78,7 @@ fprintf(fid, '\\centering\n');
nps = length(o.pages);
for i=1:nps
fprintf(1, '\nWriting Page: %d', i);
fprintf(1, 'Writing Page: %d\n', i);
o.pages{i}.write(fid);
end

View File

@ -159,5 +159,4 @@ end
fprintf(fid, '\\bottomrule\n');
fprintf(fid, '\\end{tabular}\\setlength{\\parindent}{0pt}\n \\par \\medskip\n\n');
fprintf(fid, '%% End Report_Table Object\n');
fprintf(1, '.');
end

View File

@ -30,6 +30,5 @@ function o = addGraph(o, varargin)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
fprintf(1, '.');
o.elements = o.elements.addGraph(varargin{:});
end

View File

@ -30,6 +30,5 @@ function o = addTable(o, varargin)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
fprintf(1, '.');
o.elements = o.elements.addTable(varargin{:});
end

View File

@ -29,6 +29,5 @@ function o = addVspace(o, varargin)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
fprintf(1, '.');
o.elements = o.elements.addVspace(varargin{:});
end

View File

@ -30,7 +30,6 @@ function o = write(o, fid)
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
assert(fid ~= -1);
fprintf(1, '/');
fprintf(fid, '%% Section Object\n');
if ~isempty(o.height)
fprintf(fid, '\\setlength\\sectionheight{%s}%%\n', o.height);

View File

@ -41,5 +41,4 @@ if o.hline > 0
fprintf(fid, '\\midrule');
end
end
fprintf(1, '.');
end