function pt = printtemplate( varargin )
%PRINTTEMPLATE Constructor for PrintTemplate objects.
%   PrintTemplate is an object used to encapsulate settings and methods
%   to format Figures and models during output. This constructor defines
%   each class variable and supplies default values. Methods of this object
%   will be called during the export process to manipulate Handle Graphics
%   and Simulink model properties to achieve the desired output.
%
%   See also PRINT, @PRINTJOB.

%   Copyright (c) 1984-98 by The MathWorks, Inc.
%   $Revision: 1.1 $  $Date: 1998/05/21 06:43:44 $

if nargin == 1 & isa(varargin{1}, 'printtemplate')
    %Copy creation
    pt = varargin{1};
    return
end

pt.Name = '';               %Name for this template
pt.FrameName = '';          %Name of printframe, if any, to use

%Lines and Text objects do not look good dithered, user can ask for them not to be.
pt.DriverColor = 0;         %True if want Lines and Text left in color

pt.AxesFreezeTicks = 0;     %True if Axes output with same tick marks as on screen
pt.tickState = {};          %Cell array of Axes handles and XYZtickMode values
pt.AxesFreezeLimits = 0;    %True if Axes output with same limits as on screen
pt.limState = {};           %Cell array of Axes handles and XYZlimMode values

pt.DebugMode = 0;           %Boolean true to output diagnostics while printing.

pt=class(pt,'printtemplate');    %Define the MATLAB oops class
