Mako 7.4.0 API
Loading...
Searching...
No Matches
JawsMako::IPCLXLOutput Class Referenceabstract

Interface for the PCLXL IOutput class. More...

#include <pclxloutput.h>

Inheritance diagram for JawsMako::IPCLXLOutput:

Public Member Functions

virtual void setResolution (float resolution)=0
 Set the PCLXL resolution The default is 600. Equivalent to calling setParameter() with the parameter name "Resolution".
 
virtual void setOpenStream (bool open)=0
 Set whether the output stream should be opened or not.
 
virtual void setEmitPjl (bool emitPjl)=0
 Set whether or not a PJL header or end of job should be emitted.
 
- Public Member Functions inherited from JawsMako::IOutput
virtual void setPreset (const U8String &preset)=0
 Configure the output according to a general preset. Please see the supplied documentation for details of these presets. The default is "Preserve" which will attempt to produce output as close to the input as possible for the output format. A string value can be used for any parameter and will be converted as necessary.
 
virtual void setParameter (const U8String &param, const U8String &value)=0
 Apply a key value pair output parameter with a string value. The parameter name is case insensitive. Please refer to the supplied documentation for the details of the available parameters and their ranges.
 
virtual void setAllowedPermissionsFlags (uint32 allowedPermissions)=0
 Control whether or not assemblies with certain security permission flags are allowed to be written by this output.
 
virtual void writeAssembly (const IDocumentAssemblyPtr &assembly, const U8String &pathToFile)=0
 Write the given document assembly to a file on disk.
 
virtual void writeAssembly (const IDocumentAssemblyPtr &assembly, const String &pathToFile)=0
 Write the given document assembly to a file on disk, specified by a wide character string.
 
virtual void writeAssembly (const IDocumentAssemblyPtr &assembly, const IOutputStreamPtr &stream)=0
 Write the given document assembly to a stream.
 
virtual IOutputWriterPtr openWriter (const IDocumentAssemblyPtr &assembly, const U8String &pathToFile)=0
 Create an output writer for the given assembly, targeting a file on disk. This is designed to allow streaming output, or to deal with situations where an operation would require too much memory to hold an entire edited assembly in memory at once.
 
virtual IOutputWriterPtr openWriter (const IDocumentAssemblyPtr &assembly, const String &pathToFile)=0
 Create an output writer for the given assembly, targeting a file on disk. As above, but with the file specified in a wide character string.
 
virtual IOutputWriterPtr openWriter (const IDocumentAssemblyPtr &assembly, const IOutputStreamPtr &stream)=0
 Create an output writer for the given assembly, targeting a stream.
 
- Public Member Functions inherited from IRCObject
virtual void addRef () const =0
 Increases the reference count of the actual object pointed to. This would take place during an assignment or copying.
 
virtual bool decRef () const =0
 Decreases the reference count of the actual object pointed to. When the reference count falls to Zero, it deletes the actual object pointed to.
 
virtual int32 getRefCount () const =0
 Retrieve the current reference count of the actual object pointed to.
 

Static Public Member Functions

static JAWSMAKO_API IPCLXLOutputPtr create (const IJawsMakoPtr &jawsMako, const IProgressMonitorPtr &progressMonitor=IProgressMonitorPtr())
 Create a PCL5 Output instance.
 
- Static Public Member Functions inherited from JawsMako::IOutput
static JAWSMAKO_API IOutputPtr create (const IJawsMakoPtr &jawsMako, eFileFormat format, const IProgressMonitorPtr &progressMonitor=IProgressMonitorPtr())
 Create an output for writing source in the given format.
 

Additional Inherited Members

- Protected Member Functions inherited from IRCObject
virtual ~IRCObject ()
 Virtual destructor.
 

Detailed Description

Interface for the PCLXL IOutput class.

Member Function Documentation

◆ create()

static JAWSMAKO_API IPCLXLOutputPtr JawsMako::IPCLXLOutput::create ( const IJawsMakoPtr & jawsMako,
const IProgressMonitorPtr & progressMonitor = IProgressMonitorPtr() )
static

Create a PCL5 Output instance.

Parameters
jawsMakoThe JawsMako instance.
progressMonitorThe progress monitor which allows aborting an operation or registering a progress callback.

◆ setEmitPjl()

virtual void JawsMako::IPCLXLOutput::setEmitPjl ( bool emitPjl)
pure virtual

Set whether or not a PJL header or end of job should be emitted.

   The default is true.

   Equivalent to calling setParameter() with the parameter name
   "EmitPJL", the value "true" or "false".

◆ setOpenStream()

virtual void JawsMako::IPCLXLOutput::setOpenStream ( bool open)
pure virtual

Set whether the output stream should be opened or not.

   If true, the output stream will be opened and closed by the
   PCLXL output. If false, the stream will assumed to be opened
   and will not be closed.

   Setting this to false allows the PCLXL stream to be written
   to an existing stream or channel.

   The default is true.

   Equivalent to calling setParameter() with the parameter name
   "OpenStream", the value "true" or "false".

The documentation for this class was generated from the following file: